From 60ea83d4e5938761ddf486262805be52cbe6a34b Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 19 Jun 2004 21:14:10 +0000 Subject: 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... --- gnu/usr.bin/binutils/libbfd/Makefile.ia64 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'gnu/usr.bin') diff --git a/gnu/usr.bin/binutils/libbfd/Makefile.ia64 b/gnu/usr.bin/binutils/libbfd/Makefile.ia64 index 6b91b92..fe1e5c3 100644 --- a/gnu/usr.bin/binutils/libbfd/Makefile.ia64 +++ b/gnu/usr.bin/binutils/libbfd/Makefile.ia64 @@ -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} -- cgit v1.1