aboutsummaryrefslogtreecommitdiff
path: root/examples/mb525/pwmleds
diff options
context:
space:
mode:
authorUwe Hermann2010-12-17 05:28:02 +0100
committerUwe Hermann2010-12-17 05:50:00 +0100
commitaf61aaef21e85769e969e0760e4706eebc18eb5a (patch)
tree62af2e1d1172e5a2b5ba680d0231b2513651ed85 /examples/mb525/pwmleds
parent4ef35380e8340c0103494ad86afef7788dc6aa4f (diff)
Minor ld script changes.
Add wildcards to the input section names. This fixes the script for use with the "-ffunction-sections -fdata-sections -Wl,--gc-sections" options when compiling/linking. Also, discard the .eh_frame section. This section is emitted by GCC 4.4, but not 4.5. Discarding it doesn't appear to break anything. I suspect this is used for C++ exception implementation. I found this to be a problem when building with GCC 4.4 (arm-elf), because the USB DFU demo exceeded the 8k I allowed for it. Thanks to Gareth McMullin <gareth@blacksphere.co.nz> for the patch.
Diffstat (limited to 'examples/mb525/pwmleds')
0 files changed, 0 insertions, 0 deletions