mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
Push mips support for ld into the tree.
This commit is contained in:
parent
7932522f76
commit
d7aeea2745
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=185923
24
gnu/usr.bin/binutils/ld/Makefile.mips
Normal file
24
gnu/usr.bin/binutils/ld/Makefile.mips
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
#xxxIMPxxx: size?
|
||||||
|
#xxxIMPxxx: TARGET_BIG_ENDIAN is lame. We should use the netbsd convention
|
||||||
|
# of mipsel and mips.
|
||||||
|
_sz?=32
|
||||||
|
.if defined(TARGET_BIG_ENDIAN)
|
||||||
|
NATIVE_EMULATION=elf${_sz}btsmip_fbsd
|
||||||
|
.else
|
||||||
|
NATIVE_EMULATION=elf${_sz}ltsmip_fbsd
|
||||||
|
.endif
|
||||||
|
|
||||||
|
SRCS+= e${NATIVE_EMULATION}.c
|
||||||
|
CLEANFILES+= e${NATIVE_EMULATION}.c
|
||||||
|
|
||||||
|
# nb: elf32 handles both elf32 and elf64 targets
|
||||||
|
e${NATIVE_EMULATION}.c: ${.CURDIR}/${NATIVE_EMULATION}.sh emultempl/elf32.em \
|
||||||
|
scripttempl/elf.sc genscripts.sh stringify.sed
|
||||||
|
sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${LIBSERACHPATH} \
|
||||||
|
${TOOLS_PREFIX}/usr \
|
||||||
|
${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \
|
||||||
|
${NATIVE_EMULATION} "" no ${NATIVE_EMULATION} ${TARGET_TUPLE} \
|
||||||
|
${.CURDIR}/${NATIVE_EMULATION}.sh
|
||||||
|
|
4
gnu/usr.bin/binutils/ld/elf32btsmip_fbsd.sh
Executable file
4
gnu/usr.bin/binutils/ld/elf32btsmip_fbsd.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
. ${srcdir}/emulparams/elf32btsmip.sh
|
||||||
|
. ${srcdir}/emulparams/elf_fbsd.sh
|
||||||
|
GENERATE_PIE_SCRIPT=yes
|
4
gnu/usr.bin/binutils/ld/elf32ltsmip_fbsd.sh
Executable file
4
gnu/usr.bin/binutils/ld/elf32ltsmip_fbsd.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
. ${srcdir}/emulparams/elf32ltsmip.sh
|
||||||
|
. ${srcdir}/emulparams/elf_fbsd.sh
|
||||||
|
GENERATE_PIE_SCRIPT=yes
|
4
gnu/usr.bin/binutils/ld/elf64btsmip_fbsd.sh
Executable file
4
gnu/usr.bin/binutils/ld/elf64btsmip_fbsd.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
. ${srcdir}/emulparams/elf64btsmip.sh
|
||||||
|
. ${srcdir}/emulparams/elf_fbsd.sh
|
||||||
|
GENERATE_PIE_SCRIPT=yes
|
4
gnu/usr.bin/binutils/ld/elf64ltsmip_fbsd.sh
Executable file
4
gnu/usr.bin/binutils/ld/elf64ltsmip_fbsd.sh
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
. ${srcdir}/emulparams/elf64ltsmip.sh
|
||||||
|
. ${srcdir}/emulparams/elf_fbsd.sh
|
||||||
|
GENERATE_PIE_SCRIPT=yes
|
Loading…
Reference in New Issue
Block a user