summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-01-06 07:14:04 +0000
committerandrew <andrew@FreeBSD.org>2013-01-06 07:14:04 +0000
commit4d844bb92fe4dcdef7ad7d30b87fe471847ea7e5 (patch)
tree2ddbffd1d736bfc63e836c632229b0bb1641d101 /gnu
parentcb53fcbe56790374d8b6cf61cd4054267f71231d (diff)
downloadFreeBSD-src-4d844bb92fe4dcdef7ad7d30b87fe471847ea7e5.zip
FreeBSD-src-4d844bb92fe4dcdef7ad7d30b87fe471847ea7e5.tar.gz
Set the correct relocation type for R_ARM_TARGET2 to R_ARM_GOT_PREL. The
TARGET2 relocation is unused in the current ABI but this change is required for EABI support.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/ld/armelf_fbsd.sh1
-rw-r--r--gnu/usr.bin/binutils/ld/armelfb_fbsd.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/armelf_fbsd.sh b/gnu/usr.bin/binutils/ld/armelf_fbsd.sh
index a7f4740..0f888b0 100644
--- a/gnu/usr.bin/binutils/ld/armelf_fbsd.sh
+++ b/gnu/usr.bin/binutils/ld/armelf_fbsd.sh
@@ -1,6 +1,7 @@
# $FreeBSD$
. ${srcdir}/emulparams/armelf.sh
. ${srcdir}/emulparams/elf_fbsd.sh
+TARGET2_TYPE=got-rel
MAXPAGESIZE=0x8000
GENERATE_PIE_SCRIPT=yes
diff --git a/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh b/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh
index 72aae15..39364ef 100644
--- a/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh
+++ b/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh
@@ -5,6 +5,7 @@
#OUTPUT_FORMAT="elf32-bigarm"
. ${srcdir}/emulparams/armelf.sh
. ${srcdir}/emulparams/elf_fbsd.sh
+TARGET2_TYPE=got-rel
MAXPAGESIZE=0x8000
GENERATE_PIE_SCRIPT=yes
OpenPOWER on IntegriCloud