Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Feb 2016 21:15:32 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295582 - head/usr.bin/elfcopy
Message-ID:  <201602122115.u1CLFWQ2039334@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Fri Feb 12 21:15:31 2016
New Revision: 295582
URL: https://svnweb.freebsd.org/changeset/base/295582

Log:
  elfcopy: enable PE and EFI support
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/usr.bin/elfcopy/Makefile

Modified: head/usr.bin/elfcopy/Makefile
==============================================================================
--- head/usr.bin/elfcopy/Makefile	Fri Feb 12 21:12:47 2016	(r295581)
+++ head/usr.bin/elfcopy/Makefile	Fri Feb 12 21:15:31 2016	(r295582)
@@ -17,13 +17,14 @@ CLEANFILES+= objcopy.1
 PROG=	elfcopy
 .endif
 
-SRCS=	archive.c ascii.c binary.c main.c sections.c segments.c symbols.c
+SRCS=	archive.c ascii.c binary.c main.c pe.c sections.c segments.c symbols.c
 
 WARNS?=	5
 
-LIBADD=	archive elftc elf
+LIBADD=	archive elftc elf pe
 
-CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/common
+CFLAGS+=-I${ELFTCDIR}/libelftc -I${ELFTCDIR}/libpe -I${ELFTCDIR}/common
+CFLAGS+=-DWITH_PE=1
 
 MAN=	${PROG}.1 strip.1
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602122115.u1CLFWQ2039334>