diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-06-05 23:05:14 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-06-05 23:05:14 +0000 |
commit | 3456e2d15bd813b18a8e16b7b309dd6ca35b8f5b (patch) | |
tree | 3a83a4cae9bd6509e05ca1cc1b2870ee113f848f /contrib/elftoolchain/libdwarf | |
parent | 65190668661ad93b1ab4bffe3013104a8a2baa6f (diff) | |
download | FreeBSD-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/libdwarf')
-rw-r--r-- | contrib/elftoolchain/libdwarf/libdwarf_reloc.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/contrib/elftoolchain/libdwarf/libdwarf_reloc.c b/contrib/elftoolchain/libdwarf/libdwarf_reloc.c index 19325c1..15bae9c 100644 --- a/contrib/elftoolchain/libdwarf/libdwarf_reloc.c +++ b/contrib/elftoolchain/libdwarf/libdwarf_reloc.c @@ -28,11 +28,6 @@ ELFTC_VCSID("$Id: libdwarf_reloc.c 3198 2015-05-14 18:36:19Z emaste $"); -/* Backwards compatability for older FreeBSD releases. */ -#ifndef EM_IAMCU -#define EM_IAMCU 6 -#endif - Dwarf_Unsigned _dwarf_get_reloc_type(Dwarf_P_Debug dbg, int is64) { |