History log of /external/elfutils/libebl/libebl.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
42f0df13d7c0b3ec1a547eca84eca694f6d42310 08-Dec-2015 Jose E. Marchesi <jose.marchesi@oracle.com> libebl: new backend attribute ra_offset.

Some backends need to fine-tune the return address as fetched from the
corresponding CFI register. This patch adds a new backend attribute
ra_offset and the corresponding ebl_ra_offset getter function.

Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
/external/elfutils/libebl/libebl.h
c806736dc8ba24bf126d3942aaa755e7d4f86ea9 27-Jan-2015 Mark Wielaard <mjw@redhat.com> s/Really, not guarantee/Really, no guarantee/g

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
858dc6536d9519f94c6dedef9bb42a63db61a718 27-Jan-2015 Mark Wielaard <mjw@redhat.com> libebl.h: Add comment from README that this is completely UNSUPPORTED.

Make it really, really clear that the libebl interface is NOT source and
NOT abi compatible and we will break any users.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
712c8faddc08844fb1f2814c8b6e817f03b0698e 22-Nov-2014 Mark Wielaard <mjw@redhat.com> Use elf_getphdrnum instead of accessing ehdr->e_phnum directly.

Using elf_getphdrnum lets us handle ELF files that use more than PN_XNUM
phdrs. And guards against some corrupt files.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
c1c1c06e30f0b3b4ae66fcfec6318a93b8f31569 14-Jun-2014 Mark Wielaard <mjw@redhat.com> libebl: Add ebl_func_addr_mask plus ARM backend implementation.

The ARM EABI says that the zero bit of function symbol st_value indicates
whether the symbol points to a THUMB or ARM function. Also the return
value address in an unwind will contain the same extra bit to indicate
whether to return to a regular ARM or THUMB function. Add a new ebl
function to mask off such bits and turn a function value into a function
address so that we get the actual value that a function symbol or return
address points to. It isn't easily possible to reuse the existing
ebl_resolve_sym_value for this purpose, so we end up with another hook
that can be used from dwfl_module_getsym, handle_cfi and elflint.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
028d0ab0cc1cb5f96ee48feef966b7d8d56c6a8e 19-May-2014 Mark Wielaard <mjw@redhat.com> backends: Add ebl_check_reloc_target_type.

And implement for arm and ia64. Both have special section types that
are valid targets for a reloc. Both refer to unwind data. elflint now
just calls ebl_check_reloc_target_type instead of hard coding the
expected section types.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
159ac52b061c60947a943c102298cd692223274f 18-Dec-2013 Mark Wielaard <mjw@redhat.com> libdwfl: Introduce dwfl_module_getsym_info and dwfl_module_addrinfo.

Some arches like ppc64 use function descriptor values instead of function
addresses causing matching of names and addresses to fail when using
dwfl_module_getsym or dwfl_module_addrsym.

Add ebl hook to resolve any function descriptor values found in non-ET_REL
modules.

The new function dwfl_module_getsym_info doesn't adjust the symbol value
in any way, but returns the adjusted and/or resolved address associated
with the symbol separately. The new function dwfl_module_addrinfo resolves
against both the address associated with the symbol (which could be the
function entry address) value and the adjusted st_value. So that it is
easy to resolve and match either function descriptors and/or function
entry addresses.

Since these new functions also return more information they replace the
dwfl_module_getsym_elf and dwfl_module_addrsym_elf functions that never
made it into a released elfutils version.

addr2line and readelf now use the new functions when looking up functions
names. addr2line will now also display the section the address was found
in when given -x.

Extra testcases were added for both addr2line and the dwflsyms testscase.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
c6a41483f2986d5542c554981348f75b815ef9b1 17-Dec-2013 Jan Kratochvil <jan.kratochvil@redhat.com> unwinder: s390 and s390x

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libebl/libebl.h
5cbf42aaf47195e2c41171786371d55b253a7667 15-Dec-2013 Jan Kratochvil <jan.kratochvil@redhat.com> unwinder: ppc and ppc64

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libebl/libebl.h
1c1a53b657ef31b168928925884c01a7e4bcaf0c 14-Nov-2013 Jan Kratochvil <jan.kratochvil@redhat.com> Code cleanup: Remove const in prototype

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libebl/libebl.h
0b867460075c9f02cb305abc91a0e12b90017583 30-May-2013 Jan Kratochvil <jan.kratochvil@redhat.com> Unwinder for x86*.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
3dec3e110bb2a2453156868e1221dc8192399e3e 06-Oct-2013 Mark Wielaard <mjw@redhat.com> backends: ppc_abi_cfi reg1 use DW_CFA_val_offset not DW_CFA_val_expression.

Register rules using expressions are stored using an offset from the
start of the .eh_frame or .debug_frame ELF section data. Since abi_cfi
rules aren't stored in those ELF sections they should use neither
DW_CFA_expression nor DW_CFA_val_expression. The only backend that used
DW_CFA_val_expression was ppc_cfi.c. It was easier to express the same
rule using DW_CFA_val_offset than to change the code to handle register
rules using expressions. On most architectures this did work by accident.
See the definition of struct dwarf_frame_register value in libdw/cfi.h to
see why. But on ia64 the abi_cfi data and actual frame data were placed
too far apart and caused a crash in tests/run-addrcfi.sh for ppc32.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
0631d1fb4dfc3de5c1fb22d4030dffece350d724 12-Oct-2012 Jan Kratochvil <jan.kratochvil@redhat.com> libebl/
2012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>

* ebl-hooks.h (abi_cfi): Extend its comment for return value.
* eblopenbackend.c (default_abi_cfi): Return -1.
* libebl.h (ebl_abi_cfi): Extend its comment for return value.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libebl/libebl.h
de2ed97f33139af5c7a0811e4ec66fc896a13cf2 05-Jun-2012 Mark Wielaard <mjw@redhat.com> Update name, license and contributor policy.

* Change name from "Red Hat elfutils" to "elfutils".
* Update license of standalone tools and test from GPLv2 to GPLv3+.
* Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+.
* Add Developer Certificate of Origin based contributor policy.

top-level:

- COPYING: Upgraded from GPLv2 to GPLv3.
- CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files.
- NEWS: Added note about new contribution and license policy.
- Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST.
- configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'.

backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf:

- All files updated to GPLv2/LGPLv3+. Except some very small files
(<5 lines) which didn't have any headers at all before, the linker
.maps files and the libcpu/defs files which only contain data and
libelf/elf.h which comes from glibc and is under LGPLv2+.

config:

- elfutils.spec.in: Add new License: headers and new %doc files.
- Update all license headers to GPLv2/LGPLv3+ for files used by libs.

src, tests:

- All files updated to GPLv3+. Except for the test bz2 data files, the
linker maps and script files and some very small files (<5 lines)
that don't have any headers.

Signed-off-by: Richard Fontana <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libebl/libebl.h
bb9d1b4bf225a604ceb69130f5a54a66f95b525d 24-Apr-2011 Mark Wielaard <mjw@redhat.com> Add support for printing SDT elf notes.

libebl/
* libebl.h (ebl_object_note_type_name): Add const char *name arg.
* eblhooks.h (object_note_type_name): Likewise.
* eblopenbackend.c (default_object_note_type_name): Likewise.
* eblobjnotetypename.c (ebl_object_note_type_name): Likewise.
And print version if name is "stapsdt".
* eblobjnote.c (ebl_object_note): Add output for "stapsdt" notes.
src/
* readelf.c (handle_notes_data): Call ebl_object_note_type_name
with note name.
/external/elfutils/libebl/libebl.h
a062b6bcadd1565d360acf640f9d4c159b2270ea 10-Mar-2011 Mark Wielaard <mjw@redhat.com> Add new ebl_check_st_other_bits function.
/external/elfutils/libebl/libebl.h
0ccbbcd1244336d38f51648620b32b193d591cbb 05-Jan-2010 Roland McGrath <roland@redhat.com> Make readelf -n check note name strings, handle "VMCOREINFO" flavor.
/external/elfutils/libebl/libebl.h
3c84db3b4b610bf636c4363abb6d3dac5ae020f9 25-Jun-2009 Roland McGrath <roland@redhat.com> CFI support: lookup by PC and translate into DWARF location per register
/external/elfutils/libebl/libebl.h
1d8bb25cac06b5af57f8733e5ea7a068a79edfe0 07-Aug-2008 Roland McGrath <roland@redhat.com> src/
(find_symbol): Likewise.
Convert plain number, or handle strings like "(section)+offset"
or "symbol+offset".
/external/elfutils/libebl/libebl.h
13b69609bcd5638e6194d940855fea3dd0519605 01-Apr-2008 Roland McGrath <roland@redhat.com> backends/
* sparc_symbol.c (sparc_symbol_type_name): New function.
(sparc_dynamic_tag_name): New function.
(sparc_dynamic_tag_check): New function.
* sparc_init.c (sparc_init): Initialize those hooks.


libebl/
* ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
/external/elfutils/libebl/libebl.h
059c83e5db89955913a39fe6705acca571c32c3f 21-Feb-2008 Roland McGrath <roland@redhat.com> Finish elflint .gnu.attributes checking
/external/elfutils/libebl/libebl.h
cb6d865011ad98a8ac2018f072f396a2268739ca 23-Aug-2007 Roland McGrath <roland@redhat.com> readelf register printing sort order tweak
/external/elfutils/libebl/libebl.h
aa915fd3d70b4cbe4581f9ec170d986c6ba35063 05-Feb-2007 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head c44dcfac5b545aecb173fede31f34cb003be0173)
to branch 'com.redhat.elfutils' (head 4196d4e01486bdeb0c0632291881d1c6d7163fab)
/external/elfutils/libebl/libebl.h
c373d850ec9ca342f4c71d5e287c8d8bf0723cd6 10-Oct-2006 Roland McGrath <roland@redhat.com> 2006-10-09 Roland McGrath <roland@redhat.com>

* ia64_symbol.c (ia64_reloc_simple_type): Treat SECREL types as simple.
/external/elfutils/libebl/libebl.h
28ed895fdc303b2a793506bb1fcdd35d5fd14e70 07-Jul-2006 Ulrich Drepper <drepper@redhat.com> merge of 2d5572f10b65f0ac7fdf54361b4dae41ebbd51d0
and fda3a25581b7bfac581504e9e887e9b97f234f86
/external/elfutils/libebl/libebl.h
ee4b927bae351b21787355e00a3d28371bf78e8f 15-Jun-2006 Ulrich Drepper <drepper@redhat.com> New spec file.
/external/elfutils/libebl/libebl.h
4ba68f475d305b11e55c83994bad4824dad156d3 05-Jul-2006 Ulrich Drepper <drepper@redhat.com> Linker work.
GNU hash support.
64-bit SysV hash support.
/external/elfutils/libebl/libebl.h
6ca4600fb59d1e1ae3dfb872b184ac91f10c473f 13-Jun-2006 Ulrich Drepper <drepper@redhat.com> Don't create INTERP and PHDR program header entry if a DSO is created without
a specific interpreter.

Ignore duplicate COMDAT group sections.

elflint should not complain about anything about *_NONE relocations.
Add support to libebl to determine whether given relocation is *_NONE
relocation.
/external/elfutils/libebl/libebl.h
41cbd7620b0851da148d8aa2d1c21fd304024bba 27-May-2006 Ulrich Drepper <drepper@redhat.com> Add extern "C" for libdwfl.h and libebl.h.
/external/elfutils/libebl/libebl.h
1e9ef50681e20ef14c2ba38aef37a71ff148be08 05-Apr-2006 Ulrich Drepper <drepper@redhat.com> Fix FSF address. No exception for libdwarf.
/external/elfutils/libebl/libebl.h
361df7da6dfecd817b27e62b91752ac316d7cdd4 04-Apr-2006 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head 4f8fc821345feef58624f0aa5b470d4827577d8c)
to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
/external/elfutils/libebl/libebl.h
994b4899278199fc4d307780dac0ea50b238bc74 05-Dec-2005 Roland McGrath <roland@redhat.com> merge of 2cc527e6d8c8ff19dab478f7d12e58f1cfa6d6f5
and 7b542932f3e2947183b45bdbf39d448f457da9fd
/external/elfutils/libebl/libebl.h
e47ab76f02c2a4f4d802ec298969ba67956435fe 17-Nov-2005 Roland McGrath <roland@redhat.com> Update new test after merge.
/external/elfutils/libebl/libebl.h
215c6321c0576fa1177efc0e1549ff6d4fd5e804 16-Nov-2005 Roland McGrath <roland@redhat.com> 2005-11-16 Roland McGrath <roland@redhat.com>

* libebl.h: Use "" for elf-knowledge.h, not <>.
/external/elfutils/libebl/libebl.h
c5c33a6a2ce5ea400ac5d06b3c2f15808f68b803 13-Aug-2005 Ulrich Drepper <drepper@redhat.com> Minor cleanups of last changes to elflint and libebl to support
clean ppc/ppc64 handling.
/external/elfutils/libebl/libebl.h
653d3763e986da9f1c8a92ff9103d85c534754cd 13-Aug-2005 Roland McGrath <roland@redhat.com> libebl/
2005-08-12 Roland McGrath <roland@redhat.com>

* libeblP.h (struct ebl): Add bss_plt_p hook.
* eblopenbackend.c (default_bss_plt_p): New function.
(fill_defaults): Use it.
* eblbsspltp.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* libebl.h: Declare ebl_bss_plt_p.
* ppc_symbol.c (ppc_bss_plt_p): New function.
* libebl_ppc.h: Declare it.
* ppc_init.c (ppc_init): Use it.
* ppc64_symbol.c (ppc64_bss_plt_p): New function.
* libebl_ppc64.h: Declare it.
* ppc64_init.c (ppc64_init): Use it.

* ebl_check_special_symbol.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* libebl.h: Declare ebl_check_special_symbol.
* libeblP.h (struct ebl): Add check_special_symbol hook.
* eblopenbackend.c (default_check_special_symbol): New function.
(fill_defaults): Use it.
* ppc_symbol.c (ppc_check_special_symbol): New function.
* libebl_ppc.h: Add prototype.
* ppc_init.c (ppc_init): Use it.
* ppc64_symbol.c (ppc64_check_special_symbol): New function.
* libebl_ppc64.h: Add prototype.
* ppc64_init.c (ppc64_init): Use it.

src/
2005-08-12 Roland McGrath <roland@redhat.com>

* elflint.c (check_symtab): Check that _GLOBAL_OFFSET_TABLE_ st_shndx
refers to the right section if it's not SHN_ABS.
Let ebl_check_special_symbol override _G_O_T_ value and size checks.

* elflint.c (check_sections): Don't complain about a non-NOBITS
section taking no segment space, if it's sh_size is 0.

* elflint.c (check_sections): Use ebl_bss_plt_p to see if .plt should
be PROGBITS or NOBITS.

* elflint.c (check_symtab): Use ebl_check_special_symbol to override
standard st_value and st_size checks.
/external/elfutils/libebl/libebl.h
a38998e815ccde5d90ff0800c31da255eb3430d3 03-Aug-2005 Ulrich Drepper <drepper@redhat.com> Add some patches from the disasm-branch branch.

The asm_begin interface changed.
In text mode output is really written to the file.
/external/elfutils/libebl/libebl.h
b08d5a8fb42f4586d756068065186b5af7e48dad 26-Jul-2005 Ulrich Drepper <drepper@redhat.com> Adjust for monotone.
/external/elfutils/libebl/libebl.h