diff options
author | Nick Clifton <nickc@redhat.com> | 2001-10-11 17:28:43 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-10-11 17:28:43 +0000 |
commit | 5af8a2fbdcd74780ce9e9e4b1f02921cde1245c2 (patch) | |
tree | 09d9884f3bb995649c43467143fb63ea3d75cb91 /ld/scripttempl/armaout.sc | |
parent | 5b784096c949b3916b91aed1bd46d8c353508aa5 (diff) | |
download | gdb-5af8a2fbdcd74780ce9e9e4b1f02921cde1245c2.zip gdb-5af8a2fbdcd74780ce9e9e4b1f02921cde1245c2.tar.gz gdb-5af8a2fbdcd74780ce9e9e4b1f02921cde1245c2.tar.bz2 |
Fix arm aout placement of .bss section
Diffstat (limited to 'ld/scripttempl/armaout.sc')
-rw-r--r-- | ld/scripttempl/armaout.sc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/scripttempl/armaout.sc b/ld/scripttempl/armaout.sc index e9276a8..9bae887 100644 --- a/ld/scripttempl/armaout.sc +++ b/ld/scripttempl/armaout.sc @@ -20,10 +20,10 @@ SECTIONS ${RELOCATING+__sdata_ = .;} *(.data) ${CONSTRUCTING+CONSTRUCTORS} - ${RELOCATING+_edata = .;} - ${RELOCATING+__edata = .;} + ${RELOCATING+_edata = ${DATA_ALIGNMENT};} + ${RELOCATING+__edata = ${DATA_ALIGNMENT};} } - .bss ${RELOCATING+ SIZEOF(.data) + ADDR (.data)} : + .bss ${RELOCATING+${DATA_ALIGNMENT}} : { ${RELOCATING+ __bss_start = .}; *(.bss) |