diff options
author | imp <imp@FreeBSD.org> | 2006-09-14 07:46:32 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2006-09-14 07:46:32 +0000 |
commit | 75f1f3b6a149ef64d6d36d942129f5726afaf594 (patch) | |
tree | 16e6ff18a48807ac6ad8702019ca6ffa54f6b25b /gnu | |
parent | 77431c17db1358d4900076d38af7d6eac53da6fd (diff) | |
download | FreeBSD-src-75f1f3b6a149ef64d6d36d942129f5726afaf594.zip FreeBSD-src-75f1f3b6a149ef64d6d36d942129f5726afaf594.tar.gz |
scripts for the arm port.
Submitted by: cognet@
Reviewed by: obrien and kan
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/armelf_fbsd.sh | 15 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/ld/armelfb_fbsd.sh | 25 | ||||
-rwxr-xr-x | gnu/usr.bin/binutils/ld/genscripts.sh | 5 |
3 files changed, 45 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/armelf_fbsd.sh b/gnu/usr.bin/binutils/ld/armelf_fbsd.sh new file mode 100644 index 0000000..197180c --- /dev/null +++ b/gnu/usr.bin/binutils/ld/armelf_fbsd.sh @@ -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 diff --git a/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh b/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh new file mode 100644 index 0000000..a67fb38 --- /dev/null +++ b/gnu/usr.bin/binutils/ld/armelfb_fbsd.sh @@ -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" diff --git a/gnu/usr.bin/binutils/ld/genscripts.sh b/gnu/usr.bin/binutils/ld/genscripts.sh index 181a96c..e606424 100755 --- a/gnu/usr.bin/binutils/ld/genscripts.sh +++ b/gnu/usr.bin/binutils/ld/genscripts.sh @@ -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} |