Add the necessary branding of ELF files. This is relatively easy to

achieve on ia64, because we need to generate the ELF64/ia64 code and
simply tag elf-fbsd-brand.c at the end of it.

This hasn't actually been tested beyond trivial compilation testing.
A buildworld has been started and it's time I wait for my changes to
loop back to my local repo anyway. I'll get back to this in a couple
of hours...
This commit is contained in:
Marcel Moolenaar 2004-06-19 21:14:10 +00:00
parent 831f4a372e
commit dad12fe587

View file

@ -4,7 +4,6 @@ DEFAULT_VECTOR= bfd_elf64_ia64_little_vec
SRCS+= cofflink.c cpu-ia64.c efi-app-ia64.c elf32.c elf32-gen.c elf64.c \
elf64-gen.c elf64-ia64.c elflink.c
#SRCS+= coff-ia64.c elf32-ia64.c
VECS+= ${DEFAULT_VECTOR} \
bfd_efi_app_ia64_vec \
@ -20,8 +19,8 @@ GENSRCS= elf32-target.h elf64-target.h elf64-ia64.c pepigen.c # peigen.c
SRCS+= ${GENSRCS}
CLEANFILES+= ${GENSRCS}
elf64-ia64.c: elfxx-ia64.c
sed -e s/NN/64/g ${.ALLSRC} > ${.TARGET}
elf64-ia64.c: elfxx-ia64.c elf-fbsd-brand.c
cat ${.ALLSRC} | sed -e s/NN/64/g > ${.TARGET}
pepigen.c: peXXigen.c
sed -e s/XX/pep/g ${.ALLSRC} > ${.TARGET}