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 | |
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')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/scripttempl/armaout.sc | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index d0f1a42..218ed09 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com> + + * scripttempl/armaout.sc: Place .bss section after end of aligned + data section to match behaviour of aout code in constructrion of + header. + 2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz> * pe-dll.c (autofilter_entry_type autofilter_liblist: Add 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) |