1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

Add support for additional architectures.

This commit is contained in:
John Birrell 1999-11-06 21:28:22 +00:00
parent fe8e7c2346
commit 015520102a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52928
4 changed files with 121 additions and 0 deletions

View File

@ -0,0 +1,50 @@
#
# $FreeBSD$
#
SRCS+= aout32.c \
cf-m68klynx.c \
coff-aux.c \
coff-m68k.c \
coff-svm68k.c \
coff-u68k.c \
cofflink.c \
cpu-m68k.c \
elf32-m68k.c \
elf32-target.h \
elf32.c \
elflink.c \
lynx-core.c \
m68k4knetbsd.c \
m68klinux.c \
m68klynx.c \
m68knetbsd.c \
sunos.c
VECS+= bfd_elf32_m68k_vec \
m68k4knetbsd_vec \
m68kaux_coff_vec \
m68kcoff_vec \
m68kcoffun_vec \
m68klinux_vec \
m68klynx_aout_vec \
m68klynx_coff_vec \
m68knetbsd_vec \
m68ksysvcoff_vec \
sunos_big_vec
.if ${MACHINE_ARCH} == "m68k"
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_m68k_vec
.endif
CFLAGS+= -DHAVE_bfd_elf32_m68k_vec
CFLAGS+= -DHAVE_m68k4knetbsd_vec
CFLAGS+= -DHAVE_m68kaux_coff_vec
CFLAGS+= -DHAVE_m68kcoff_vec
CFLAGS+= -DHAVE_m68kcoffun_vec
CFLAGS+= -DHAVE_m68klinux_vec
CFLAGS+= -DHAVE_m68klynx_aout_vec
CFLAGS+= -DHAVE_m68klynx_coff_vec
CFLAGS+= -DHAVE_m68knetbsd_vec
CFLAGS+= -DHAVE_m68ksysvcoff_vec
CFLAGS+= -DHAVE_sunos_big_vec
CLEANFILES+= elf32-target.h
elf32-target.h: elfxx-target.h
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}

View File

@ -0,0 +1,35 @@
#
# $FreeBSD$
#
SRCS+= cofflink.c \
cpu-powerpc.c \
elf32-ppc.c \
elf32-target.h \
elf32.c \
elflink.c \
pe-ppc.c \
pei-ppc.c \
ppcboot.c \
xcofflink.c
VECS+= bfd_elf32_powerpc_vec \
bfd_elf32_powerpcle_vec \
bfd_powerpc_pe_vec \
bfd_powerpc_pei_vec \
bfd_powerpcle_pe_vec \
bfd_powerpcle_pei_vec \
ppcboot_vec
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_powerpc_vec
.endif
CFLAGS+= -DHAVE_bfd_elf32_powerpc_vec \
-DHAVE_bfd_elf32_powerpcle_vec \
-DHAVE_bfd_powerpc_pe_vec \
-DHAVE_bfd_powerpc_pei_vec \
-DHAVE_bfd_powerpcle_pe_vec \
-DHAVE_bfd_powerpcle_pei_vec \
-DHAVE_ppcboot_vec
CLEANFILES+= elf32-target.h
elf32-target.h: elfxx-target.h
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}

View File

@ -0,0 +1,13 @@
#
# $FreeBSD$
#
SRCS+= coff-rs6000.c \
cofflink.c \
cpu-rs6000.c \
xcofflink.c
VECS+= rs6000coff_vec
.if ${MACHINE_ARCH} == "rs6000"
CFLAGS+= -DDEFAULT_VECTOR=rs6000coff_vec
.endif
CFLAGS+= -DHAVE_rs6000coff_vec

View File

@ -0,0 +1,23 @@
#
# $FreeBSD$
#
SRCS+= aout-sparcle.c \
cf-sparclynx.c \
coff-sparc.c \
cpu-sparc.c \
elf32-sparc.c \
elf32-target.h \
elf32.c \
elflink.c \
sparclinux.c \
sparclynx.c \
sparcnetbsd.c
VECS+= bfd_elf32_sparc_vec
.if ${MACHINE_ARCH} == "sparc"
CFLAGS+= -DDEFAULT_VECTOR=bfd_elf32_sparc_vec
.endif
CFLAGS+= -DHAVE_elf32_sparc_vec
CLEANFILES+= elf32-target.h
elf32-target.h: elfxx-target.h
sed -e s/NN/32/g ${.ALLSRC} > ${.TARGET}