Don't put .reginfo into .bss but prepare an independent section for it

so that new ld(1) no longer dies on link as PR/33011.

Still ld(1) coredump problem should be fixed, IMO.
This commit is contained in:
tsutsui 2006-03-18 07:29:53 +00:00
parent 6c79cda5ae
commit 969544860e
1 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
OUTPUT_FORMAT("elf32-tradbigmips")
OUTPUT_ARCH(mips)
STARTUP(entry.o)
@ -17,6 +16,7 @@ SECTIONS {
*(.text)
_etext = .;
} > ram
.reginfo : { *(.reginfo) } > ram
.data ALIGN(4) :
{
_data = .;
@ -30,7 +30,6 @@ SECTIONS {
_bss = .;
*(.bss)
*(.scommon)
*(.reginfo)
_ebss = .;
} > ram
_end = .;