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.
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.
Hi, On my obj dump file I have funcs in .data sections like 000123e40 <_impure_ptr>: ................... 000123e48 <impure_data>: ............... How can factor it out, can i use any CFLAG while compilation. or? Regards, Jagan
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.