summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/ld
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-10-13 01:47:52 +0000
committerobrien <obrien@FreeBSD.org>2001-10-13 01:47:52 +0000
commit7734e00828d1a0cbfe8bad4005c310db5ae83187 (patch)
treeb32a6d10e1d7faddb1bb4fd37914636d276b9f34 /contrib/binutils/ld
parent51c87054921b48ca6ca66bb7929ad4c05a5fe2f1 (diff)
downloadFreeBSD-src-7734e00828d1a0cbfe8bad4005c310db5ae83187.zip
FreeBSD-src-7734e00828d1a0cbfe8bad4005c310db5ae83187.tar.gz
Import the extra bits needed to target IA-64, PowerPC, and sparc64.
(this is Binutils from the FSF 2.11 branch [checked out 19-July-2001])
Diffstat (limited to 'contrib/binutils/ld')
-rw-r--r--contrib/binutils/ld/emulparams/elf64_ia64.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/contrib/binutils/ld/emulparams/elf64_ia64.sh b/contrib/binutils/ld/emulparams/elf64_ia64.sh
new file mode 100644
index 0000000..fff5992
--- /dev/null
+++ b/contrib/binutils/ld/emulparams/elf64_ia64.sh
@@ -0,0 +1,15 @@
+# See genscripts.sh and ../scripttempl/elf.sc for the meaning of these.
+SCRIPT_NAME=elf
+ELFSIZE=64
+TEMPLATE_NAME=elf32
+OUTPUT_FORMAT="elf64-ia64-little"
+ARCH=ia64
+MACHINE=
+MAXPAGESIZE=0x10000
+TEXT_START_ADDR="0x4000000000000000"
+DATA_ADDR="0x6000000000000000 + (. & (${MAXPAGESIZE} - 1))"
+GENERATE_SHLIB_SCRIPT=yes
+NOP=0x00300000010070000002000001000400 # a bundle full of nops
+OTHER_GOT_SECTIONS='.IA_64.pltoff : { *(.IA_64.pltoff) }'
+OTHER_PLT_RELOC_SECTIONS='.rela.IA_64.pltoff : { *(.rela.IA_64.pltoff) }'
+OTHER_READONLY_SECTIONS='.opd : { *(.opd) } .IA_64.unwind_info : { *(.IA_64.unwind_info*) } .IA_64.unwind : { *(.IA_64.unwind*) }'
OpenPOWER on IntegriCloud