From: Mark Wielaard Date: Thu, 11 Jun 2020 21:16:21 +0000 (+0200) Subject: Merge tag 'elfutils-0.180' into mjw/RH-DTS X-Git-Tag: dts-0.180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50a6eeef7d87623faa65126dc3d16c2a8e613aea;p=thirdparty%2Felfutils.git Merge tag 'elfutils-0.180' into mjw/RH-DTS elfutils 0.180 release --- 50a6eeef7d87623faa65126dc3d16c2a8e613aea diff --cc debuginfod/Makefile.am index 7ae74e060,51965f65d..47b6e431b --- a/debuginfod/Makefile.am +++ b/debuginfod/Makefile.am @@@ -62,12 -62,11 +62,12 @@@ debuginfod_SOURCES = debuginfod.cx debuginfod_LDADD = $(libdw) $(libelf) $(libeu) $(libdebuginfod) $(libmicrohttpd_LIBS) $(libcurl_LIBS) $(sqlite3_LIBS) $(libarchive_LIBS) -lpthread -ldl debuginfod_find_SOURCES = debuginfod-find.c - debuginfod_find_LDADD = $(libeu) $(libdebuginfod) + debuginfod_find_LDADD = $(libdw) $(libelf) $(libeu) $(libdebuginfod) -noinst_LIBRARIES = libdebuginfod.a -noinst_LIBRARIES += libdebuginfod_pic.a +lib_LIBRARIES = libdebuginfod.a +noinst_LIBRARIES = libdebuginfod_pic.a +libdebuginfod_a_CFLAGS = -fPIC $(AM_CFLAGS) libdebuginfod_a_SOURCES = debuginfod-client.c libdebuginfod_pic_a_SOURCES = debuginfod-client.c am_libdebuginfod_pic_a_OBJECTS = $(libdebuginfod_a_SOURCES:.c=.os) diff --cc libebl/eblopenbackend.c index db0006328,b3b6fc01a..6ce6c26fc --- a/libebl/eblopenbackend.c +++ b/libebl/eblopenbackend.c @@@ -41,14 -41,22 +41,14 @@@ #include #include - const char *i386_init (Elf *, GElf_Half, Ebl *eh, size_t ehlen); - const char *x86_64_init (Elf *, GElf_Half, Ebl *eh, size_t ehlen); - const char *ppc_init (Elf *, GElf_Half, Ebl *eh, size_t ehlen); - const char *ppc64_init (Elf *, GElf_Half, Ebl *eh, size_t ehlen); - const char *ia64_init (Elf *, GElf_Half, Ebl *eh, size_t ehlen); - const char *s390_init (Elf *, GElf_Half, Ebl *eh, size_t ehlen); - const char *aarch64_init (Elf *, GElf_Half, Ebl *eh, size_t ehlen); - const char *bpf_init (Elf *, GElf_Half, Ebl *eh, size_t ehlen); + Ebl *i386_init (Elf *, GElf_Half, Ebl *); -Ebl *sh_init (Elf *, GElf_Half, Ebl *); + Ebl *x86_64_init (Elf *, GElf_Half, Ebl *); + Ebl *ia64_init (Elf *, GElf_Half, Ebl *); -Ebl *alpha_init (Elf *, GElf_Half, Ebl *); -Ebl *arm_init (Elf *, GElf_Half, Ebl *); + Ebl *aarch64_init (Elf *, GElf_Half, Ebl *); -Ebl *sparc_init (Elf *, GElf_Half, Ebl *); + Ebl *ppc_init (Elf *, GElf_Half, Ebl *); + Ebl *ppc64_init (Elf *, GElf_Half, Ebl *); + Ebl *s390_init (Elf *, GElf_Half, Ebl *); -Ebl *tilegx_init (Elf *, GElf_Half, Ebl *); -Ebl *m68k_init (Elf *, GElf_Half, Ebl *); + Ebl *bpf_init (Elf *, GElf_Half, Ebl *); -Ebl *riscv_init (Elf *, GElf_Half, Ebl *); -Ebl *csky_init (Elf *, GElf_Half, Ebl *); /* This table should contain the complete list of architectures as far as the ELF specification is concerned. */ diff --cc tests/Makefile.am index 03eebfa85,7db7db166..fa4999dff --- a/tests/Makefile.am +++ b/tests/Makefile.am @@@ -164,7 -175,10 +174,9 @@@ TESTS = run-arextract.sh run-arsymtest. run-strip-version.sh run-xlate-note.sh \ run-readelf-discr.sh \ run-dwelf_elf_e_machine_string.sh \ - run-elfclassify.sh run-elfclassify-self.sh + run-elfclassify.sh run-elfclassify-self.sh \ - run-disasm-riscv64.sh \ + run-pt_gnu_prop-tests.sh \ + run-getphdrnum.sh if !BIARCH export ELFUTILS_DISABLE_BIARCH = 1