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:
parent
6c79cda5ae
commit
969544860e
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
OUTPUT_FORMAT("elf32-tradbigmips")
|
OUTPUT_FORMAT("elf32-tradbigmips")
|
||||||
OUTPUT_ARCH(mips)
|
OUTPUT_ARCH(mips)
|
||||||
STARTUP(entry.o)
|
STARTUP(entry.o)
|
||||||
|
@ -17,6 +16,7 @@ SECTIONS {
|
||||||
*(.text)
|
*(.text)
|
||||||
_etext = .;
|
_etext = .;
|
||||||
} > ram
|
} > ram
|
||||||
|
.reginfo : { *(.reginfo) } > ram
|
||||||
.data ALIGN(4) :
|
.data ALIGN(4) :
|
||||||
{
|
{
|
||||||
_data = .;
|
_data = .;
|
||||||
|
@ -30,7 +30,6 @@ SECTIONS {
|
||||||
_bss = .;
|
_bss = .;
|
||||||
*(.bss)
|
*(.bss)
|
||||||
*(.scommon)
|
*(.scommon)
|
||||||
*(.reginfo)
|
|
||||||
_ebss = .;
|
_ebss = .;
|
||||||
} > ram
|
} > ram
|
||||||
_end = .;
|
_end = .;
|
||||||
|
|
Loading…
Reference in New Issue