History log of /external/elfutils/src/readelf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3a5fc51573ae88a06d2050ef8425336e23013852 08-Jan-2016 Mark Wielaard <mjw@redhat.com> Fix build on 32bit systems.

size_t has a different size on 32 and 64 bit systems.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
f5013e83d5c8fcd9309c8976c3f1167d28cd07aa 21-Oct-2015 Mark Wielaard <mjw@redhat.com> readelf: Handle compressed sections and extend -z to cover -x and -p.

When printing a (non-string, non-data) section use uncompressed data when
possible. For dumping hex and string sections (-x and -p) -z will dump the
uncompressed data (otherwise the compressed data is dumped).

-z, --decompress Show compression information for compressed
sections (when used with -S); decompress section
before dumping data (when used with -p or -x)

Includes test cases for ET_REL files using compressed relocation (target)
debug sections to test libdwfl transparent uncompression of sections.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
b7105b40ccd73a8e6b7fce6c11d2088eb1298b33 16-Oct-2015 Mark Wielaard <mjw@redhat.com> readelf: Add -z,--decompress option.

-z, --decompress Show compression information for compressed
sections (when used with -S).

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
3425454a10d307fae891fb667cf7969e945cde79 09-Oct-2015 Josh Stone <jistone@redhat.com> Trust AC_SYS_LARGEFILE to provide large file support

AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS in config.h if needed for
LFS, and this automatically maps things like open to open64. But quite
a few places used explicit 64-bit names, which won't work on platforms
like FreeBSD where off_t is always 64-bit and there are no foo64 names.
It's better to just trust that AC_SYS_LARGEFILE is doing it correctly.

But we can verify this too, as some file could easily forget to include
config.h. The new tests/run-lfs-symbols.sh checks all build targets
against lfs-symbols (taken from lintian) to make sure everything was
implicitly mapped to 64-bit variants when _FILE_OFFSET_BITS is set.

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/src/readelf.c
7eff36d5daa6ebca5e6399638a7643af105ae5b0 07-Oct-2015 Chih-Hung Hsieh <chh@google.com> Do without union of variable length arrays.

Prepare to compile with clang.

A union like
{ T32 a32[n]; T64 a64[n]; } u;
is expanded to
size_t nbytes = n * MAX(sizeof(T32), sizeof(T64));
void *data = malloc(nbytes);
T32 (*a32)[n] = data;
T64 (*a64)[n] = data;

Signed-off-by: Chih-Hung Hsieh <chh@google.com>
/external/elfutils/src/readelf.c
fc0a0f303bf31194c9cef9bb6a766cec9d7794fb 09-Sep-2015 Chih-Hung Hsieh <chh@google.com> Initialize variable before use.

Some compiler does not know that error function never returns.

Signed-off-by: Chih-Hung Hsieh <chh@google.com>
/external/elfutils/src/readelf.c
2ec957327cdfae6cee592a52958a9c937ea4b13c 04-Sep-2015 Chih-Hung Hsieh <chh@google.com> Replace printf %Z length modifier with %z.

%Z is a GNU extension predating the ISO C99 %z modifier supported by
libc5 and no longer recommended.

Signed-off-by: Chih-Hung Hsieh <chh@google.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
b00a4fa78779ff0f304fa6cb34d49622679c86d4 03-Sep-2015 Mark Wielaard <mjw@redhat.com> readelf: handle_core_item large right shift triggers undefined behaviour.

The problem is this:

int n = ffs (w);
w >>= n;

The intent is to shift away up to (and including) the first least
significant bit in w. But w is an unsigned int, so 32 bits. And the
least significant bit could be bit 32 (ffs counts from 1). Unfortunately
a right shift equal to (or larger than) the length in bits of the left
hand operand is undefined behaviour. We expect w to be zero afterwards.
Which would terminate the while loop in the function. But since it is
undefined behaviour anything can happen. In this case, what will actually
happen is that w is unchanged, causing an infinite loop...

gcc -fsanitize=undefined will catch and warn about this when w = 0x80000000

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

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
222cd82a154bc1805fa1631e8fa0269482d5be27 18-Jun-2015 Mark Wielaard <mjw@redhat.com> readelf: Make sure phdr2_mem lifetime/scope equals phdr2 pointer.

We dont' want GCC to dispose or reuse phdr2_mem stack memory while phdr2
is pointing to it.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
90a7bd23b1f4ffcace0721634f97ce34553c2288 18-Jun-2015 Mark Wielaard <mjw@redhat.com> readelf: Don't leak memory on failure path in handle_gnu_hash.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
32d5b6f61a90b3c0c777b73eee973d6816a21294 22-Apr-2015 Mark Wielaard <mjw@redhat.com> readelf: Fix cie_offset calculation comparison on 32bit.

gcc -fsanitize=undefined pointed out that on 32bit systems the calculation
to match the cie_offset to the cie_id could be undefined because a cie_id
could be an unsigned 64bit value while ptrdiff_t is only 32bits. Correct
the calculation to use 64bit values.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
f333a1c240d4236d6215c00dd5d88d79893cc350 22-Apr-2015 Mark Wielaard <mjw@redhat.com> readelf: Check all offsets used in print_gdb_index_section against d_size.

https://bugzilla.redhat.com/show_bug.cgi?id=1170810#c29

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
9b5f79511717cc26233dd06dd8dab148498db307 17-Apr-2015 Mark Wielaard <mjw@redhat.com> readelf: Always try to print some debug section information.

Even if we cannot create a proper Dwarf dbg we can still print the
information of various debug sections. All all debug print section
functions already check first they can access the appropriate data.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
86de7921871c0b2525097d66a387fdb243f2c149 17-Apr-2015 Mark Wielaard <mjw@redhat.com> readelf: Add overflow checking to print_gdb_index_section dataend checks.

https://bugzilla.redhat.com/show_bug.cgi?id=1170810#c29

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
7f617347794f7d57f69d08f38c00f3f6ad221a56 18-Mar-2015 Petr Machata <pmachata@redhat.com> Publish known-dwarf.h

- Make the macro names properly scoped (DWARF_ALL_KNOWN_* and
DWARF_ONE_KNOWN_*).

- Simplify the calling convention: don't keep track of the comment
associated with the enumerator, always use the non-_DESC
DWARF_ONE_KNOWN_* callback.

- Install known-dwarf.h alongside libdw.h and others.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/src/readelf.c
8f2f5801a16626b56546f2c95be4c85a59c2e53a 21-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Don't try to read macinfo cus sentinel or beyond.

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

Reported-by: Alexander Cherepanov <cherepan@mccme.ru>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
cda1a31d0e88fb9bea0a14996ac6fa3bd8585648 21-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Add more sanity checks to print_debug_exception_table.

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

Reported-by: Alexander Cherepanov <cherepan@mccme.ru>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
99a6f22a393a430dc9a21be7987817d36c02c740 17-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Add bounds check before each CFA op that takes an argument.

Some CFA ops don't take any arguments, for those it is valid to be at the
end of the data block.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
322709393b5881f4fc2fe1a03a00434edd8a5ce4 16-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Print dwarf_errmsg if dwarf_onesrcline or dwarf_linesrc fails.

Don't just crash using the NULL result in print_decoded_line_section.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
acb506998874b9e9e29040b224ebed0a5e6d8ffc 16-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Correct overflow check for length in print_debug_aranges_section.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
ff1ce97525529bc4b68d0a48d0ae95a1f67f3779 16-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf,libdw: Correct .debug_line overflow check for unit_length.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
6a8a9e3d275f6eb053ee009ed8038bdffc8ad44b 15-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Warn, don't assert, if loclist or rangelist offset is too big.

We use a couple of bits to keep track of the addr size, dwarf size and
warning given for a loclist or rangelist offset. Normally offset won't
be that big and will fit in 61-bits easily. But if not, don't assert,
but just warn we don't handle such large offsets.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
198e9490dee64cb9eb5a41daa7bda9ff97d52d32 15-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Don't assert when addr_size or ref_size is not 4 or 8 in print_ops.

Just report invalid data and continue.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
2323b45d4ee0c4ff6604b60ee3fca5874c149e18 15-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Add more bounds checks to print_gdb_index_section.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
9c42b782ebf32e88d922733b6666ef4b026d760c 15-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Make sure there is enough room for reading .debug_line unit_length.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
b171ca4f135f6e4ec894e18aff4d507c1430f86a 15-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Check there is enough room for the DW_LNE_set_address argument

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
7a053473c7bedd22e3db39c444a4cd8f97eace25 14-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Add get_uleb128 and get_sleb128 bounds checking.

Both get_uleb128 and get_sleb128 now take an end pointer to prevent
reading too much data. Adjust all callers to provide the end pointer.

There are still two exceptions. "Raw" dwarf_getabbrevattr and
read_encoded_valued don't have a end pointer associated yet.
They will have to be provided in the future.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
ee5693b9dbc9836df7fd9ca9e988464f43a55312 11-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Check TType base offset and Action table are sane in exception table.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
cd33929347b975cbeb286e2e68cf7775703ab7b2 11-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Don't print more augmentation characters than there are.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
a0da75619a2e40866b2fdfafc55a14e05c431227 09-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Check count fits and doesn't overflow fptr in handle_file_note.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
990fbe5653b667083667fc6c870dac4e3cf13ee6 08-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: Report invalid data if action table doesn't follow call site table.

Don't assert.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
f0c5ef85bbea093af42c2b95a1f349ebef63de0d 07-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: maximum operations per instruction cannot be zero in .debug_line.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
96ddcad5b6a77c3ecb309cfe77558a01c1734c41 07-Dec-2014 Mark Wielaard <mjw@redhat.com> readelf: DW_OP_call_ref and DW_OP_GNU_implicit_pointer are invalid for CFA.

print_cfa_program might call print_ops with zero offset size. We don't
need (and don't know) the DWARF offset size in that case. DW_OP_call_ref
and DW_OP_GNU_implicit_pointer need to know the offset size because they
reference a DIE. But they are invalid when used from CFA.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
0ed4f98a89fd465c25eb8ac2ef75c10a82f9c5e0 30-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Fix overflow check in handle_sysv_hash64.

Since all values are 64bit, not 32bit as in other hashes, we need to
explicitly check for overflow.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
98755619213b99cf90f6ad0fb02e1d113b6a9102 28-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Don't trash destshdr for STT_SECTION in handle_relocs_rel[a].

We might need the original destshdr for handling other relocations.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
13a9fa3013acdc318ebd65f73a9192087a5a39ab 27-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Cast Dwarf_Word length to ptrdiff_t for comparison.

Avoids comparison between signed and unsigned integer expressions warning.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
020fc02c554226a914e9dd17394236eabe3f03d3 24-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf, libdw: Guard against divide by zero line_range in .debug_line.

For DW_LNS_const_add_pc and special opcodes don't accept line_range
being zero.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
4929606ee8c43154e7b1900d4ffb967f72147aaf 23-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Check length for nexthdr overflow in print_debug_aranges_section.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
9644aaff5f2872061b1a09afac3f2d0d4ad9a1c2 21-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: print_attributes (-A) robustify and handle non-gnu attributes.

print_attributes wasn't robust against empty or broken attribute sections.
It also only handled GNU attributes. But the arm backend contains some
none-GNU attributes. The difference is in how to handle the tag arguments.

Adds a new test run-readelf-A.sh for both gnu (ppc32) and non-gnu (arm)
attributes.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
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/src/readelf.c
d405f93d40810455a53eef92ade3ad3255f17cdb 18-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Fix sanity check of DW_FORM_block length in print_cfa_program

We were checking the reg nr, not the length of the block.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
3b3a19190ed40617b33abaeac6f2341233759815 17-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: When the version chain ends, stop processing the entries.

The version definition, auxiliary version, version dependency and needed
version sections chain information together through "next" fields. When
the "next" field is zero there are no more information entries. Stop
processing when we see zero instead of repeatedly processing the same
entry (at offset zero from the current one).

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
7df0da33f4789e264242a4cb8af30c0aefe6d6b4 17-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Warn if ptr_size is not 4 or 8 bytes.

Just warn and don't call print_cfa_program in that case. Bad things will
happen and the result is mostly bogus.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
436275edd015ab6a6f8e164ee2292f74f03d2413 17-Nov-2014 Mark Wielaard <mjw@redhat.com> libelf: Fix handling of (extended) phnum.

If there is no e_phoff e_phnum cannot be trusted. Extended phnum can only
be gotten if we have an actual section table and a shdr for section zero,
Extended phnum can be too large to fit in the file (or a size_t).

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
2af7b4942ad1e08d6e0609afec4edc82588f089e 16-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Robustify print_cfa_program.

Check block len before calling print_ops.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
d1b1163213dcbe36748b45a8944723a78ddda94e 14-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Sanity check CIE unit_length and augmentationlen in debug_frame.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
ad87d27664c982887ebbc88cf1a1fb431255d709 14-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Check def == NULL before use in handle_versym.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
d8b9682b1a5ff2746f172487eaf19ebd088bb7f4 08-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf.c (handle_versym): Initialize vername and filename array elements.

We check whether the elements are set before printing their contents,
but didn't make sure they were initialized.

Reported-by: Hanno Böck <hanno@hboeck.de>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
6b246e0620bdbaf8240f3bf391ec773eea3f7f48 07-Nov-2014 Mark Wielaard <mjw@redhat.com> readelf: Sanity check hash section contents before processing.

Reported by: Hanno Böck <hanno@hboeck.de>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
fbf1a44f0f2ccda6a3f725ebb8ae723e0e607d8b 14-Sep-2014 Petr Machata <pmachata@redhat.com> readelf: Fix typo in a check in handle_relocs_rela

- Testing shdr makes no sense, that pointer was dereferenced several
times throughout the section. destshdr on the other hand is not
tested at all.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/src/readelf.c
1498f541290f072ade0b783c298c358e9da74937 12-Sep-2014 Petr Machata <pmachata@redhat.com> Rename read_ubyte_unaligned_inc to read_addr_unaligned_inc

- The behavior of this function has been changed to read only
address-sized quantities, i.e. the size of 2 is no longer allowed.
(Size of 1 never was.) The two outstanding uses, both in readelf.c,
which actually do use this call to read address-sized units, were
updated, rejecting fields that indicate weird address sizes.

- The three related calls, read_sbyte_unaligned_inc,
read_ubyte_unaligned and read_sbyte_unaligned were dropped. There
are currently no uses for these calls.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/src/readelf.c
903f334ef06fbec28d23b7c8ea3c79cacc1da14f 27-May-2014 Mark Wielaard <mjw@redhat.com> readelf: Skip section if name is NULL in print_debug.

Don't crash and burn when a section doesn't have a name (possibly invalid
ELF file string table). Just try the next section instead of calling strcmp
on NULL.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
eb4811dee133864ebbab1a062ac14af1f3ffdc62 26-May-2014 Mark Wielaard <mjw@redhat.com> readelf: Don't print 'for section' when rela section sh_info is zero.

This matches how handle_relocs_rel already printed the header.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
df85bf99021119fcbb2ced66dd69f1cceafb180c 01-May-2014 Mark Wielaard <mjw@redhat.com> libdwfl: Move dwz alt multi file searching to find_debuginfo callback.

Don't hard code the Dwarf dwz alt multi file search but allow the user
to override it through the standard Dwfl_Callbacks. Also move ownership
completely to the user of dwarf_setalt by removing free_alt from Dwarf
and adding alt, fd and elf fields to Dwfl_Module. Add a relative .dwz
file test case.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
7c680a24bcc1757c2b01152dd52fdbd55e7846bb 22-Apr-2014 Mark Wielaard <mjw@redhat.com> readelf: handle_core_item make sure variable length array isn't zero size.

The printed array should have at least space for the terminating zero char.
Found by gcc -fsanitize=undefined while running run-readelf-vmcoreinfo.sh.
runtime error: variable length array bound evaluates to non-positive value 0

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
7c757b33fd6c975f1f0976eaa9e971432cc031b2 22-Apr-2014 Mark Wielaard <mjw@redhat.com> readelf.c (print_gdb_index_section): Use unsigned int for 31 bits left shift.

Found by gcc -fsanitize=undefined.
left shift of 1 by 31 places cannot be represented in type 'int'

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
f7cdc74ed34adc539186385342d99b357c3dbb6b 09-Apr-2014 Mark Wielaard <mjw@redhat.com> readelf: Read the decompressed data when processing .zdebug DWARF sections.

readelf uses libdw to open the Dwarf and read some of the DWARF data.
But it also uses its own parsers to display some of the low-level
unprocessed data. If the DWARF debug section was zlib compressed it
should actually use the decompressed section data from libdw instead
of the raw section data.

Includes a testcase for those sections that couldn't be properly
displayed when compressed before.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
110c273d35515ebcfba0c88ad70dbcd5548b0d3c 10-Apr-2014 Mark Wielaard <mjw@redhat.com> readelf: convert up to a target long in buf_read_ulong.

Add a i686 corefile test.

Reported-by: Markus Engel <m_engel@cs.uni-kl.de>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
b92075265572739b04ed1027a6764ff65750b108 05-Mar-2014 Mark Wielaard <mjw@redhat.com> readelf: Print DW_FORM_sdata values as signed numbers.

Printing DW_FORM_sdata numbers as unsigned values is misleading.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
cb7b2d64b6fdbbb6f18ce07294b2315f60d843bc 24-Feb-2014 Mark Wielaard <mjw@redhat.com> readelf: More sanity checks before trying to display interpreter string.

Check there is a SHT_PROGBITS section at the offset given by p_offsets for
a PT_INTERP segment before trying to display the interpreter string.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
43c9c2d0d8422cb584e3c97df5edde5d7be53173 07-Feb-2014 Mark Wielaard <mjw@redhat.com> readelf: Robustify print_phdr program interpreter printing.

Check phdr->p_filesz and make sure interpreter string is zero terminated
before calling printf.

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
7d5b301cc33252a24f287ce41a400b262bbad8d8 17-Jan-2014 Roland McGrath <roland@redhat.com> robustify: readelf.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
ced6687b6e41d008874e6f82209d0cecb79913fa 17-Jan-2014 Petr Machata <pmachata@redhat.com> robustify: Use gelf_fsize instead of relying on shdr->sh_entsize.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
04781c3e80412c7051b12dbdc58a642ab258cef0 14-Jan-2014 Mark Wielaard <mjw@redhat.com> readelf: print_debug_macro_section clear vendor array before use.

Not setting a vendor code before use would be invalid which we tried to
catch. But to detect that we do need to initialize the vendor array to
zero first.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
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/src/readelf.c
a47a096e2b8105326c5c58d1f50afcaefff968a0 14-Nov-2013 Petr Machata <pmachata@redhat.com> Support new 'h' core note item format for hidden fields

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/src/readelf.c
be86084bd77f5729138577291baad6b29fb44984 05-Nov-2013 Mark Wielaard <mjw@redhat.com> readelf: Solve comparison between signed and unsigned compiler warning.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
0c9ae0c5515c9da3d9e11396974b6a2f0ede2543 26-Sep-2013 Petr Machata <pmachata@redhat.com> Show contents NT_FILE core note in readelf

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/src/readelf.c
ab22410aed2732016c598c47102d47df659ede0c 26-Sep-2013 Petr Machata <pmachata@redhat.com> Show contents NT_SIGINFO core note in readelf

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/src/readelf.c
1ab6e78250293926e90bfe011ff7dc0d7bf311b7 09-Jul-2013 Mark Wielaard <mjw@redhat.com> readelf: print actual DIE offsets of DW_OP_GNU_<type> ops.

Like DW_OP_GNU_parameter_ref the DW_OP_GNU type conversion ops
DW_OP_GNU_const_type, DW_OP_GNU_regval_type, DW_OP_GNU_deref_type,
DW_OP_GNU_convert and DW_OP_GNU_reinterpret take a CU relative offset
to a DIE (in these cases a DW_TAG_base_type). So handle the DIE offsets
just like in the DW_OP_GNU_parameter_ref case by adding the cu->start
if known (and -U hasn't been given). For DW_OP_GNU_convert and
DW_OP_GNU_reinterpret handle zero specially since it means to "untype"
the result and so isn't an actual DIE reference.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
352302209525504ae4b5f3528be6516f5e1190c3 05-Jul-2013 Mark Wielaard <mjw@redhat.com> readelf: print actual DW_OP_GNU_parameter_ref DIE offset.

DW_OP_GNU_parameter_ref takes as argument a CU relative offset to
a DW_TAG_formal_parameter DIE. Printing just that relative offset
makes it hard to find the actual DIE in the output. Now print the
actual DIE offset instead (unless -U is given). We already passed
around the base address of the CU. Now we pass around the actual
CU so we can use it to find both the base address and the CU offset.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
63d8bfd36e8717e274be5cc3b472b87475f4cc12 06-May-2013 Mark Wielaard <mjw@redhat.com> readelf: Format first DW_OP_GNU_implicit_pointer argument as DIE offset.

Make the printing of DW_OP_GNU_implicit_pointer consistent with other
operations that have a DIE offset as argument.

Before:
[ 6e4a] formal_parameter
abstract_origin (ref4) [ 616a]
location (exprloc)
[ 0] GNU_implicit_pointer 0x6dbe, +0

After:
[ 6e4a] formal_parameter
abstract_origin (ref4) [ 616a]
location (exprloc)
[ 0] GNU_implicit_pointer [ 6dbe] +0

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
1a09420a120dc7b71574f433d9c4929a80873ce3 25-Mar-2013 Mark Wielaard <mjw@redhat.com> readelf: Add --debug-dump=decodedline support.

Use libdw to decode the .debug_line section and print address table view
when --debug-dump=decodedline is given.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
b79788c8dcef524ad207f5e961dc11c216e86ffc 25-Mar-2013 Mark Wielaard <mjw@redhat.com> readelf: Display raw .debug_aranges. Use libdw only for decodedaranges.

Display "raw" .debug_aranges by default. Only use libdw parsing when
--debug-dump=decodedaranges is given.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
a8c7f05cfd03a58821c3da68f3f577c882258674 25-Mar-2013 Mark Wielaard <mjw@redhat.com> readelf: When highpc is in constant form also print as address.

When highpc is in constant form it is relative to lowpc. In that case
also show as address.

Suggested-by: Jan Kratochvil <jan.kratochvil@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
10cd97eecabe080a7fc39965a2b98c2f024c0ab0 19-Mar-2013 Mark Wielaard <mjw@redhat.com> readelf: print_gdb_index_section fix memory leak.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
a73fecc109e400fd9f538bf25a73ccf9cdf1d598 18-Mar-2013 Mark Wielaard <mjw@redhat.com> readelf: Accept version 8 .gdb_index section format.

Version 8 just indicates that if the .gdb_index was generated by the gold
linker it correctly includes TUs for symbols. http://sourceware.org/PR15021

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
10186a18d347384a74303fad1284c609ce691080 24-Jan-2013 Mark Wielaard <mjw@redhat.com> readelf: Add -U, --unresolved-address-offsets output control.

format_dwarf_addr () takes an extra argument 'raw' that is displayed
when the user requests printing raw offsets values output for DWARF data.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
2425710bc1dffdc69ca1d82fe9d979d8005cefa6 18-Jan-2013 Mark Wielaard <mjw@redhat.com> readelf: Add base to offsets in format_dwarf_addr for debug_loc/ranges.

Collect the base address of the CU while creating the listptr_tables
and use them when printing debug ranges and location entries with
format_dwarf_addr ().

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
c44cce03fdeaf68f2728d448ee341dae9a334e27 10-Oct-2012 Jan Kratochvil <jan.kratochvil@redhat.com> src/
* readelf.c (handle_core_items): Limit special repeated items handling
to single-item formats '\n', 'b' and 'B', assert OFFSET 0 there.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/src/readelf.c
6d258ceb8dbf41e255397ed0db7d7635f398134c 16-Jan-2013 Mark Wielaard <mjw@redhat.com> readelf: Add --elf-section input option to inspect an embedded ELF file.

Some binaries might have (compressed) embedded ELF files inside a section.
The default section name for this is .gnu_debugdata. This normally
consists of just those sections needed to provide an auxiluary symbol
table. But can theoretically contain other (debug) sections. The new
--elf-section arguments makes it possible to easily inspect it as if it
is a normal ELF file. libdwfl takes care of automatically decompressing
any data in the section if necessary.

https://fedoraproject.org/wiki/Features/MiniDebugInfo

ELF input selection:
--elf-section[=SECTION] Use the named SECTION (default .gnu_debugdata)
as (compressed) ELF input data

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
00f758c2c1625a932456c17fd8c80fc904db3484 21-Dec-2012 Mark Wielaard <mjw@redhat.com> readelf: Adjust initial FDE address if pcrel before printing.

The FDE initial_location is printed as start address with format_dwarf_addr.
Which does the right thing for .debug_frame addresses, but in .eh_frame
this is encoded as DW_EH_PE_pcrel and so needs to be adjusted before
formatting.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
7e3bd4f5ee255c494853abe9e015d01b0c3baf63 16-Nov-2012 Mark Wielaard <mjw@redhat.com> readelf.c (print_ops): Ajust DW_OP_skip and DW_OP_bra targets calculation.

The 2-byte constant is the number of bytes of the DWARF expression to skip
forward or backward from the current operation, beginning after the 2-byte
constant.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
4bdbb6716d99a82ded1c56a93165a095c9f96404 10-Oct-2012 Jan Kratochvil <jan.kratochvil@redhat.com> src/
2012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>

* readelf.c (ITEM_WRAP_COLUMN, REGISTER_WRAP_COLUMN): Merge to ...
(WRAP_COLUMN): ... here.
(print_core_item): Remove parameter format_max. Update function
comment. Replace FORMAT_MAX by the real output width.
(handle_core_item): Remove the FORMAT_MAX values in TYPES, DO_TYPE,
calls of print_core_item, remove variable maxfmt, change
ITEM_WRAP_COLUMN to WRAP_COLUMN.
(handle_core_register): Remove the FORMAT_MAX values in TYPES, BITS,
calls of print_core_item, change REGISTER_WRAP_COLUMN to WRAP_COLUMN.

backends/
2012-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>

* linux-core-note.c (prstatus_items): Rename groups of sigpend and
sighold to signal2 and signal3.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/src/readelf.c
69a2852e1d5661bc042dcc90c16e9aa7777c7340 11-Oct-2012 Jan Kratochvil <jan.kratochvil@redhat.com> src/
2012-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>

* readelf.c (handle_core_item) <b>: Make run an outer block variable.
Increase run only if LASTBIT != 0. Print last element only if RUN > 0.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/src/readelf.c
70f5da6cd480615718665e18f6d55c6d1caab1d5 19-Sep-2012 Petr Machata <pmachata@redhat.com> In mixed core notes, don't let handle_core_item repeat.

If a core note contains both registers and items, descsz is 0 to express
that we don't wish to repeat the items. If there is only one item in
such note, a special block of code hits that passes &size to
handle_core_item, which will decrease that size by the amount consumed by
the item. But because size is 0, it underflows and wraps, and the loop
following this block, which handles the common case, overruns the core
note buffer.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/src/readelf.c
3e44006ae24843eff9b7248f3e250cf0fe41e7aa 27-Aug-2012 Mark Wielaard <mjw@redhat.com> readelf.c (print_debug_macro_section): Print offset as PRIx64.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
e89c500fbbd7a54912b06fce0729367b94b52a50 27-Aug-2012 Mark Wielaard <mjw@redhat.com> readelf.c (register_info): Handle loc == NULL.

register_info is called by print_cfa_program with loc being NULL.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
f31c4418be5bce6f0dd448cf07fc1092e5a7e1d2 17-Aug-2012 Mark Wielaard <mjw@redhat.com> Rewrite DWARF string functions using known-dwarf macros.

readelf and tests were using hard coded string tables to produce DWARF
string constants. Use the known-dwarf macros to redefine these and
reduce code. Technique comes from dwarf branch dwarfstrings.c.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
775375e3bd177cb19acb5020b6e0917551807276 22-Jun-2012 Mark Wielaard <mjw@redhat.com> libdw: Add support for DWZ multifile forms DW_FORM_GNU_ref_alt/strp_alt.

DWZ multifile forms http://www.dwarfstd.org/ShowIssue.php?issue=120604.1
DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt reference an alternative
debuginfo file. dwarf_begin and dwarf_begin_elf will try to use this
automatically. There are no user visible changes to the libdw interface.

dwarf_formref_die, dwarf_formstring and dwarf_formudata can now return
a Dwarf_Die which comes from a CU in the alternative Dwarf descriptor.

__libdw_read_offset was adjusted to take an alternative Dwarf descriptor
into account.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
836db608432ba50f76c0a63ec7bd05694341a1d4 01-Aug-2012 Petr Machata <pmachata@redhat.com> Fix formatting string in readelf

This caused failures of 32-bit builds.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/src/readelf.c
629b256d2a534ea48e17db16ca1cf7c51009a259 29-Jul-2012 Mark Wielaard <mjw@redhat.com> readelf: Use DW_LANG_ObjC and known[op].

Not all patches from the dwarfstrings branch were applied, causing compile
failures.
/external/elfutils/src/readelf.c
515fba93a55d04d21474d1454396067825f221ce 20-Jul-2012 Mark Wielaard <mjw@redhat.com> Add DW_OP_GNU_parameter_ref to dwarf.h and handle it in readelf.

DW_OP_GNU_parameter_ref takes as operand a 4 byte CU relative reference
to the abstract optimized away DW_TAG_formal_parameter.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
7b2aea5c8ef0f47e52c8597292cd8f76c7f17274 19-Jul-2012 Mark Wielaard <mjw@redhat.com> Merge branch 'debug_macro'
e9b2388ddc89bc2cc26c10e3db3f40202b08c577 29-Jun-2012 Mark Wielaard <mjw@redhat.com> readelf: Add .debug_macro parsing support.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
84a1e0b7396b29752f27486ec166b782a56852cb 29-Jun-2012 Mark Wielaard <mjw@redhat.com> readelf: Add .gdb_index version 7 support.

Add version 7 support. Keep track of cu_nr. Print kind and static/global
flag for each symbol. When a symbol is in the TU list add 'T'. Add
testfilegdbindex test files.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
a0172d75311f36adb6db58000474d31f8a9cd553 25-Jun-2012 Mark Wielaard <mjw@redhat.com> Add low-level support for .debug_macro.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
50e2d39a524a2e166e1f779b8dae7473a52be26e 22-Jun-2012 Mark Wielaard <mjw@redhat.com> readelf.c: Cast printf PRIu/x64 arguments to uint64_t for gcc 4.7 -Wformat.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/src/readelf.c
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/src/readelf.c
716486d5a15bdfb528c5d011dc623fa0f6fdc2af 24-Apr-2012 Mark Wielaard <mjw@redhat.com> readelf.c (print_ops): Add missing DW_OP_GNU operands.

DW_OP_GNU_push_tls_address, DW_OP_GNU_uinit and DW_OP_GNU_encoded_addr.
/external/elfutils/src/readelf.c
61651c110e4271cdea4ae153813898684bf9f0f8 28-Mar-2012 Mark Wielaard <mjw@redhat.com> readelf.c: Check debug section data before trying to print abbrev or str.

* readelf.c (print_debug_abbrev_section): Check there is Dwarf
section data.
(print_debug_str_section): Likewise.
/external/elfutils/src/readelf.c
30bb714e7446d35d15cd53b3c794dd8ac08d0a29 21-Mar-2012 Mark Wielaard <mjw@redhat.com> readelf.c (print_gdb_index_section): Accept version 6.

No changes in the format. Version 6 contains symbols for inlined
functions, older versions didn't.
/external/elfutils/src/readelf.c
cb643d6731f3b0131e34e055272c694bd0bf97ed 31-Jan-2012 Mark Wielaard <mjw@redhat.com> Handle DW_FORM_sec_offset in dwarf_formudata.
/external/elfutils/src/readelf.c
3a64a3087f53ab860c7de04da0e53dabef459520 22-Jan-2012 Ulrich Drepper <drepper@gmail.com> Update copyright year
/external/elfutils/src/readelf.c
a065c4b6e743968751c74f3100fc1c6af89db483 20-Dec-2011 Roland McGrath <roland@hack.frob.com> Fix .eh_frame decoding in the absence of any DWARF.
/external/elfutils/src/readelf.c
8d1e297a883c35eae53914a1739fdf0bfb590a6e 04-Oct-2011 Marek Polacek <mpolacek@redhat.com> readelf.c: Assume the right size of an array
/external/elfutils/src/readelf.c
bd75419d3ad5950e17b14cb713d98bade721e800 09-Jul-2011 Roland McGrath <roland@hack.frob.com> readelf: Grok -W/--wide for binutils compatibility.
/external/elfutils/src/readelf.c
0312424b6f374dac5c72b86791745d80b38049fb 17-May-2011 Jakub Jelinek <jakub@redhat.com> Add DW_OP_GNU_const_type/regval_type/deref_type/convert/reinterpret.
/external/elfutils/src/readelf.c
69a9b11d3e553f1217ed65a14540ff4ff16bb6ab 17-May-2011 Mark Wielaard <mjw@redhat.com> dwarf_tag_string fixup GNU_call_site and GNU_call_site_parameter strings.
/external/elfutils/src/readelf.c
bcdb09dcb97d00a1718507f64302f57f92558af0 03-May-2011 Mark Wielaard <mjw@redhat.com> Merge branch 'mjw/sdt'
093a1d3cde3995649436919b27fc92c91eeddfbf 14-Apr-2011 Mark Wielaard <mjw@redhat.com> Add printing of .gdb_index section to readelf.
/external/elfutils/src/readelf.c
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/src/readelf.c
1879e5b96d43e0344b3a5f7304ca817b00dc4f79 25-Mar-2011 Petr Machata <pmachata@redhat.com> Improve output of readelf -wline
/external/elfutils/src/readelf.c
1c2a1987367f9198efedf0f1985e1f4330746b6b 25-Mar-2011 Marek Polacek <mpolacek@redhat.com> Merge branch 'mpolacek/readelf-pltrel-case'
e3368c58342aa11d833f8657950aca5501483826 22-Mar-2011 Mark Wielaard <mjw@redhat.com> Add support for call_site and entry_value to dwarf.h and readelf.

New tags DW_TAG_GNU_call_site and DW_TAG_GNU_call_site_parameter.
New attributes DW_AT_GNU_call_site_value,
DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites,
and DW_AT_GNU_all_source_call_sites.
New operation DW_OP_GNU_entry_value.
/external/elfutils/src/readelf.c
44de92ae072a33a84687093cde2bcb277538c424 22-Mar-2011 Marek Polacek <mpolacek@redhat.com> Don't segfault at DT_PLTREL case.
/external/elfutils/src/readelf.c
fec3999dc82e340bdcb41aefca2793f0b10cb825 27-Feb-2011 Jan Kratochvil <jan.kratochvil@redhat.com> Fix readelf --debug-dump=loc crash on multiple input files.
/external/elfutils/src/readelf.c
cf454ab68981584c50ad28133c7065344f06db80 25-Feb-2011 Mark Wielaard <mjw@redhat.com> Merge over readelf dwarf string additions from dwarf branch dwarfstrings.

* readelf.c (dwarf_attr_string): Add DW_AT_GNU_* handling.
(dwarf_form_string): Properly format and return unknown form.
/external/elfutils/src/readelf.c
725aad5d2f8b78ed21a5e253fb38f9722c2c8b2d 24-Feb-2011 Roland McGrath <roland@redhat.com> Support reading .zdebug_* DWARF sections compressed via zlib.
/external/elfutils/src/readelf.c
47c5323527dcc954d2d60e9ee87211597aabd101 23-Feb-2011 Roland McGrath <roland@redhat.com> Handle DW_AT_GNU_odr_signature in readelf.
/external/elfutils/src/readelf.c
a4e6b968146b9b2e9879dc4bc0c1f0510f3abf40 10-Sep-2010 Roland McGrath <roland@redhat.com> Merge branch 'roland/implicit-ptr'
fa1449555dd648a3a22f2dc59a3c856b126e3940 31-Aug-2010 Roland McGrath <roland@redhat.com> readelf: Print .debug_loc/.debug_ranges with cognizance of actual DIE pointers into them.
/external/elfutils/src/readelf.c
932585d2385c9d4e5686e4ddc9ba30c68172d7f3 08-May-2010 Roland McGrath <roland@redhat.com> Handle DW_OP_GNU_implicit_pointer.
/external/elfutils/src/readelf.c
a159915a87d83951acb9e504b9cefc08ba98b8bd 30-Aug-2010 Roland McGrath <roland@redhat.com> readelf: Fix crash in .debug_loc with garbage data.
/external/elfutils/src/readelf.c
f4763cf246af5d001ae0690c7c0f0acaca78fc0c 11-Aug-2010 Roland McGrath <roland@redhat.com> readelf: For -x/-p, print all sections with matching name, not just one.
/external/elfutils/src/readelf.c
52604ba46f0360dcb1d1f769c4a3b66befdc7a16 27-Jul-2010 Roland McGrath <roland@redhat.com> readelf: Fix DW_OP_call_ref printing for version 2 CUs.
/external/elfutils/src/readelf.c
2f14a31a55bb61eaf7fea106b0c37ef83ad718d9 02-Jul-2010 Roland McGrath <roland@redhat.com> readelf: Use symbolic printing for FDE initial_location address.
/external/elfutils/src/readelf.c
fa79990a9c47703f159f11fd4d836b1bce1e4473 22-Jun-2010 Roland McGrath <roland@redhat.com> readelf: Fix braino in DW_LNS_set_isa parsing.
/external/elfutils/src/readelf.c
474cb48063bd86483f8a399605d3c7516aca6bcb 22-Jun-2010 Roland McGrath <roland@redhat.com> Add some missing DWARF constants and readelf support for them.
/external/elfutils/src/readelf.c
0c5638c2ac488a4a49f76ddb074e87bdebe90288 22-Jun-2010 Roland McGrath <roland@redhat.com> Fix readelf for large SLEB128 values.
/external/elfutils/src/readelf.c
2b1f09548b66c2c75d5be6f13cd9374adc95f8d8 21-Jun-2010 Roland McGrath <roland@redhat.com> Finish .debug_types support in libdw and readelf.
/external/elfutils/src/readelf.c
599f7f5e6b9c53076253dfbb5c32b479a0a38bc8 21-Jun-2010 Roland McGrath <roland@redhat.com> readelf: Handle v4 .debug_frame format.
/external/elfutils/src/readelf.c
e5251a178a3b82858f86a783b7acd29db1aed867 21-Jun-2010 Roland McGrath <roland@redhat.com> readelf: Handle v4 .debug_line format.
/external/elfutils/src/readelf.c
c8a0673fff4c77a7067ca9a43aefac4bd8d3d1ff 02-Jun-2010 Roland McGrath <roland@redhat.com> readelf: Handle DW_FORK_ref_sig8.
/external/elfutils/src/readelf.c
7fac1ce75275f8b48ce2ede108c1a645bf77f7cc 02-Jun-2010 Roland McGrath <roland@redhat.com> More DWARF 4 handling, some in readelf.
/external/elfutils/src/readelf.c
7a5bed8919f2a1dace847a33a78dbbb86a8e7eb9 01-Jun-2010 Roland McGrath <roland@redhat.com> readelf: Print .eh_frame even with no other DWARF.
/external/elfutils/src/readelf.c
173ade8794ff3e569738202b20346b15b3f1df2a 28-May-2010 Ulrich Drepper <drepper@redhat.com> More details attribute output.

When readelf prints attribute information it should not only
print the value of the attribute but also its form. This
information cannot be deduced from the current output.
/external/elfutils/src/readelf.c
688f7fcdb395cefef6a098b5ac9ddd167bb5fc3d 08-May-2010 Roland McGrath <roland@redhat.com> Fix DW_OP_call_ref operand handling.
/external/elfutils/src/readelf.c
62b28b63dc2495f3ce360ef2abd8112414cbe95c 14-Apr-2010 Roland McGrath <roland@redhat.com> Fix readelf core note bitmask printing.
/external/elfutils/src/readelf.c
3b495d8e963eead963a37b5be5b063c96bb58c63 06-Apr-2010 Roland McGrath <roland@redhat.com> Fix some message typos and xgettext markers.
/external/elfutils/src/readelf.c
890081b3c0c44bf2af57317c497d11d70f6fc981 27-Feb-2010 Roland McGrath <roland@redhat.com> readelf: Fix fd leak on bad input files.
/external/elfutils/src/readelf.c
c2b26f15b23b3b360c9db83bca444d7c0afc9e94 16-Feb-2010 Roland McGrath <roland@redhat.com> Fix compiler warning nit in readelf.
/external/elfutils/src/readelf.c
f920fd55dec598ec31f0c22ee926f3e7dfd95556 03-Feb-2010 Roland McGrath <roland@redhat.com> readelf: Fix CFI decoding for DW_EH_PE_absptr.
/external/elfutils/src/readelf.c
b337b1fd5f3b3410fe522a690ccee70bce8519ee 15-Jan-2010 Roland McGrath <roland@redhat.com> Fix sloppy #include use, breaks with latest glibc.
/external/elfutils/src/readelf.c
8111da06cc8f0745bb521f8b28d06f96f0a5a887 08-Jan-2010 Roland McGrath <roland@redhat.com> Handle extended phnum in readelf.
/external/elfutils/src/readelf.c
019d9fbc34f2de0f9e9f9349054d1be6d3957266 05-Jan-2010 Roland McGrath <roland@redhat.com> Add DWARF attributes DW_AT_GNU_vector and DW_AT_GNU_template_name.
/external/elfutils/src/readelf.c
0ccbbcd1244336d38f51648620b32b193d591cbb 05-Jan-2010 Roland McGrath <roland@redhat.com> Make readelf -n check note name strings, handle "VMCOREINFO" flavor.
/external/elfutils/src/readelf.c
2e79deb2cb049f3b0f3f45680dfe956cf99b25d8 05-Jan-2010 Roland McGrath <roland@redhat.com> readelf: No complaints for missing DWARF under just -a.
/external/elfutils/src/readelf.c
a7422be8221f4600505dc7e9aebad6ce577f0081 05-Jan-2010 Roland McGrath <roland@redhat.com> readelf: Correct --help output for -a.
/external/elfutils/src/readelf.c
e4061d064e300d2f94c2d528f4dff6e85290ba51 05-Jan-2010 Roland McGrath <roland@redhat.com> readelf: No complaints for missing named sections implicit in -a.
/external/elfutils/src/readelf.c
efa649694df3dcdb6adf98e15f1e12e116b10063 16-Nov-2009 Roland McGrath <roland@redhat.com> Make readelf -x/-a handle SHT_NOBITS gracefully as -p already does.
/external/elfutils/src/readelf.c
671d6d869dac0193b5cf349653b10390c26717b6 24-Aug-2009 Roland McGrath <roland@redhat.com> Revert accidental commits.
/external/elfutils/src/readelf.c
2d13ea2af88692700347109ffd6431d76218c2d1 21-Aug-2009 Roland McGrath <roland@redhat.com> Don't print raw block contents for locations we decode and print.
/external/elfutils/src/readelf.c
be4589d94fec9907f390018a886c34b9ad8bf4ea 25-Jul-2009 Roland McGrath <roland@redhat.com> Make readelf dump all block forms in hex.
/external/elfutils/src/readelf.c
daf85b25f2a7fa9fde54f1104761209381959160 25-Jul-2009 Mark Wielaard <mjw@redhat.com> Handle DW_OP_implicit_value in readelf.
/external/elfutils/src/readelf.c
95d10e4cbb66d2df883ae0ef98ddbc8f10696621 08-Jul-2009 Roland McGrath <roland@redhat.com> Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
f7a6f037a3c67ebd2d970146d8e04d2c15b106ad 08-Jul-2009 Roland McGrath <roland@redhat.com> Fatfingers fix for commit dffc33d.
/external/elfutils/src/readelf.c
f735db16b52665f2324eff101f0e5cad861bfea2 08-Jul-2009 Mark Wielaard <mjw@redhat.com> Handle DW_Form constants for DW_AT_data_member_location in readelf.
/external/elfutils/src/readelf.c
46d5827cc232c689853b50181b17751aa7574128 07-Jul-2009 Roland McGrath <roland@redhat.com> Fix last change.
/external/elfutils/src/readelf.c
dffc33ddb5133bc477ea6c0521cfe1dc894f8e81 07-Jul-2009 Roland McGrath <roland@redhat.com> Handle unknown register numbers gracefully in readelf -n core reading.
/external/elfutils/src/readelf.c
5dbccdbeba148960ff97a96088894ec46add70c6 28-Jun-2009 Roland McGrath <roland@redhat.com> readelf: Add -N option, speeds up DWARF printing without address->name lookups.
/external/elfutils/src/readelf.c
f189493154d0041deced00e6a99cc5426dc9d260 14-Jun-2009 Ulrich Drepper <drepper@redhat.com> Add aliases for elf_getshnum and elf_getshstrndx.

Sun in their implementation messed up the semantics of these functions.
To get back to source code compatibility they asked for a solution.
We simply add aliases for the two affected functions, named
elf_getshdrnum and elf_getshdrstrndx. The semantics remains the
same. Users of the old interfaces receive a warning for now. In
future we might make it impossible to link programs which request
the old interfaces (binary compatibility will of course be maintained).
/external/elfutils/src/readelf.c
b47d290a36509e26e145f6d3eb2e6590ec6c554d 01-Jun-2009 Ulrich Drepper <drepper@redhat.com> Add support for IRELATIVE relocations.

That's the second part of the IFUNC support. So far x86 and x86-64
only.
/external/elfutils/src/readelf.c
2fb9051edd6addafe902669ba0bd47f3921a31d1 15-Apr-2009 Roland McGrath <roland@redhat.com> Fix 32/64 CIE header format CIE_id matching.
/external/elfutils/src/readelf.c
eb9ba470ff1f65a85f47cd6c325acf836abd2af8 15-Apr-2009 Roland McGrath <roland@redhat.com> Nominal ARM support.
/external/elfutils/src/readelf.c
94f438311f24a11c17ab4d9ed73c6fdc9b059e3e 14-Apr-2009 Roland McGrath <roland@redhat.com> Fix error message.
/external/elfutils/src/readelf.c
973a9c7c91b8bb0ace3f896d3b543dfa5466f27f 06-Feb-2009 Ulrich Drepper <drepper@redhat.com> Also fix output for DW_CFA_val_expression.
/external/elfutils/src/readelf.c
82937be6d48e87dce5bf700afb5a6c492972d3b0 06-Feb-2009 Ulrich Drepper <drepper@redhat.com> Remove commented-out call in readelf.
/external/elfutils/src/readelf.c
b3490b55d1673cf3a43f93c59c3d558f74edb3a3 06-Feb-2009 Ulrich Drepper <drepper@redhat.com> Fix DW_CFA_expression output in readelf.
/external/elfutils/src/readelf.c
8cbc8e61a6835262ab6f1a1be316956351ed089f 06-Feb-2009 Ulrich Drepper <drepper@redhat.com> Yet more label fixes in readelf output of debug_info.
/external/elfutils/src/readelf.c
04af01862b5bcee6e0355913143f032efc016331 06-Feb-2009 Ulrich Drepper <drepper@redhat.com> Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils

Conflicts:
TODO
src/ChangeLog
411cdb2ecc2acc797816dd7de210bfe89a5a55c4 06-Feb-2009 Ulrich Drepper <drepper@redhat.com> Minor output problems in readelf debug_info section printing fixed.
/external/elfutils/src/readelf.c
5ee720c60a298352b52513d03ede85814ab63ad5 02-Feb-2009 Ulrich Drepper <drepper@redhat.com> Fix error handling in a few programs.
/external/elfutils/src/readelf.c
51f01285dca04c78350d75bb62bba1350a05e252 28-Jan-2009 Roland McGrath <roland@redhat.com> readelf .debug_loc robustness fixes.
/external/elfutils/src/readelf.c
62c465323070bd837df170fc8a6bc02b8e31799b 25-Jan-2009 Ulrich Drepper <drepper@redhat.com> Fix compuation of base address for printing stack frame program.
/external/elfutils/src/readelf.c
d7285e190a2d84b4120f5230320124bfa517e1c7 24-Jan-2009 Ulrich Drepper <drepper@redhat.com> Print .strtab, .dynstr, and .comment for -a option of readelf.
/external/elfutils/src/readelf.c
9a847e148b6aa52aae172b9bbf354ae89df8e0d3 23-Jan-2009 Roland McGrath <roland@redhat.com> readelf -l: Don't print section mapping when no sections.
/external/elfutils/src/readelf.c
cabeeee10b5e41adeb300cc5084aad33a4df4bf9 22-Jan-2009 Roland McGrath <roland@redhat.com> Tiny build nits.
/external/elfutils/src/readelf.c
e9de9b493a68831b6361fc7d019bb401d5a11215 22-Jan-2009 Roland McGrath <roland@redhat.com> Use t instead of j formats for ptrdiff_t
/external/elfutils/src/readelf.c
935eddef3db5cc2fdc317fa943f93502281d3a42 18-Jan-2009 Ulrich Drepper <drepper@redhat.com> More improveents to exception handling table printing and checking.
/external/elfutils/src/readelf.c
fdc93e12a77866cafd1aae4463d89cef2c01d9b1 17-Jan-2009 Ulrich Drepper <drepper@myware66.akkadia.org> Move argp_program_version_hook and argp_program_bug_address variables
in all programs into the .rodata section.
/external/elfutils/src/readelf.c
05d2b20ec250a51de74066a203b516f11bc30d89 17-Jan-2009 Ulrich Drepper <drepper@redhat.com> Finish implementation of exception handling table dumping in readelf.
/external/elfutils/src/readelf.c
bc29897d53faa06c1b3b526a3be63ea6a4526dc8 16-Jan-2009 Ulrich Drepper <drepper@redhat.com> Some more changes to call frame info dumping in readelf.
/external/elfutils/src/readelf.c
b006fbf907657e3b44f34e2bf00083b5f00adb3d 16-Jan-2009 Ulrich Drepper <drepper@redhat.com> Bug fixes for .eh_frame_hdr dumping in readelf.
Add new option -e in readelf.
Start implementation of .gcc_except_table dumping in readelf.
/external/elfutils/src/readelf.c
351bf207422a09470cd42a22cc24de4691ee368d 16-Jan-2009 Ulrich Drepper <drepper@redhat.com> Fix minor problems in call frame info dumper in reader.

Add dumping of .eh_frame_hdr section content.
/external/elfutils/src/readelf.c
ac194d052517be32d1e3dab62782d5f734994dca 06-Jan-2009 Ulrich Drepper <drepper@redhat.com> Implement call frame information dumping.
/external/elfutils/src/readelf.c
44173edad1dfd24c4d98fcf032308f7df28db652 02-Jan-2009 Ulrich Drepper <drepper@redhat.com> Unpdate copyright in messages.
/external/elfutils/src/readelf.c
a845f68bf43f90e0670ed6b33154f2aff98ad46b 03-Dec-2008 Roland McGrath <roland@redhat.com> 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.
/external/elfutils/src/readelf.c
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/src/readelf.c
47c5c35de6bc548dff7577e3dae38d183b719232 29-Feb-2008 Roland McGrath <roland@redhat.com> src/
2008-02-29 Roland McGrath <roland@redhat.com>

* readelf.c (print_attributes): Add a cast.
* elflint.c (check_attributes): Likewise.

* unaligned.h (add_8ubyte_unaligned): Cast PTR argument for parity
with [UNALIGNED_ACCESS_CLASS == BYTE_ORDER] definition.
(add_4ubyte_unaligned, add_2ubyte_unaligned): Likewise.
/external/elfutils/src/readelf.c
059c83e5db89955913a39fe6705acca571c32c3f 21-Feb-2008 Roland McGrath <roland@redhat.com> Finish elflint .gnu.attributes checking
/external/elfutils/src/readelf.c
c911d5c907edcaf80792be1abac0262439fd9082 22-Jan-2008 Ulrich Drepper <drepper@redhat.com> merge of '33d6cda327b8cb82fe8be29c24addb2bdf40acff'
and '4f7c8e6f95ff49761dd62bf932f09597f5838ab8'
/external/elfutils/src/readelf.c
a9f3660eb17167f57ab308ec54a4e8d4c902858a 21-Jan-2008 Ulrich Drepper <drepper@redhat.com> Update copyright year.
/external/elfutils/src/readelf.c
c58110d291bbd39e416d322076dc58bddf56bcf0 22-Jan-2008 Roland McGrath <roland@redhat.com> explicit merge of 'f9dc98cac1b8ccd38e7420c43dfe7551e2923aaa'
and '90e87946af64cdaa0fc75d344ca35ee2729e655d'
/external/elfutils/src/readelf.c
fbc708da81a35ca8e01f1aca7bd356da718d3c62 21-Jan-2008 Ulrich Drepper <drepper@redhat.com> Revert last change to readelf.
/external/elfutils/src/readelf.c
d9488292be8c78615163eb4733e105143cb7b7ba 20-Jan-2008 Ulrich Drepper <drepper@redhat.com> merge of '1d8389d494f774b4ccf384252ddac47cc2809542'
and 'f4a5bcbfbb71389b11bac53c8ec50011dc7e4c3c'
/external/elfutils/src/readelf.c
580e6b85aaf8e09bddcaa1162d74b3b6ceef8a52 18-Jan-2008 Roland McGrath <roland@redhat.com> merge of 'aee0b12a9696567adc81ce0bab9a764f6d109392'
and 'f3933ac5f5de522fcd38d0960f642fec00b553fa'
/external/elfutils/src/readelf.c
c182f90bd79ac9954a17aaa7792aac3e8103851d 20-Jan-2008 Ulrich Drepper <drepper@redhat.com> Fix memory leak in readelf.

Fix static linking in ld up a bit. Still not complete.
/external/elfutils/src/readelf.c
35f08c4d52d0ffd9f8aa50f47b84de5603842b1f 18-Jan-2008 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.nickc.pending' (head 28d6423325f0cc14a133eb6b92a8c3604e437ba6)
to branch 'com.redhat.elfutils' (head 6ef48518ed8497626058574c787852bd939d46ee)
/external/elfutils/src/readelf.c
3cbdd387c752999255aea91600b5cfdefbeac7d0 02-Jan-2008 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.disasm' (head d15b4eb794e81e477f9896fe82a74cb5ecf4514c)
to branch 'com.redhat.elfutils' (head eaacbf01f8cc89d043ec6eca9b5e35cb5c4cde06)
/external/elfutils/src/readelf.c
ad024afc93dcd0f4797b3e80bfb6b80c34da5c12 02-Jan-2008 Ulrich Drepper <drepper@redhat.com> Update copyright year.
/external/elfutils/src/readelf.c
1a2e8f4f5bd2ca2aaed78d1cea3842eff2fa5295 16-Dec-2007 Roland McGrath <roland@redhat.com> backends/
2007-12-15 Roland McGrath <roland@redhat.com>

* ppc_regs.c (ppc_register_info): Return "spefscr", not "spr512".

tests/
2007-12-15 Roland McGrath <roland@redhat.com>

* run-allregs.sh: Change expected output for powerpc spefscr.
/external/elfutils/src/readelf.c
07a696ef21bb513992093221be11b312443c62f9 09-Nov-2007 Roland McGrath <roland@redhat.com> 2007-11-09 Roland McGrath <roland@redhat.com>

* readelf.c (attr_callback): Handle DW_AT_data_location.
/external/elfutils/src/readelf.c
e4c22ea004c02a58f5db5eb53794275344c17958 23-Oct-2007 Roland McGrath <roland@redhat.com> 2007-10-23 Roland McGrath <roland@redhat.com>

* linux-kernel-modules.c (report_kernel_archive): Reorder the kernel
module to appear first.
/external/elfutils/src/readelf.c
b597dfad924980dede10d7c19d87900b6172e599 16-Oct-2007 Ulrich Drepper <drepper@redhat.com> merge of '92c36bfdbc6468d1711c043b530e0dfe5abb6dec'
and 'c22c8c43f8f68b0bffd4d5ccdb2282c958268742'
/external/elfutils/src/readelf.c
3fc3d7bd6bd8485404a936f7354e781dc2be6a5a 04-Oct-2007 Ulrich Drepper <drepper@redhat.com> Build fixes for uninitialized variables.
Add some branch prediction.
/external/elfutils/src/readelf.c
59ea7f33f781e6e3f8c9d81d457e5d99eee8f1ce 04-Oct-2007 Roland McGrath <roland@redhat.com> src/
2007-10-04 Roland McGrath <roland@redhat.com>

* readelf.c (print_archive_index): New variable.
(options, parse_opt): Accept -c/--archive-index to set it.
(dump_archive_index): New function.
(process_file): Take new arg WILL_PRINT_ARCHIVE_INDEX.
Call dump_archive_index on archives if set.
(main): Update caller.
(any_control_option): Give it file scope, moved out of ...
(parse_opt): ... here.

tests/
2007-10-04 Roland McGrath <roland@redhat.com>

* run-readelf-test4.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
/external/elfutils/src/readelf.c
ac0a16c1d47f8d47fd9db876cf99303ba05f7409 01-Oct-2007 Roland McGrath <roland@redhat.com> 2007-10-01 Roland McGrath <roland@redhat.com>

* readelf.c (hex_dump): Fix transposed subtraction generating spaces.
/external/elfutils/src/readelf.c
241ac029bb22a0bb88171085be19d6952fabdd5a 01-Oct-2007 Roland McGrath <roland@redhat.com> 2007-10-01 Roland McGrath <roland@redhat.com>

* readelf.c (hex_dump): Fix line header to be hex instead of decimal.
/external/elfutils/src/readelf.c
c76f0b05676f6207affbfd85e75063db3b6eeccf 27-Sep-2007 Roland McGrath <roland@redhat.com> 2007-09-27 Roland McGrath <roland@redhat.com>

* alpha_retval.c: Use dwarf_attr_integrate and dwarf_hasattr_integrate.
* i386_retval.c: Likewise.
* ia64_retval.c: Likewise.
* ppc64_retval.c: Likewise.
* ppc_retval.c: Likewise.
* s390_retval.c: Likewise.
* sparc_retval.c: Likewise.
* x86_64_retval.c: Likewise.
/external/elfutils/src/readelf.c
cb6d865011ad98a8ac2018f072f396a2268739ca 23-Aug-2007 Roland McGrath <roland@redhat.com> readelf register printing sort order tweak
/external/elfutils/src/readelf.c
c98bcc796529b7ec56f369c743748d9ff32abf61 04-Aug-2007 Ulrich Drepper <drepper@redhat.com> Minimal cleanups of large merge.
/external/elfutils/src/readelf.c
60fc84c4288cd6edda3a78dff95e52b5858bacb2 03-Aug-2007 Roland McGrath <roland@redhat.com> 2007-08-03 Roland McGrath <roland@redhat.com>

* readelf.c (print_string_sections): New variable.
(options, parse_opt): Handle --strings/-p to set it.
(print_strings): New function.
(process_elf_file): Call it under -p.

* readelf.c (options): Add hidden aliases --segments, --sections,
as taken by binutils readelf.
/external/elfutils/src/readelf.c
b0243863149acde9e42b25688c7c2959830e69a9 06-Jun-2007 Ulrich Drepper <drepper@redhat.com> Prepare for 0.128 release.

Minor fixes.

Update gettext files to 0.16.1.
/external/elfutils/src/readelf.c
8b383101ca9c958e27175a0b77b6c227c08386eb 16-Feb-2007 Ulrich Drepper <drepper@redhat.com> small cleanups.
/external/elfutils/src/readelf.c
903c1162c0c2afd0d962f6b481edfec0e0209b83 15-Feb-2007 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head e723b1541850630f0047cf0c73d64c909529f439)
to branch 'com.redhat.elfutils' (head 4e5f7cffa97269b8cc9232cd1e299a2e1f3a819c)
/external/elfutils/src/readelf.c
b770cf9d1045bde04a1d89c63f4d7eb261ff78da 10-Jan-2007 Ulrich Drepper <drepper@redhat.com> Update copyright year.
/external/elfutils/src/readelf.c
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/src/readelf.c
4ec807ec38ea145b15e2d8d996e05d852c7e7fde 13-Jul-2006 Roland McGrath <roland@redhat.com> 2006-07-12 Roland McGrath <roland@redhat.com>

* readelf.c (handle_gnu_hash): Add casts for machines where
Elf32_Word != unsigned int.
/external/elfutils/src/readelf.c
8ae5814209558f51c93b583c9ae6fdd482f0cbb2 12-Jul-2006 Ulrich Drepper <drepper@redhat.com> Adjust for final version of GNU-style hash table format.
/external/elfutils/src/readelf.c
28ed895fdc303b2a793506bb1fcdd35d5fd14e70 07-Jul-2006 Ulrich Drepper <drepper@redhat.com> merge of 2d5572f10b65f0ac7fdf54361b4dae41ebbd51d0
and fda3a25581b7bfac581504e9e887e9b97f234f86
/external/elfutils/src/readelf.c
ee4b927bae351b21787355e00a3d28371bf78e8f 15-Jun-2006 Ulrich Drepper <drepper@redhat.com> New spec file.
/external/elfutils/src/readelf.c
1b0714c81de473ad3a5ca88bd1c593d93a6ebcdd 07-Jul-2006 Ulrich Drepper <drepper@redhat.com> Updated support for new hash table format.

Fix handling of discarded COMDAT symbols in ld.
/external/elfutils/src/readelf.c
4ba68f475d305b11e55c83994bad4824dad156d3 05-Jul-2006 Ulrich Drepper <drepper@redhat.com> Linker work.
GNU hash support.
64-bit SysV hash support.
/external/elfutils/src/readelf.c
41a990833dff9d573caefe17d00b5a0509db3fa4 28-May-2006 Ulrich Drepper <drepper@redhat.com> readelf: Clarify ELF header output.
/external/elfutils/src/readelf.c
2cb8e73a5695c462af4a4d34c757d9a95345e8fd 27-May-2006 Ulrich Drepper <drepper@redhat.com> readelf: Better notation for addon in relocations.
/external/elfutils/src/readelf.c
1e9ef50681e20ef14c2ba38aef37a71ff148be08 05-Apr-2006 Ulrich Drepper <drepper@redhat.com> Fix FSF address. No exception for libdwarf.
/external/elfutils/src/readelf.c
82c345d92531e2577f16928efe62c14d19d5fc47 05-Apr-2006 Ulrich Drepper <drepper@redhat.com> Prepare for 0.120 release.
/external/elfutils/src/readelf.c
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/src/readelf.c
060fa05452f821a1c2e15b6a9ad1a4427e3fdd64 02-Mar-2006 Roland McGrath <roland@redhat.com> src/
2006-03-01 Roland McGrath <roland@redhat.com>

* readelf.c (dwarf_tag_string, dwarf_attr_string): Update name tables
for dwarf.h changes matching 3.0 spec.
(dwarf_encoding_string, dwarf_lang_string, print_ops): Likewise.


tests/
2006-03-01 Roland McGrath <roland@redhat.com>

* show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
changes matching 3.0 spec.
/external/elfutils/src/readelf.c
d0449526a43807acf72cb5c9d5c1320290b9b914 03-Sep-2005 Ulrich Drepper <drepper@redhat.com> Cleanups and little optimization.
/external/elfutils/src/readelf.c
6d5c3bdf1b37ddb328604d0d5894d7aa70402366 11-Aug-2005 Ulrich Drepper <drepper@redhat.com> Correct fallout of renaming of DW_LNS_set_epilog_begin.
/external/elfutils/src/readelf.c
dbace2389b6f89cd4f8f2713aac50a16b16964a2 06-Aug-2005 Ulrich Drepper <drepper@redhat.com> Many improvements in elflint, mostly symbol versioning related.

Cosmetic changes in readelf.
/external/elfutils/src/readelf.c
b08d5a8fb42f4586d756068065186b5af7e48dad 26-Jul-2005 Ulrich Drepper <drepper@redhat.com> Adjust for monotone.
/external/elfutils/src/readelf.c