From 969544860eb35b2e60a57992cbab5570df201b23 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sat, 18 Mar 2006 07:29:53 +0000 Subject: [PATCH] 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. --- sys/arch/ews4800mips/stand/common/bootxx.ldscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/arch/ews4800mips/stand/common/bootxx.ldscript b/sys/arch/ews4800mips/stand/common/bootxx.ldscript index 04fda0bb5d63..6021af857c37 100644 --- a/sys/arch/ews4800mips/stand/common/bootxx.ldscript +++ b/sys/arch/ews4800mips/stand/common/bootxx.ldscript @@ -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 = .;