diff options
author | marcel <marcel@FreeBSD.org> | 2004-06-19 21:14:10 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-06-19 21:14:10 +0000 |
commit | 60ea83d4e5938761ddf486262805be52cbe6a34b (patch) | |
tree | b001d519caa612b7f157b9031e1a2c4c524835ab | |
parent | fea17fd6f8735c1330d7e9316c3364dd2b82b9c5 (diff) | |
download | FreeBSD-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...
-rw-r--r-- | gnu/usr.bin/binutils/libbfd/Makefile.ia64 | 5 |
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} |