mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
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.
This commit is contained in:
parent
7ea3aada55
commit
3c35faa333
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245101
@ -1,6 +1,7 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
. ${srcdir}/emulparams/armelf.sh
|
. ${srcdir}/emulparams/armelf.sh
|
||||||
. ${srcdir}/emulparams/elf_fbsd.sh
|
. ${srcdir}/emulparams/elf_fbsd.sh
|
||||||
|
TARGET2_TYPE=got-rel
|
||||||
MAXPAGESIZE=0x8000
|
MAXPAGESIZE=0x8000
|
||||||
GENERATE_PIE_SCRIPT=yes
|
GENERATE_PIE_SCRIPT=yes
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#OUTPUT_FORMAT="elf32-bigarm"
|
#OUTPUT_FORMAT="elf32-bigarm"
|
||||||
. ${srcdir}/emulparams/armelf.sh
|
. ${srcdir}/emulparams/armelf.sh
|
||||||
. ${srcdir}/emulparams/elf_fbsd.sh
|
. ${srcdir}/emulparams/elf_fbsd.sh
|
||||||
|
TARGET2_TYPE=got-rel
|
||||||
MAXPAGESIZE=0x8000
|
MAXPAGESIZE=0x8000
|
||||||
GENERATE_PIE_SCRIPT=yes
|
GENERATE_PIE_SCRIPT=yes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user