summaryrefslogtreecommitdiff
path: root/ld/emulparams/elf32btsmipn32.sh
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2002-07-30 23:48:30 +0000
committerThiemo Seufer <ths@networkno.de>2002-07-30 23:48:30 +0000
commit7808a785c5986903ac6dd4220f185fdcf62b0190 (patch)
tree2631713c36feceaddaeca5ac5481c21b58e6a967 /ld/emulparams/elf32btsmipn32.sh
parent574e6d11bc0c4eaf59d4d2a278fef67013895506 (diff)
downloadbinutils-gdb-7808a785c5986903ac6dd4220f185fdcf62b0190.tar.gz
* 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/elf32btsmipn32.sh')
-rw-r--r--ld/emulparams/elf32btsmipn32.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/emulparams/elf32btsmipn32.sh b/ld/emulparams/elf32btsmipn32.sh
new file mode 100644
index 00000000000..38b27f5bbc9
--- /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) }
+'