diff options
author | obrien <obrien@FreeBSD.org> | 2003-07-01 17:12:55 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-07-01 17:12:55 +0000 |
commit | 032b6e9b7e46979070b74abba2a7ee514efa02cd (patch) | |
tree | 92fbf89ec54938ef12af052766ee00529a218847 /gnu | |
parent | 152160211abb7df1f7bce155cd16d5f4abf107a4 (diff) | |
download | FreeBSD-src-032b6e9b7e46979070b74abba2a7ee514efa02cd.zip FreeBSD-src-032b6e9b7e46979070b74abba2a7ee514efa02cd.tar.gz |
Add elf_i386_fbsd emulation.
Obtained from: p4
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.amd64 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.amd64 b/gnu/usr.bin/binutils/ld/Makefile.amd64 index c7a75f4..8291a22 100644 --- a/gnu/usr.bin/binutils/ld/Makefile.amd64 +++ b/gnu/usr.bin/binutils/ld/Makefile.amd64 @@ -18,3 +18,17 @@ e${NATIVE_EMULATION}.c: emulparams/${NATIVE_EMULATION}.sh emultempl/elf32.em scr sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_x86_64_path} \ ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \ "${NATIVE_EMULATION}" "" ${NATIVE_EMULATION} "${TARGET_TUPLE}" + +X86_EMULATION= elf_i386_fbsd +_i386_path= \"${TOOLS_PREFIX}/usr/lib/i386\" +EMS+= ${X86_EMULATION} +LDSCRIPTS+= ${X86_EMULATION}.x ${X86_EMULATION}.xbn ${X86_EMULATION}.xn ${X86_EMULATION}.xr \ + ${X86_EMULATION}.xs ${X86_EMULATION}.xu ${X86_EMULATION}.xc ${X86_EMULATION}.xsc +SRCS+= e${X86_EMULATION}.c +CLEANFILES+= e${X86_EMULATION}.c + +e${X86_EMULATION}.c: emulparams/${X86_EMULATION}.sh emultempl/elf32.em scripttempl/elf.sc \ + genscripts.sh stringify.sed + sh ${.CURDIR}/genscripts.sh ${SRCDIR}/ld ${_i386_path} \ + ${HOST} ${TARGET_TUPLE} ${TARGET_TUPLE} \ + "${X86_EMULATION}" "" ${X86_EMULATION} "${TARGET_TUPLE}" |