summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/elfcopy/main.c
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-06-05 23:05:14 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-06-05 23:05:14 +0000
commit3456e2d15bd813b18a8e16b7b309dd6ca35b8f5b (patch)
tree3a83a4cae9bd6509e05ca1cc1b2870ee113f848f /contrib/elftoolchain/elfcopy/main.c
parent65190668661ad93b1ab4bffe3013104a8a2baa6f (diff)
downloadFreeBSD-src-3456e2d15bd813b18a8e16b7b309dd6ca35b8f5b.zip
FreeBSD-src-3456e2d15bd813b18a8e16b7b309dd6ca35b8f5b.tar.gz
Use the in-tree sys/elf_common.h to build libelftc.
This fixes build failures on older releases that lack various definitions such as EM_AARCH64 (which was unfixed before this). Revert all of the recent compatibility changes that worked around this problem. This uses the same method of using the in-tree header as lib/libelf, lib/libdwarf and usr.bin/readelf. Reviewed by: emaste Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D6734
Diffstat (limited to 'contrib/elftoolchain/elfcopy/main.c')
-rw-r--r--contrib/elftoolchain/elfcopy/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/elftoolchain/elfcopy/main.c b/contrib/elftoolchain/elfcopy/main.c
index 89ffab2..ebc0c92 100644
--- a/contrib/elftoolchain/elfcopy/main.c
+++ b/contrib/elftoolchain/elfcopy/main.c
@@ -41,11 +41,6 @@
ELFTC_VCSID("$Id: main.c 3446 2016-05-03 01:31:17Z emaste $");
-/* Backwards compatability for older FreeBSD releases. */
-#ifndef ELFOSABI_CLOUDABI
-#define ELFOSABI_CLOUDABI 17
-#endif
-
enum options
{
ECP_ADD_GNU_DEBUGLINK,
OpenPOWER on IntegriCloud