aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-11-19 19:31:51 +0000
committerIan Lance Taylor <ian@airs.com>1993-11-19 19:31:51 +0000
commit2332114c713188af06458189af532176cf171642 (patch)
tree4ed5be62864bf7f67fb205da1c5c339dd2374230 /ld/emulparams
parent973e421e6705f6428eca3d79047066e39335891f (diff)
downloadgdb-2332114c713188af06458189af532176cf171642.zip
gdb-2332114c713188af06458189af532176cf171642.tar.gz
gdb-2332114c713188af06458189af532176cf171642.tar.bz2
* configure.in (mips*-sgi-irix5*): New target. Use mipsb-elf32.
* emulparams/elf32mipsb.sh (DATA_ADDR): Define. (OTHER_READONLY_SECTIONS): Define for .reginfo. (EXECUTABLE_SYMBOLS): Define for _DYNAMIC_LINK. * scripttempl/elf.sc: Use EXECUTABLE_SYMBOLS when not relocating. Move OTHER_READONLY_SECTIONS after all the other readonly sections. Don't use DATA_ADDR twice.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf32mipb.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/emulparams/elf32mipb.sh b/ld/emulparams/elf32mipb.sh
index 5a7f7a3..e27a23e 100644
--- a/ld/emulparams/elf32mipb.sh
+++ b/ld/emulparams/elf32mipb.sh
@@ -1,11 +1,14 @@
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-bigmips"
TEXT_START_ADDR=0x0400000
+DATA_ADDR=0x10000000
MAXPAGESIZE=0x40000
NONPAGED_TEXT_START_ADDR=0x0400000
+OTHER_READONLY_SECTIONS='.reginfo . : { *(.reginfo) }'
OTHER_READWRITE_SECTIONS='
_gp = . + 0x8000;
.lit8 . : { *(.lit8) }
.lit4 . : { *(.lit4) }
'
+EXECUTABLE_SYMBOLS='_DYNAMIC_LINK = 0;'
ARCH=mips