How to remove _impure_ptr & impure_data from .data section

OP #2514753
Rate this post
useful
not useful
Hi,

I have a problem with _impure_ptr & impure_data reentrent stubs.
I am using arm-linux-eabi compiler for my .c files.

Even though I haven't use -DREENTRANT_SYSCALLS_PROVIDED on my CFLAGS, I 
was
able to see the _impure_ptr & impure_data on my object file.

Those two funcs[_impure_ptr & impure_data] takes too memory on my .data
section.

Could any one help me out how can i remove them from obj, so-that i can
achieve optimum size on my binary..

Regards,
Jagan.
Guest #2515713
Rate this post
useful
not useful
These objects com from the libraray and thus won't be affected by 
command line option.

If the library was built with -ffunction-sections, -fdata-sections or on 
object bases, then cyou can kick out the object in your linker script.

Read the map file to see where the objects live and if their place is 
unique, factor it out.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now