Fix arm aout placement of .bss section
This commit is contained in:
parent
5b784096c9
commit
5af8a2fbdc
2 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue