aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-05-24 20:21:27 +0000
committerIan Lance Taylor <ian@airs.com>1994-05-24 20:21:27 +0000
commitf49f58c6a8ffdc40d3f11ffe9e5de782ef5e0017 (patch)
tree005488efcf49c86285ae48b3a3eff031bade4bfc
parent90fba5fa0f58e5c439414041a1679166b0eb2efe (diff)
downloadgdb-f49f58c6a8ffdc40d3f11ffe9e5de782ef5e0017.zip
gdb-f49f58c6a8ffdc40d3f11ffe9e5de782ef5e0017.tar.gz
gdb-f49f58c6a8ffdc40d3f11ffe9e5de782ef5e0017.tar.bz2
* 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.
-rw-r--r--ld/ChangeLog8
-rw-r--r--ld/emulparams/elf32mipb.sh10
2 files changed, 15 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4e22493..7eb00bb 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 73f90b2..af397f1 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