From f49f58c6a8ffdc40d3f11ffe9e5de782ef5e0017 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 24 May 1994 20:21:27 +0000 Subject: [PATCH] * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give .reginfo an address. (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. --- ld/ChangeLog | 8 ++++++++ ld/emulparams/elf32mipb.sh | 10 +++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4e224938941..7eb00bbd0de 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +Tue May 24 16:13:43 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give + .reginfo an address. + (OTHER_READWRITE_SECTIONS): Don't give .lit4 or .lit8 an address. + (OTHER_SECTIONS): Define for .gptab.sdata and .gptab.sbss. + * scripttempl/elf.sc: Use OTHER_SECTIONS at end of script. + Thu May 19 13:31:33 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) Add support for ELF shared libraries. diff --git a/ld/emulparams/elf32mipb.sh b/ld/emulparams/elf32mipb.sh index 73f90b24fa2..af397f1b2b3 100644 --- a/ld/emulparams/elf32mipb.sh +++ b/ld/emulparams/elf32mipb.sh @@ -4,14 +4,18 @@ TEXT_START_ADDR=0x0400000 DATA_ADDR=0x10000000 MAXPAGESIZE=0x40000 NONPAGED_TEXT_START_ADDR=0x0400000 -OTHER_READONLY_SECTIONS='.reginfo . : { *(.reginfo) }' +OTHER_READONLY_SECTIONS='.reginfo : { *(.reginfo) }' OTHER_READWRITE_SECTIONS=' _gp = . + 0x8000; - .lit8 . : { *(.lit8) } - .lit4 . : { *(.lit4) } + .lit8 : { *(.lit8) } + .lit4 : { *(.lit4) } ' TEXT_START_SYMBOLS='_ftext = . ;' DATA_START_SYMBOLS='_fdata = . ;' OTHER_BSS_SYMBOLS='_fbss = .;' EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;' +OTHER_SECTIONS=' + .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) } + .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) } +' ARCH=mips -- 2.30.2