diff options
author | jb <jb@FreeBSD.org> | 1999-11-06 22:52:33 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 1999-11-06 22:52:33 +0000 |
commit | 586165f5be88216b6bee15240d0980a79113fd8b (patch) | |
tree | b37de836d880f2bc8ab14065cf63c89158a90a60 /gnu | |
parent | cac81ba45e2e673e229f5ea7773bab9d5a35b735 (diff) | |
download | FreeBSD-src-586165f5be88216b6bee15240d0980a79113fd8b.zip FreeBSD-src-586165f5be88216b6bee15240d0980a79113fd8b.tar.gz |
Add support for additional architectures.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.m68k | 54 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.powerpc | 98 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile.sparc | 24 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/ld/m68k/ldemul-list.h | 7 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/ld/powerpc/ldemul-list.h | 7 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/ld/sparc/ldemul-list.h | 7 |
6 files changed, 197 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile.m68k b/gnu/usr.bin/binutils/ld/Makefile.m68k new file mode 100644 index 0000000..2ce71c3 --- /dev/null +++ b/gnu/usr.bin/binutils/ld/Makefile.m68k @@ -0,0 +1,54 @@ +# +# $FreeBSD$ +# + +.if ${MACHINE_ARCH} == "m68k" +HOST= m68k-unknown-freebsdelf +CFLAGS+= -DDEFAULT_EMULATION=\"elf_m68k\" +CFLAGS+= -DTARGET=\"m68k-unknown-freebsdelf\" +_m68k_path= \"/usr/lib\" +.else +_m68k_path= \"/usr/cross/m68k-freebsdelf/usr/lib\" +.endif +EMS+= ld_m68kelf_emulation \ + ld_m68klynx_emulation \ + ld_m68knbsd_emulation +LDSCRIPTS+= m68kelf.x \ + m68kelf.xbn \ + m68kelf.xn \ + m68kelf.xr \ + m68kelf.xs \ + m68kelf.xu \ + m68klynx.x \ + m68klynx.xbn \ + m68klynx.xn \ + m68klynx.xr \ + m68klynx.xu \ + m68knbsd.x \ + m68knbsd.xbn \ + m68knbsd.xn \ + m68knbsd.xr \ + m68knbsd.xu +SRCS+= em68kelf.c \ + em68klynx.c \ + em68knbsd.c +CLEANFILES+= em68kelf.c \ + em68klynx.c \ + em68knbsd.c + +em68kelf.c: emulparams/m68kelf.sh emultempl/elf32.em \ + scripttempl/elf.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + ${_m68k_path} notused notused notused m68kelf "" m68kelf + +em68klynx.c: emulparams/m68klynx.sh emultempl/generic.em \ + scripttempl/m68klynx.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + /usr/cross/m68k-lynx/usr/lib notused notused notused \ + m68klynx "" m68klynx + +em68knbsd.c: emulparams/m68knbsd.sh emultempl/generic.em \ + scripttempl/aout.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + /usr/cross/m68k-netbsdaout/usr/lib notused notused notused \ + m68knbsd "" m68knbsd diff --git a/gnu/usr.bin/binutils/ld/Makefile.powerpc b/gnu/usr.bin/binutils/ld/Makefile.powerpc new file mode 100644 index 0000000..cc25f9d --- /dev/null +++ b/gnu/usr.bin/binutils/ld/Makefile.powerpc @@ -0,0 +1,98 @@ +# +# $FreeBSD$ +# + +.if ${MACHINE_ARCH} == "powerpc" +HOST= powerpc-unknown-freebsdelf +CFLAGS+= -DDEFAULT_EMULATION=\"elf_powerpc\" +CFLAGS+= -DTARGET=\"powerpc-unknown-freebsdelf\" +_powerpc_path= \"/usr/lib\" +.else +_powerpc_path= \"/usr/cross/powerpc-freebsdelf/usr/lib\" +.endif +EMS+= ld_elf32ppc_emulation \ + ld_ppcmacos_emulation \ + ld_ppcnw_emulation \ + ld_ppcpe_emulation \ + ld_aixrs6_emulation \ + ld_rs6000lynx_emulation +LDSCRIPTS+= elf32ppc.x \ + elf32ppc.xbn \ + elf32ppc.xn \ + elf32ppc.xr \ + elf32ppc.xs \ + elf32ppc.xu \ + ppcmacos.x \ + ppcmacos.xbn \ + ppcmacos.xn \ + ppcmacos.xr \ + ppcmacos.xu \ + ppcnw.x \ + ppcnw.xbn \ + ppcnw.xn \ + ppcnw.xr \ + ppcnw.xu \ + ppcpe.x \ + ppcpe.xbn \ + ppcpe.xn \ + ppcpe.xr \ + ppcpe.xu \ + aixrs6.x \ + aixrs6.xbn \ + aixrs6.xn \ + aixrs6.xr \ + aixrs6.xu \ + rs6000lynx.x \ + rs6000lynx.xbn \ + rs6000lynx.xn \ + rs6000lynx.xr \ + rs6000lynx.xu +SRCS+= eelf32ppc.c \ + eppcmacos.c \ + eppcnw.c \ + eppcpe.c \ + eaixrs6.c \ + ers6000lynx.c +CLEANFILES+= eelf32ppc.c \ + eppcmacos.c \ + eppcnw.c \ + eppcpe.c \ + eaixrs6.c \ + ers6000lynx.c + +eelf32ppc.c: emulparams/elf32ppc.sh emultempl/elf32.em \ + scripttempl/elfppc.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + ${_powerpc_path} ${HOST} powerpc-unknown-freebsdelf \ + powerpc-unknown-freebsdelf elf32ppc "" elf32ppc + +eppcmacos.c: emulparams/ppcmacos.sh emultempl/aix.em \ + scripttempl/aix.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + /usr/cross/powerpc_macos/usr/lib ${HOST} \ + powerpc-unknown-freebsdmacos \ + powerpc-unknown-freebsdmacos ppcmacos "" ppcmacos + +eppcnw.c: emulparams/ppcnw.sh emultempl/elf32.em \ + scripttempl/nw.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + /usr/cross/powerpc_nw/usr/lib ${HOST} powerpc-unknown-freebsdnw \ + powerpc-unknown-freebsdnw ppcnw "" ppcnw + +eppcpe.c: emulparams/ppcpe.sh emultempl/pe.em \ + scripttempl/ppcpe.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + /usr/cross/powerpc_pe/usr/lib ${HOST} powerpc-unknown-freebsdpe \ + powerpc-unknown-freebsdpe ppcpe "" ppcpe + +eaixrs6.c: emulparams/aixrs6.sh emultempl/aix.em \ + scripttempl/aix.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + /usr/cross/rs6000-lynx/lib ${HOST} aixcoff-rs6000 \ + aixcoff-rs6000 aixrs6 "" aixrs6 + +ers6000lynx.c: emulparams/rs6000lynx.sh emultempl/aix.em \ + scripttempl/aix.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld \ + /usr/cross/rs6000-lynx/lib ${HOST} aixcoff-rs6000 \ + aixcoff-rs6000 rs6000lynx "" rs6000lynx diff --git a/gnu/usr.bin/binutils/ld/Makefile.sparc b/gnu/usr.bin/binutils/ld/Makefile.sparc new file mode 100644 index 0000000..11daf55 --- /dev/null +++ b/gnu/usr.bin/binutils/ld/Makefile.sparc @@ -0,0 +1,24 @@ +# +# $FreeBSD$ +# + +.if ${MACHINE_ARCH} == "sparc" +HOST= sparc-unknown-freebsdelf +CFLAGS+= -DDEFAULT_EMULATION=\"elf32_sparc\" +CFLAGS+= -DTARGET=\"sparc-unknown-freebsdelf\" +_sparc_path= \"/usr/lib\" +.else +_sparc_path= \"/usr/cross/sparc-freebsdelf/usr/lib\" +.endif +EMS+= ld_elf32_sparc_emulation +LDSCRIPTS+= elf32_sparc.x elf32_sparc.xbn elf32_sparc.xn elf32_sparc.xr \ + elf32_sparc.xs elf32_sparc.xu +SRCS+= eelf32_sparc.c +CLEANFILES+= eelf32_sparc.c + +eelf32_sparc.c: emulparams/elf32_sparc.sh emultempl/elf32.em \ + scripttempl/elf.sc genscripts.sh emultempl/stringify.sed + sh ${.CURDIR}/genscripts.sh ${BINUTILSDISTDIR}/ld ${_sparc_path} \ + ${HOST} sparc-unknown-freebsdelf sparc-unknown-freebsdelf \ + elf32_sparc "" elf32_sparc sparc-unknown-freebsdelf + diff --git a/gnu/usr.bin/binutils/ld/m68k/ldemul-list.h b/gnu/usr.bin/binutils/ld/m68k/ldemul-list.h new file mode 100644 index 0000000..bd56859 --- /dev/null +++ b/gnu/usr.bin/binutils/ld/m68k/ldemul-list.h @@ -0,0 +1,7 @@ +/* $FreeBSD$ */ +/* This file is automatically generated. DO NOT EDIT! */ +extern ld_emulation_xfer_type ld_elf_m68k_emulation; + +#define EMULATION_LIST \ + &ld_elf_m68k_emulation, \ + 0 diff --git a/gnu/usr.bin/binutils/ld/powerpc/ldemul-list.h b/gnu/usr.bin/binutils/ld/powerpc/ldemul-list.h new file mode 100644 index 0000000..988c0be --- /dev/null +++ b/gnu/usr.bin/binutils/ld/powerpc/ldemul-list.h @@ -0,0 +1,7 @@ +/* $FreeBSD$ */ +/* This file is automatically generated. DO NOT EDIT! */ +extern ld_emulation_xfer_type ld_elf_powerpc_emulation; + +#define EMULATION_LIST \ + &ld_elf_powerpc_emulation, \ + 0 diff --git a/gnu/usr.bin/binutils/ld/sparc/ldemul-list.h b/gnu/usr.bin/binutils/ld/sparc/ldemul-list.h new file mode 100644 index 0000000..560e54a --- /dev/null +++ b/gnu/usr.bin/binutils/ld/sparc/ldemul-list.h @@ -0,0 +1,7 @@ +/* $FreeBSD$ */ +/* This file is automatically generated. DO NOT EDIT! */ +extern ld_emulation_xfer_type ld_elf32_sparc_emulation; + +#define EMULATION_LIST \ + &ld_elf32_sparc_emulation, \ + 0 |