summaryrefslogtreecommitdiff
path: root/devel/elfutils/files/patch-src_Makefile.am
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2016-07-13 17:48:54 +0000
committerConrad Meyer <cem@FreeBSD.org>2016-07-13 17:48:54 +0000
commit552479055ed8ad7f7ffca61077c088b9c70dca75 (patch)
treeab51fff0d12ebcaa9f5ecac4eccad04a060ba2a6 /devel/elfutils/files/patch-src_Makefile.am
parentActually remove needless patch. (diff)
Add elfutils 0.163
Elfutils is a collection of utilities, including: stack (to show backtraces); nm (for listing symbols from object files); size (for listing the section sizes of an object or archive file); strip (for discarding symbols); readelf (to see the raw ELF file structures); elflint (to check for well-formed ELF files); and elfcompress (to compress or decompress ELF sections). It also provides libraries to allow other programs to manipulate ELF and DWARF data. WWW: https://fedorahosted.org/elfutils/ Reviewed by: bdrewery Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D7206
Diffstat (limited to 'devel/elfutils/files/patch-src_Makefile.am')
-rw-r--r--devel/elfutils/files/patch-src_Makefile.am54
1 files changed, 54 insertions, 0 deletions
diff --git a/devel/elfutils/files/patch-src_Makefile.am b/devel/elfutils/files/patch-src_Makefile.am
new file mode 100644
index 000000000000..3d629265a0f1
--- /dev/null
+++ b/devel/elfutils/files/patch-src_Makefile.am
@@ -0,0 +1,54 @@
+--- src/Makefile.am.orig 2015-06-11 11:38:55 UTC
++++ src/Makefile.am
+@@ -72,11 +72,11 @@ CLEANFILES += make-debug-archive
+
+ if BUILD_STATIC
+ libasm = ../libasm/libasm.a
+-libdw = ../libdw/libdw.a $(zip_LIBS) $(libelf) $(libebl) -ldl
++libdw = ../libdw/libdw.a $(zip_LIBS) $(libelf) $(libebl) $(libeu)
+ libelf = ../libelf/libelf.a
+ else
+ libasm = ../libasm/libasm.so
+-libdw = ../libdw/libdw.so
++libdw = ../libdw/libdw.so $(libeu)
+ libelf = ../libelf/libelf.so
+ endif
+ libebl = ../libebl/libebl.a
+@@ -103,27 +103,27 @@ ranlib_no_Wstack_usage = yes
+ ar_no_Wstack_usage = yes
+ unstrip_no_Wstack_usage = yes
+
+-readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(argp_LDADD) -ldl
+-nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(argp_LDADD) -ldl \
++readelf_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(argp_LDADD)
++nm_LDADD = $(libdw) $(libebl) $(libelf) $(libeu) $(argp_LDADD) \
+ $(demanglelib)
+ size_LDADD = $(libelf) $(libeu) $(argp_LDADD)
+-strip_LDADD = $(libebl) $(libelf) $(libeu) $(argp_LDADD) -ldl
+-ld_LDADD = $(libebl) $(libelf) $(libeu) $(argp_LDADD) -ldl
++strip_LDADD = $(libebl) $(libelf) $(libeu) $(argp_LDADD)
++ld_LDADD = $(libebl) $(libelf) $(libeu) $(argp_LDADD)
+ if NATIVE_LD
+-# -ldl is always needed for libebl.
++# is always needed for libebl.
+ ld_LDADD += libld_elf.a
+ endif
+ ld_LDFLAGS = -rdynamic
+-elflint_LDADD = $(libebl) $(libelf) $(libeu) $(argp_LDADD) -ldl
++elflint_LDADD = $(libebl) $(libelf) $(libeu) $(argp_LDADD)
+ findtextrel_LDADD = $(libdw) $(libelf) $(argp_LDADD)
+ addr2line_LDADD = $(libdw) $(libelf) $(argp_LDADD) $(demanglelib)
+-elfcmp_LDADD = $(libebl) $(libelf) $(argp_LDADD) -ldl
+-objdump_LDADD = $(libasm) $(libebl) $(libelf) $(libeu) $(argp_LDADD) -ldl
++elfcmp_LDADD = $(libebl) $(libelf) $(libeu) $(argp_LDADD)
++objdump_LDADD = $(libasm) $(libebl) $(libelf) $(libeu) $(argp_LDADD)
+ ranlib_LDADD = libar.a $(libelf) $(libeu) $(argp_LDADD)
+ strings_LDADD = $(libelf) $(libeu) $(argp_LDADD)
+ ar_LDADD = libar.a $(libelf) $(libeu) $(argp_LDADD)
+-unstrip_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(argp_LDADD) -ldl
+-stack_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(argp_LDADD) -ldl $(demanglelib)
++unstrip_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(argp_LDADD)
++stack_LDADD = $(libebl) $(libelf) $(libdw) $(libeu) $(argp_LDADD) $(demanglelib)
+
+ ldlex.o: ldscript.c
+ ldlex_no_Werror = yes