Fix arm aout placement of .bss section

This commit is contained in:
Nick Clifton 2001-10-11 17:28:43 +00:00
parent 5b784096c9
commit 5af8a2fbdc
2 changed files with 9 additions and 3 deletions

View File

@ -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

View File

@ -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)