summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-06-19 21:14:10 +0000
committermarcel <marcel@FreeBSD.org>2004-06-19 21:14:10 +0000
commit60ea83d4e5938761ddf486262805be52cbe6a34b (patch)
treeb001d519caa612b7f157b9031e1a2c4c524835ab /gnu/usr.bin
parentfea17fd6f8735c1330d7e9316c3364dd2b82b9c5 (diff)
downloadFreeBSD-src-60ea83d4e5938761ddf486262805be52cbe6a34b.zip
FreeBSD-src-60ea83d4e5938761ddf486262805be52cbe6a34b.tar.gz
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...
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/libbfd/Makefile.ia645
1 files changed, 2 insertions, 3 deletions
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}
OpenPOWER on IntegriCloud