Locate __bss_start at the real start of bss.

This commit is contained in:
Michael Meissner
1995-09-21 21:57:32 +00:00
parent 52e1cf9d01
commit 7453a7533f
2 changed files with 20 additions and 3 deletions

View File

@@ -136,12 +136,18 @@ SECTIONS
.sdata ${RELOCATING-0} : { *(.sdata) }
${RELOCATING+_edata = .;}
${RELOCATING+PROVIDE (edata = .);}
${RELOCATING+__bss_start = .;}
.sbss ${RELOCATING-0} : { *(.sbss) *(.scommon) }
.sbss ${RELOCATING-0} :
{
${RELOCATING+__sbss_start = .;}
*(.sbss)
*(.scommon)
${RELOCATING+__sbss_end = .;}
}
${RELOCATING+_GOT_END_ = .;}
${RELOCATING+${OTHER_BSS_SYMBOLS}}
.bss ${RELOCATING-0} :
{
${RELOCATING+${OTHER_BSS_SYMBOLS}}
${RELOCATING+__bss_start = .;}
*(.dynbss)
*(.bss)
*(COMMON)