This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, Currently libgloss/arm/linux-crt0.c uses adr to get the address of _start_thumb function. It breaks the compilation when '-ffunction-sections' is specified, of which we want to take advantage to decrease code size in binary. Here is a patch fix this issue. I have compiled newlib/libgloss for various processor with or without "-ffunction-sections" successfully, Is it OK? Thanks 2012-01-16 Bin Cheng <bin.cheng@arm.com> libgloss/ * arm/linux-crt0.c: Use ldr instead of adr to get address of _start_thumb.
Attachment:
arm-function-section-20120116.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |