diff options
author | Thiemo Seufer <ths@networkno.de> | 2002-07-30 23:48:30 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2002-07-30 23:48:30 +0000 |
commit | 7808a785c5986903ac6dd4220f185fdcf62b0190 (patch) | |
tree | 2631713c36feceaddaeca5ac5481c21b58e6a967 /ld/emulparams | |
parent | 574e6d11bc0c4eaf59d4d2a278fef67013895506 (diff) | |
download | gdb-7808a785c5986903ac6dd4220f185fdcf62b0190.zip gdb-7808a785c5986903ac6dd4220f185fdcf62b0190.tar.gz gdb-7808a785c5986903ac6dd4220f185fdcf62b0190.tar.bz2 |
* Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations
for n32 ABI support.
* Makefile.in: Regenerate.
* configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add
n32 ABI emulations for these 64 bit targets.
* emulparams/elf32bmipn32.sh: Expand comment.
* emulparams/elf32btsmipn32.sh: New file, for traditional big endian
n32 ABI.
* emulparams/elf32ltsmipn32.sh: Likewise for little endian.
Diffstat (limited to 'ld/emulparams')
-rwxr-xr-x | ld/emulparams/elf32bmipn32.sh | 2 | ||||
-rw-r--r-- | ld/emulparams/elf32btsmipn32.sh | 17 | ||||
-rw-r--r-- | ld/emulparams/elf32ltsmipn32.sh | 4 |
3 files changed, 22 insertions, 1 deletions
diff --git a/ld/emulparams/elf32bmipn32.sh b/ld/emulparams/elf32bmipn32.sh index 8dc1735..d8994d8 100755 --- a/ld/emulparams/elf32bmipn32.sh +++ b/ld/emulparams/elf32bmipn32.sh @@ -1,5 +1,5 @@ # If you change this file, please also look at files which source this one: -# elf64bmip.sh elf64btsmip.sh +# elf64bmip.sh elf64btsmip.sh elf32btsmipn32.sh # This is an ELF platform. SCRIPT_NAME=elf diff --git a/ld/emulparams/elf32btsmipn32.sh b/ld/emulparams/elf32btsmipn32.sh new file mode 100644 index 0000000..38b27f5 --- /dev/null +++ b/ld/emulparams/elf32btsmipn32.sh @@ -0,0 +1,17 @@ +# If you change this file, please also look at files which source this one: +# elf32ltsmipn32.sh + +. ${srcdir}/emulparams/elf32bmipn32.sh +OUTPUT_FORMAT="elf32-ntradbigmips" +BIG_OUTPUT_FORMAT="elf32-ntradbigmips" +LITTLE_OUTPUT_FORMAT="elf32-ntradlittlemips" + +unset EXECUTABLE_SYMBOLS +unset WRITABLE_RODATA + +# Magic sections. +OTHER_TEXT_SECTIONS='*(.mips16.fn.*) *(.mips16.call.*)' +OTHER_SECTIONS=' + .gptab.sdata : { *(.gptab.data) *(.gptab.sdata) } + .gptab.sbss : { *(.gptab.bss) *(.gptab.sbss) } +' diff --git a/ld/emulparams/elf32ltsmipn32.sh b/ld/emulparams/elf32ltsmipn32.sh new file mode 100644 index 0000000..276477d --- /dev/null +++ b/ld/emulparams/elf32ltsmipn32.sh @@ -0,0 +1,4 @@ +. ${srcdir}/emulparams/elf32btsmipn32.sh +OUTPUT_FORMAT="elf32-ntradlittlemips" +BIG_OUTPUT_FORMAT="elf32-ntradbigmips" +LITTLE_OUTPUT_FORMAT="elf32-ntradlittlemips" |