Add support for the pei-x86-64 target in binutils; Needed for UEFI support. master
authorImre Vadasz <imre@vdsz.com>
Sun, 7 Feb 2016 15:21:23 +0000 (16:21 +0100)
committerImre Vadász <imre@vdsz.com>
Mon, 8 Feb 2016 09:20:48 +0000 (10:20 +0100)
contrib/binutils-2.25/README.DELETED
gnu/usr.bin/binutils225/block1/libbfd/Makefile

index 39a462c..1bc52d9 100644 (file)
@@ -78,12 +78,9 @@ bfd/coff-tic80.c
 bfd/coff-u68k.c
 bfd/coff-w65.c
 bfd/coff-we32k.c
-bfd/coff-x86_64.c
 bfd/coff-z80.c
 bfd/coff-z8k.c
 bfd/coff64-rs6000.c
-bfd/coffcode.h
-bfd/cofflink.c
 bfd/coffswap.h
 bfd/config.in
 bfd/configure
@@ -348,7 +345,6 @@ bfd/libhppa.h
 bfd/libieee.h
 bfd/libnlm.h
 bfd/liboasys.h
-bfd/libpei.h
 bfd/libxcoff.h
 bfd/lynx-core.c
 bfd/m68k4knetbsd.c
@@ -392,7 +388,6 @@ bfd/pe-mips.c
 bfd/pe-ppc.c
 bfd/pe-sh.c
 bfd/pe-x86_64.c
-bfd/peXXigen.c
 bfd/pef-traceback.h
 bfd/pef.c
 bfd/pef.h
@@ -404,8 +399,6 @@ bfd/pei-mcore.c
 bfd/pei-mips.c
 bfd/pei-ppc.c
 bfd/pei-sh.c
-bfd/pei-x86_64.c
-bfd/peicode.h
 bfd/plugin.c
 bfd/po/
 bfd/ppcboot.c
@@ -900,7 +893,6 @@ include/coff/h8300.h
 include/coff/h8500.h
 include/coff/i860.h
 include/coff/i960.h
-include/coff/ia64.h
 include/coff/m68k.h
 include/coff/m88k.h
 include/coff/mcore.h
@@ -919,7 +911,6 @@ include/coff/tic54x.h
 include/coff/tic80.h
 include/coff/w65.h
 include/coff/we32k.h
-include/coff/x86_64.h
 include/coff/xcoff.h
 include/coff/z80.h
 include/coff/z8k.h
index 9b0fdb1..01e903d 100644 (file)
@@ -21,7 +21,8 @@ SRCS= archive.c archures.c bfd.c bfdio.c bfdwin.c \
 # from Makefile, BFD64_BACKENDS_CFILES  (x86-64 specific)
 SRCS+= elf64-x86-64.c elf-ifunc.c elf-nacl.c elf64.c elf.c elflink.c \
        elf-attrs.c elf-strtab.c elf-eh-frame.c dwarf1.c elf32-i386.c \
-       elf-vxworks.c elf32.c elf64-gen.c elf32-gen.c
+       elf-vxworks.c elf32.c elf64-gen.c elf32-gen.c pei-x86_64.c \
+       pex64igen.c cofflink.c
 
 # ALL_MACHINES_CFILES
 SRCS+= cpu-i386.c cpu-l1om.c cpu-k1om.c
@@ -30,6 +31,7 @@ SRCS+=        cpu-i386.c cpu-l1om.c cpu-k1om.c
 SRCS+=         archive64.c
 
 VECTORS=       x86_64_elf64_vec \
+               x86_64_pei_vec \
                i386_elf32_vec \
                l1om_elf64_vec \
                k1om_elf64_vec \
@@ -71,7 +73,10 @@ elf32-target.h: elfxx-target.h
        sed -e s/NN/32/g < ${CONTRIBDIR}/elfxx-target.h > ${.TARGET}
 elf64-target.h: elfxx-target.h
        sed -e s/NN/64/g < ${CONTRIBDIR}/elfxx-target.h > ${.TARGET}
+pex64igen.c: peXXigen.c
+       sed -e s/XX/pex64/g < ${CONTRIBDIR}/peXXigen.c > ${.TARGET}
 
-CLEANFILES=    bfd_stdint.h bfd.h elf64-target.h elf32-target.h targmatch.h
+CLEANFILES=    bfd_stdint.h bfd.h elf64-target.h elf32-target.h targmatch.h \
+               pex64igen.c
 
 .include <bsd.lib.mk>