48 Commits

Author SHA1 Message Date
lizhenlin efba194008 update version to 0.193
Signed-off-by: lizhenlin <lizhenlin2@h-partners.com>
2025-11-12 14:48:40 +08:00
unknown 705c22626b update to v0.190
Signed-off-by: unknown <zhangchun39@huawei.com>
2024-12-06 15:48:16 +08:00
zhanghaibo e660ab2124 upgrade to v0.188
Signed-off-by: zhanghaibo <zhanghaibo0@huawei.com>
Change-Id: I83c8756f5ce0a464b037bc963cfdce43df82921b
2023-04-25 18:45:37 +08:00
Mark Wielaard fd119923a0 libelf: Sync elf.h from glibc.
Adds SHF_GNU_RETAIN.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2020-12-16 19:44:47 +01:00
Mark Wielaard 56f64c9465 libelf: Sync elf.h from glibc.
Makes elf.h standalone and removes __BEGIN_DECLS/__END_DECLS macros.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2020-10-28 12:44:34 +01:00
Mark Wielaard 1d8b10e02c libelf: Sync elf.h from glibc.
Gets us DT_AARCH64_BTI_PLT and DT_AARCH64_PAC_PLT.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2020-09-07 09:26:30 +02:00
Mark Wielaard 39f22a7687 libelf: Sync elf.h from glibc.
There is now finally a PT_GNU_PROPERTY define.
Also EM_ARC_COMPACT2 got renamed to EM_ARCV2.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2020-06-04 16:59:52 +02:00
Mao Han 9c82942ae7 libelf: Sync elf.h from glibc
Signed-off-by: Mao Han <han_mao@c-sky.com>
2019-04-14 22:25:50 +02:00
Mark Wielaard 3e4f78a7be libelf: Sync elf.h from glibc.
Add NT_PPC_PKEY, R_BPF_64_64 and R_BPF_64_32. Remove R_BPF_MAP_FD.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2018-06-21 20:30:19 +02:00
Andreas Schwab 9b29c2a136 libelf: Sync elf.h from glibc
Signed-off-by: Andreas Schwab <schwab@suse.de>
2018-04-23 13:51:26 +02:00
Mark Wielaard 88f3d2daa1 libelf: Sync elf.h from glibc.
Signed-off-by: Mark Wielaard <mark@klomp.org>
2018-02-17 00:23:19 +01:00
Mark Wielaard 6d2e7e7100 libelf: Sync elf.h from glibc.
Add new powerpc note descriptors.

Signed-off-by: Mark Wielaard <mark@klomp.org>
2017-08-15 22:43:01 +02:00
Gustavo Romero 55a471f5fe ppc64: Add HTM SPRs support to readelf
Since POWER8, PowerPC 64 supports Hardware Transactional Memory, which has
three special purpose registers associated to it: tfhar, tfiar, and texasr.
This commit add HTM SPRs set as known note type so it's possible to use
'readelf --notes' to inspect the HTM SPRs in a coredump file generated in
such a machines.

Signed-off-by: Gustavo Romero <gromero@linux.vnet.ibm.com>
2017-07-25 12:20:42 +02:00
Richard Henderson 4c746f2501 Sync elf.h from glibc
Add lots of new EM_* definitions.
Add R_BPF_* definitions.

Signed-off-by: Richard Henderson <rth@redhat.com>
2016-06-28 20:08:52 +02:00
Mark Wielaard 2f289fa9e3 Add new i386 and x86_64 relocation types.
Update elf.h from glibc and recognize R_386_GOT32X, R_X86_64_GOTPCRELX
and R_x86_64_REX_GOTPCRELX as non-dynamic relocations.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
2016-02-19 21:13:23 +01:00
Mark Wielaard 1899704b87 Add NT_ARM_SYSTEM_CALL aarch64 syscall regset.
Linux kernel 3.18 added the NT_ARM_SYSTEM_CALL regset for aarch64.
Recognize and print this new core item.

https://bugzilla.redhat.com/show_bug.cgi?id=1285613

Signed-off-by: Mark Wielaard <mjw@redhat.com>
2016-02-15 23:51:31 +01:00
Mark Wielaard 5eb3e901f9 elf.h: Update from glibc. Add section compression constants and structures.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
2015-10-22 23:25:55 +02:00
Mark Wielaard bcefec514e Update elf.h from glibc.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
2015-04-28 14:41:12 +02:00
Mark Wielaard 16e2d351bf Update elf.h from glibc.
Includes new bits needed for ppc64le ELFv2 abi.
https://bugzilla.redhat.com/show_bug.cgi?id=1110249

Signed-off-by: Mark Wielaard <mjw@redhat.com>
2014-07-04 13:39:30 +02:00
Petr Machata acf126799e Update elf.h from glibc
Signed-off-by: Petr Machata <pmachata@redhat.com>
2013-10-01 16:31:16 +02:00
Petr Machata 49a1a381a9 Update elf.h from glibc
Signed-off-by: Petr Machata <pmachata@redhat.com>
2013-09-26 00:24:23 +02:00
Petr Machata 9312cb5e89 Update elf.h from glibc.
Signed-off-by: Petr Machata <pmachata@redhat.com>
2012-09-17 17:33:22 +02:00
Roland McGrath d83f1324c3 Update elf.h from glibc.
Signed-off-by: Roland McGrath <roland@hack.frob.com>
2012-08-16 10:39:52 -07:00
Roland McGrath f35dfa89a0 Update elf.h from glibc. 2010-04-13 12:12:07 -07:00
Matt Fleming d80f0b2cf8 Complete SH port. 2010-04-10 19:13:37 -07:00
Roland McGrath 331a186dcd elf.h: Update from glibc. 2010-03-11 00:45:28 -08:00
Ulrich Drepper f7a9a9e421 Update elf.h 2010-03-04 21:51:54 -08:00
Roland McGrath 6fd3cd104a Add elf_getphdrnum, support >65536 phdrs. 2010-01-07 19:43:42 -08:00
Ulrich Drepper 3117a85d8c Update elf.h from glibc. 2009-07-26 08:28:15 -07:00
Ulrich Drepper 70c442caa8 Add support for STB_GNU_UNIQUE to libebl. 2009-07-08 00:53:24 -07:00
Ulrich Drepper b47d290a36 Add support for IRELATIVE relocations.
That's the second part of the IFUNC support.  So far x86 and x86-64
only.
2009-06-01 07:38:32 -07:00
Roland McGrath eb9ba470ff Nominal ARM support. 2009-04-15 02:10:30 -07:00
Roland McGrath d5ff667894 Update elf.h and some tables; fill in sparc backend reloc table. 2009-04-01 18:28:41 -07:00
Roland McGrath a845f68bf4 src/
2008-12-02  Roland McGrath  <roland@redhat.com>

	* readelf.c (count_dwflmod, process_file): Don't presume encoding of
	nonzero OFFSET argument to dwfl_getmodules.
2008-12-03 03:41:58 +00:00
Roland McGrath 1d8bb25cac src/
(find_symbol): Likewise.
	Convert plain number, or handle strings like "(section)+offset"
	or "symbol+offset".
2008-08-07 08:39:41 +00:00
Roland McGrath 059c83e5db Finish elflint .gnu.attributes checking 2008-02-21 06:19:39 +00:00
Roland McGrath e4c22ea004 2007-10-23 Roland McGrath <roland@redhat.com>
* linux-kernel-modules.c (report_kernel_archive): Reorder the kernel
	module to appear first.
2007-10-23 13:07:39 +00:00
Roland McGrath 87d4780beb libdwfl/
2007-07-16  Roland McGrath  <roland@redhat.com>

	* dwfl_module.c (dwfl_report_module): Increment DWFL->nmodules when
	reviving an existing module.

tests/
2007-07-16  Roland McGrath  <roland@redhat.com>

	* dwfl-bug-report.c: New file.
	* Makefile.am (noinst_PROGRAMS, TESTS): Add it.
	(dwfl_bug_report_LDADD): New variable.
2007-07-16 22:23:37 +00:00
Roland McGrath 4be1524398 2007-04-24 Roland McGrath <roland@redhat.com>
* run-strip-test.sh: When we saved the debug info, test unstrip too.
2007-04-25 03:09:33 +00:00
Ulrich Drepper 231c590fbe Changes to fix GNU-style hash table handling. 2006-08-08 22:00:11 +00:00
Ulrich Drepper 28ed895fdc merge of 2d5572f10b65f0ac7fdf54361b4dae41ebbd51d0
and fda3a25581b7bfac581504e9e887e9b97f234f86
2006-07-07 03:43:47 +00:00
Ulrich Drepper ee4b927bae New spec file. 2006-06-15 03:21:46 +00:00
Ulrich Drepper 4ba68f475d Linker work.
GNU hash support.
64-bit SysV hash support.
2006-07-05 07:34:27 +00:00
Roland McGrath b6405ca24b backends/
2005-11-19  Roland McGrath  <roland@redhat.com>

	* ppc64_reloc.def: REL30 -> ADDR30.


libelf/
2005-11-19  Roland McGrath  <roland@redhat.com>

	* elf.h: Update from glibc.
2005-11-19 21:36:37 +00:00
Roland McGrath 92b8523981 2005-11-17 Roland McGrath <roland@redhat.com>
* elf.h: Update from glibc.
2005-11-17 23:09:19 +00:00
Roland McGrath fd856b5865 2005-11-10 Roland McGrath <roland@redhat.com>
* elf.h: Update from glibc.
2005-11-10 22:49:53 +00:00
Ulrich Drepper b03b057859 Add support for a few missing DT_ and R_* values.
Import new elf.h.
2005-08-07 08:12:22 +00:00
Ulrich Drepper b08d5a8fb4 Adjust for monotone. 2005-07-26 05:00:05 +00:00