1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-06 09:17:25 +00:00

scripts for the arm port.

Submitted by: cognet@
Reviewed by: obrien and kan
This commit is contained in:
Warner Losh 2006-09-14 07:46:32 +00:00
parent a8e874edc2
commit 70e66c2fbd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162301
3 changed files with 45 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# $FreeBSD$
. ${srcdir}/emulparams/armelf.sh
. ${srcdir}/emulparams/elf_fbsd.sh
MAXPAGESIZE=0x8000
GENERATE_PIE_SCRIPT=yes
unset STACK_ADDR
unset EMBEDDED
. ${srcdir}/emulparams/armelf.sh
. ${srcdir}/emulparams/elf_fbsd.sh
MAXPAGESIZE=0x8000
GENERATE_PIE_SCRIPT=yes
unset STACK_ADDR
unset EMBEDDED

View File

@ -0,0 +1,25 @@
# $FreeBSD$
#XXX: This should be used once those bits are merged back in the FSF repo.
#. ${srcdir}/emulparams/armelf_fbsd.sh
#
#OUTPUT_FORMAT="elf32-bigarm"
. ${srcdir}/emulparams/armelf.sh
. ${srcdir}/emulparams/elf_fbsd.sh
MAXPAGESIZE=0x8000
GENERATE_PIE_SCRIPT=yes
unset STACK_ADDR
unset EMBEDDED
OUTPUT_FORMAT="elf32-bigarm"
#XXX: This should be used once those bits are merged back in the FSF repo.
#. ${srcdir}/emulparams/armelf_fbsd.sh
#
#OUTPUT_FORMAT="elf32-bigarm"
. ${srcdir}/emulparams/armelf.sh
. ${srcdir}/emulparams/elf_fbsd.sh
MAXPAGESIZE=0x8000
GENERATE_PIE_SCRIPT=yes
unset STACK_ADDR
unset EMBEDDED
OUTPUT_FORMAT="elf32-bigarm"

View File

@ -37,7 +37,12 @@ CUSTOMIZER_SCRIPT=$3
# FSF BU ver 2.15 which allows for a more generic emulparams processing.
# To reduce the diff, I also include the ${EMULATION_NAME} parameter in uses
# of 'CUSTOMIZER_SCRIPT'.
# XXX: arm hack : until those file are merged back into the FSF repo, just
# use the version in this directory.
if !(test -f ${CUSTOMIZER_SCRIPT}"";) then
CUSTOMIZER_SCRIPT="${srcdir}/emulparams/${EMULATION_NAME}.sh"
fi
# Include the emulation-specific parameters:
. ${CUSTOMIZER_SCRIPT} ${EMULATION_NAME}