History log of /external/elfutils/tests/Makefile.am
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
344ca0775da729e1bfdd61bb88ba4c64befece07 13-Jan-2016 Mark Wielaard <mjw@redhat.com> libelf: Add ELF compression types and defines to libelf.h for older glibc.

Older glibc elf.h might not define the new ELF compression defines and
types. If not just define them in libelf.h directly to make the libelf
headers work on older glibc systems.

Also include a testcase to check the libelf headers build against the
system elf.h.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810885

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
dd131168e2abf2f0fc872829e1101366395cc390 08-Jan-2016 Mark Wielaard <mjw@redhat.com> Simplify code and build now that zlib support is no longer optional.

Now that we always require zlib support we don't need to conditionally
build or compile code that depends on it.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
92acb57eb0468de93c4976eb1de6bf08ede9abd0 01-Dec-2015 Mark Wielaard <mjw@redhat.com> elfcompress: New utility.

Usage: elfcompress [OPTION...] FILE...
Compress or decompress sections in an ELF file.

-f, --force Force compression of section even if it would
become larger
-n, --name=SECTION SECTION name to (de)compress, SECTION is an
extended wildcard pattern (defaults to
'.?(z)debug*')
-o, --output=FILE Place (de)compressed output into FILE
-p, --permissive Relax a few rules to handle slightly broken ELF
files
-q, --quiet Be silent when a section cannot be compressed
-t, --type=TYPE What type of compression to apply. TYPE can be
'none' (decompress), 'zlib' (ELF ZLIB compression,
the default, 'zlib-gabi' is an alias) or
'zlib-gnu' (.zdebug GNU style compression, 'gnu'
is an alias)
-v, --verbose Print a message for each section being
(de)compressed
-?, --help Give this help list
--usage Give a short usage message
-V, --version Print program version

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
519c13c9c7fc591609eed405a3e952707c60ec7e 30-Dec-2015 Mark Wielaard <mjw@redhat.com> libelf: Make elf_strptr index correctly into compressed section data.

elf_strptr indexes into the section data. This is defined as index into
the uncompressed data of the section. If the section is compressed make
sure the uncompressed data is available, but don't really decompress the
section header (elf_getdata will still return compressed data).

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
272018bba1f253bae00b5ba280ad0e0f18c04006 19-Dec-2015 Mark Wielaard <mjw@redhat.com> libelf: Add elf_compress and elf_compress_gnu.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
5ddb50af4a488fdec358570502cbe058acb8ae93 20-Nov-2015 Mark Wielaard <mjw@redhat.com> libelf: Add elf32_getchdr, elf64_getchdr and gelf_getchdr.

Elf_Data of a compressed section has type ELF_T_CHDR. This type can be
xlated to the file or memory representation. This will make sure the Chdr
is in the correct endianess. The compressed data following the Chdr isn't
translated.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
0c32b6f086b9838fe4b7d93575068554d0c420f7 17-Nov-2015 Mark Wielaard <mjw@redhat.com> libdwelf: Add dwelf_scn_gnu_compressed_size.

Helper function to get the size of a GNU compressed zdebug section.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
29ee512fb8a71b0d22065c369a2117ff758bdf5e 31-Dec-2015 Mark Wielaard <mjw@redhat.com> tests: elfstrmerge warn about STT_SECTION symbol for shstrhndx.

Old linkers might have created an STT_SECTION symbol for the section
header string table section, which isn't actually used. For now just
warn about such symbols. If such a symbol would actually really be used
(but why?) then we would have to handle it by removing it and rewriting
the symbol table.

This is a testsuite only change, but includes an extra test with files
that have such STT_SECTION symbols to make sure it will be handled in
case we "upgrade" the elfstrmerge test to a real utility.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
a8a22a33a8c5886d6818bd8377f11dd8f38fdc2b 08-Dec-2015 Jose E. Marchesi <jose.marchesi@oracle.com> backends: sparc: support for core backtraces

This patch adds sparc support to the unwinder, providing a default CFI
program that works in both sparcv9-*-* and sparc64-*-* targets.

Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
a5a354b9d7d4ca8c912945dd708ab465aec67c7f 02-Dec-2015 Mark Wielaard <mjw@redhat.com> tests: Use valgrind --leak-check=full.

When --enable-valgrind is given run the testsuite with --leak-check=full
treating any memory leak as a failure. Also disable valgrind for those
tests that trigger a valgrind bug.
https://bugs.kde.org/show_bug.cgi?id=327427

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
528cb45fc99a1f402ac153891ac7c007921699ef 16-Oct-2015 Mark Wielaard <mjw@redhat.com> Make zlib mandatory.

Explicitly link libelf and libdw with -lz.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
9bcd3cbdbc66d94d2c0f53f100ecca3f0cf1df33 16-Oct-2015 Mark Wielaard <mjw@redhat.com> tests: Add AM_LDFLAGS to dwfl_proc_attach_LDFLAGS.

We want to be sure the libelf.so under test is picked up.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
daee4714ee3761e2d92f764a724e83875a79a3f0 05-Oct-2015 Josh Stone <jistone@redhat.com> Improve AM_SILENT_RULES coverage

Note, elfutils does not explicitly enable AM_SILENT_RULES. It's only
available starting from automake 1.11, but starting from automake 1.13
silent rules are always generated, defaulting to verbose. $(AM_V_foo)
additions should be no-ops on systems that don't support silent rules.

To be silent, use "./configure --enable-silent-rules" or "make V=0".

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/tests/Makefile.am
df7dfab451246e8b088040e052ca01f9d6aba774 11-Aug-2015 Mark Wielaard <mjw@redhat.com> Handle merged strtab/shstrtab string tables in strip and unstrip.

ELF files can share the section header string table (e_shstrndx) with
the symtab .strtab section. That might in some cases save a bit of space
since symbols and sections might share some (sub)strings. To handle that
eu-strip just needs to not unconditionally remove the .shstrtab section
(it will be properly marked as used/unused as needed). eu-unstrip needs
to make sure the section names are added to the strtab if it decides to
rewrite that section. Also makes sure that eu-strip won't move around
a SHT_NOBITS section that has SHF_ALLOC set. Although it is allowed to
move such sections around, there is no benefit. And some tools might
expect no allocated section to move around, not even a nobits section.
It also makes it harder to do "roundtripping" sanity checks that make
sure splitting a file with eu-strip and then reconstructed with eu-unstrip
produce the same ELF file (as is done in the new run-strip-strmerge.sh).

Introduces a somewhat large test generator elfstrmerge.c that will
hopefully turn into a more generic string table merger program.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
3adda3ce2a83e2733aa0c84da9bb7949413d02fd 29-Sep-2015 Mark Wielaard <mjw@redhat.com> libelf: Always update e_version and e_shentsize in elf_update.

When e_version is EV_NONE we should set it to EV_CURRENT like we do for
the EI_VERSION and like we set EI_DATA to the correct byte order when set
to ELFDATANONE. Likewise we should always set e_shentsize like we do for
e_phentsize, not just when ELF_F_LAYOUT isn't set.

Add a new elfshphehdr testcase to check the above.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
879850950bd56255cb5796c86b62bf3bdedd4fb9 07-Sep-2015 Mark Wielaard <mjw@redhat.com> libdwfl: Make dwfl_linux_proc_attach work even without any Dwfl_Modules.

dwfl_linux_proc_attach depended on a Dwfl_Module with the correct
ELF header already being available. That isn't really necessary since
when we attach we have the main exe ELF file available. Just use that
to make dwfl_linux_proc_attach always work.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
c689d90c6eff870c85d381faed933a550a58dc0a 14-Aug-2015 Mark Wielaard <mjw@redhat.com> tests: Add a testcase for dwfl debuginfo-path with separate bin/debug dirs.

Reuse the run-addr2line-i-test.sh testfile-inlines testfile, but
first strip the debuginfo and put the binary and separate debuginfo
file in different roots. Check that --debuginfo-path still finds
the debug file.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
f9fc50c3eced243c0648fb0fbfe2c9877c25e1e4 29-Jul-2015 Mark Wielaard <mjw@redhat.com> unstrip: Handle debuginfo files with missing SHF_INFO_LINK section flags.

With GCC 5 there might be a .rela.plt section with SHF_INFO_LINK set.
Buggy binutils objdump might strip it from the section in the debug file.
Ignore such differences for relocation sections and put the flag back
if necessary.

Also improve the error message a little by only discarding the already
matched sections if there is an prelink undo section. Otherwise we will
report all sections as not matching if the file wasn't prelinked instead
of just the non-matching sections.

New testfiles generated by gcc5 and binutils objdump added.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
cd2da6c37b468c7ac66d2edcd83f8bcbaeb793ec 20-May-2015 Mark Wielaard <mjw@redhat.com> addr2line: Add demangler support.

Makes the -C, --demangle option visible and implements it (ignoring the
demangle style argument). Adds a new test with sample output.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
1ab3c2befeedf5bd891cfbe17cfef79c06e5079a 04-May-2015 Anthony G. Basile <blueness@gentoo.org> Link against standalone argp library

argp is not part of POSIX standards and not provided by uClibc or
some other standard C libraries. However, it is possible to link
against a breakout argp library. One is provided at

http://www.lysator.liu.se/~nisse/misc/

This patch tests if libc provides argp otherwise it adds the linker
flag -largp where needed in the build system.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
/external/elfutils/tests/Makefile.am
e6e80dae42a030f56b6aa0a92514130e78f43d72 01-May-2015 Mark Wielaard <mjw@redhat.com> tests: Split run-stack tests to support missing demangler.

SKIP tests that need a demangler if it is not there.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
224e2e61b25eed8d320a286bbbd12f9ea4a7799e 25-Mar-2015 H.J. Lu <hjl.tools@gmail.com> tests: Add run-strip-test10.sh

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
/external/elfutils/tests/Makefile.am
f1bde8d6251082c38b510123eb4137a602ace3da 25-Mar-2015 H.J. Lu <hjl.tools@gmail.com> tests: Add run-strip-test9.sh

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
/external/elfutils/tests/Makefile.am
6de72761723d624bcd148facc811bc774a265f0c 25-Mar-2015 H.J. Lu <hjl.tools@gmail.com> tests: Add run-backtrace-core-x32.sh

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
/external/elfutils/tests/Makefile.am
aa19e593d3a5ba53571064ca133597ca9f14f840 25-Mar-2015 H.J. Lu <hjl.tools@gmail.com> tests: Add testfile-x32 to run-addrcfi.sh

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
/external/elfutils/tests/Makefile.am
5bbf039bb8d3583f83e585b805627e676b2e4e03 25-Mar-2015 H.J. Lu <hjl.tools@gmail.com> tests: Add testfile-x32-core.bz2 to run-readelf-mixed-corenote.sh

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
/external/elfutils/tests/Makefile.am
06457daeff7972d08c6b296be92007f0eabb32e4 18-Mar-2015 Petr Machata <pmachata@redhat.com> Add forgotten files to EXTRA_DIST

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/tests/Makefile.am
b4da85ded5de790aa2cddd6d725970945c97df89 11-Feb-2015 Petr Machata <pmachata@redhat.com> dwarf_ranges: do not request base address attributes if not necessary

- Instead of bailing out at iteration start, we remember the
base-address-selecting attributes were not seen, and then bail out
later if no base address selection entry has been seen.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/tests/Makefile.am
710ca87893bef2fa186265a8624a6402509ba1f3 21-Jan-2015 Mark Wielaard <mjw@redhat.com> libelf: elf_strptr should use datalist when data has been added to section.

elf_strptr always used the rawdata when available. But when data has been
added to the section it should find the correct buffer in the datalist.

Adds a large testcase that checks various ways of adding and extracting
strings from a section.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
b543cdd95a0f9dfc33c862585f108a7a19728a10 20-Jan-2015 Mark Wielaard <mjw@redhat.com> libelf: Fix elf_newdata when raw ELF file/image data is available.

When ELF data for a section has been read by elf_rawdata, data_read
and rawdata_base are set, but data_list_rear will not be set until the
data will be converted (by elf_getdata). elf_newdata would overwrite
the existing data in that case. Both elf_getdata and elf_update rely
on the fact that when data_list_rear is set they don't have to look
at the raw data anymore. So make sure we update the data list properly
before adding any new data and raw data is available in elf_newdata.

Add newdata test that calls elf_newdata before and after elf_rawdata
and elf_getdata and checks the new size and contents of the section.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
058ae7b4d5bdfa0f39312b056ee9cadc4c3ffeb9 20-Jan-2015 Mark Wielaard <mjw@redhat.com> libelf: elf_strptr should fetch the shdr for the section if not yet known.

elf_strptr might be called before the shdrs are read in. In that case it
needs to explicitly call __elf[32|64]_getshdr_rdlock to check the section
type and size. The new strptr testcase triggers this corner case and crashes
before the fix.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
ddbf23a4594b5a6f1b387b15d42312a203075d80 24-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Search for the last matching address with dwarf_getsrc_die.

In commit 7d9b5a dwfl_module_getsrc was changed so that it returns the last
line record <= addr, rather than returning immediately on a match. This
changes dwarf_getsrc_die to do the same. And it adds a new test that checks
this by comparing against the same results from eu-addr2line (which uses
dwfl_module_getsrc) using dwarf_addrdie and dwarf_getsrc_die instead.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
47efc3bef9f39a0494f9957b2e5f7da33482865b 14-Jan-2015 Mark Wielaard <mjw@redhat.com> tests: Add testfile-debug-types test case.

Test for regression fixed in commit 7c713822:
"libdw: fix offset for sig8 lookup in dwarf_formref_die"

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
e80d32481bac27766c00c27cc9f7628a56dc7be9 18-Dec-2014 Mark Wielaard <mjw@redhat.com> tests: Add testfile-macros-0xff.bz2 to EXTRA_DIST.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
f3111d50756f84e99fbdb6ddfa37d1cd7163fd10 12-Dec-2014 Mark Wielaard <mjw@redhat.com> tests: Add an explicit -fasynchronous-unwind-tables for deleted-lib.so.

Some systems don't add a PT_GNU_EH_FRAME segment by default, but the
deleted test depends on it so that it can get at the .eh_frame_hdr table
through the phdrs from the remote memory ELF image. Request one explicitly
with -fasynchronous-unwind-tables.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
080fa4e368cb8d0e7d06cf5c47ad4efe67e87684 12-Dec-2014 Josh Stone <jistone@redhat.com> tests: Test addr2line -i with lexical blocks present

This test is for the fix in commit aecdf2670c02, but it was hampered by
unlucky sorting of line records. With the new stable sort, the test now
gets the desired line numbers.

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
5691f86722e9c24169622e64e8e8f5e6a24ad3b0 10-Nov-2014 Mark Wielaard <mjw@redhat.com> libdwfl: find_dynsym don't assume dynamic linker has adjusted DYNAMIC entries.

commit 037505 "Fix resolving ELF symbols for live PIDs with deleted files"
changed find_dynsym to assume the PT_DYNAMIC entries had been adjusted by
the dynamic linker. That is often a correct assumption when the ELF image
comes from remote memory. But we cannot rely on that. In the case of the
vdso image the DYNAMIC segment has not been adjusted for example.

There is no good way to determine whether the DYNAMIC segment has or
hasn't been adjusted already to the load address by the dynamic linker.
So we just try twice. Once without and if the fails again with assuming
adjustments being applied.

Includes a new vdsosyms testcase that fails on i686 before and succeeds
after the fix.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
3a36e8a26c32103ec2f8edda8bf212d6883970a2 06-Oct-2014 Mark Wielaard <mjw@redhat.com> libdw: Add dwarf_peel_type. Use it in dwarf_aggregate_size.

Add new function dwarf_peel_type. Some type annotations in DWARF are
specified by modifier tag type wrappers instead of attributes.
For type aliases (typedef) and qualifiers (const, volatile, restrict)
tags dwarf_peel_type follows the DW_AT_type attributes till it finds
a base, user-defined, reference or pointer type DIE.

Use this new function in the backends for return type DIEs (replacing
the existing dwarf_peel_type there) and in dwarf_aggregate_size so
it can provide the sizes for qualified types too. Add a new version
and testcase for the new dwarf_aggregate_size functionality.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
b50014f56418d9be8eb3d5a86c693a4fda83dc09 02-Oct-2014 Mark Wielaard <mjw@redhat.com> libdw: dwarf_aggregate_size return CU address_size for sizeless pointer/refs.

Tested-by: Conrad Meyer <cse.cem@gmail.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
6d48bbf406851b56920582b8ce29db13ad4f4e2e 26-Sep-2014 Jan Kratochvil <jan.kratochvil@redhat.com> Support note NT_FILE for locating files.

Martin Milata:
------------------------------------------------------------------------------
RFE: dwfl_core_file_report: use NT_FILE core note if the link_map chain is broken
https://bugzilla.redhat.com/show_bug.cgi?id=1129777

The dwfl_core_file_report function follows dynamic linker's link_map chain in
order to determine the shared libraries used by the executable. As this data
structure is located in writable memory it can be overwritten by garbage, which
is sometimes the case.
https://github.com/abrt/satyr/issues/127#issuecomment-46957546

Since version 3.7 (commit 2aa362c49), Linux kernel adds NT_FILE note to core
files which contains the files mapped by the process, including shared
libraries.
------------------------------------------------------------------------------

dwfl_core_file_report now tries to fall back on NT_FILE if the link_map chain
is broken.

elfutils would already find the appropriate binary file from
/usr/lib/debug/.build-id/ symbolic links. But those symbolic links do not have
to be present on the system while NT_FILE still points to the correct binaries.

Filenames from the note NT_FILE are used only if link_map filenames failed to
locate matching binaries.

tests/test-core.core.bz2 had to have its NT_FILE disabled as run-unstrip-n.sh
otherwise FAILs:
FAIL: 0x7f67f2aaf000+0x202000 - . - /home/jkratoch/redhat/elfutils-libregr/test-core-lib.so
PASS: 0x7f67f2aaf000+0x202000 - . - test-core-lib.so
As test-core-lib.so is found in link_map but it is not present on the disk
elfutils now chooses the more reliable filename from NT_FILE (although that
filename is also not found on the disk). Updating the expected text would be
also sufficient.

libdwfl/
2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>

Support NT_FILE for locating files.
* core-file.c (dwfl_core_file_report): New variables note_file and
note_file_size, set them and pass them to dwfl_segment_report_module.
* dwfl_segment_report_module.c: Include common.h and fcntl.h.
(buf_has_data, buf_read_ulong, handle_file_note): New functions.
(invalid_elf): New function from code of dwfl_segment_report_module.
(dwfl_segment_report_module): Add parameters note_file and
note_file_size. New variables elf and fd, clean them up in finish.
Move some code to invalid_elf. Call handle_file_note, if it found
a name verify the file by invalid_elf. Protect elf and fd against
cleanup by finish if we found the file for new Dwfl_Module.
* libdwflP.h (dwfl_segment_report_module): Add parameters note_file and
note_file_size.

tests/
2014-09-26 Jan Kratochvil <jan.kratochvil@redhat.com>

Support NT_FILE for locating files.
* Makefile.am (TESTS): Add run-linkmap-cut.sh.
(EXTRA_DIST): Add run-linkmap-cut.sh, linkmap-cut-lib.so.bz2,
linkmap-cut.bz2 and linkmap-cut.core.bz2 .
* linkmap-cut-lib.so.bz2: New file.
* linkmap-cut.bz2: New file.
* linkmap-cut.core.bz2: New file.
* run-linkmap-cut.sh: New file.
* run-unstrip-n.sh: Update its expected output.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
0375056af003d7676fb852e09782a985f3a52b1a 17-Aug-2014 Jan Kratochvil <jan.kratochvil@redhat.com> Fix resolving ELF symbols for live PIDs with deleted files

For deleted shared library files the offsets to the symbol table were
calculated wrongly from the phdrs because the main_bias wasn't taken into
account.

Formerly shared libraries did not get resolved properly:
#2 0x00007fc4d86c56d6
#3 0x0000000000400938 main

Fixed elfutils produce:
#2 0x00007f61094876d6 libfunc
#3 0x0000000000400938 main

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
bb096d0412f2cb71e7cac628fc7e251a47c1a56e 03-May-2014 Mark Wielaard <mjw@redhat.com> Remove --enable-dwz. dwz alt debug is no longer experimental.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
d81d32d2a4f92355e4c677b578147dfe819251b9 30-Apr-2014 Mark Wielaard <mjw@redhat.com> libdwelf: Add dwelf_elf_gnu_build_id.

Move internal function __libdwfl_find_build_id to libdwelf and use it to
add a public dwelf_elf_gnu_build_id function to extract the NT_GNU_BUILD_ID
from an ELF file using either the shdrs or phdrs. Adjust internal callers
and add a testcase.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
4813dbbcb81a0f5ebbc9756fe6f4ed62d298b011 24-Apr-2014 Florian Weimer <fweimer@redhat.com> libdwelf: Add dwelf_dwarf_gnu_debugaltlink

Signed-off-by: Florian Weimer <fweimer@redhat.com>
/external/elfutils/tests/Makefile.am
9380297e130e6ccc829c8d56d701fb539b27bb0f 11-Apr-2014 Mark Wielaard <mjw@redhat.com> libdwelf: New DWARF ELF Low-level Functions. Add dwelf_elf_gnu_debuglink.

New public header elfutils/libdwelf.h for low-level DWARF/ELF helper
functions. The new function dwelf_elf_gnu_debuglink returns the name and
crc as found in the .gnu_debuglink section of an ELF file.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
3232479483cad695d1872b879128a23da3953a7d 13-Apr-2014 Mark Wielaard <mjw@redhat.com> Remove mudflap build option.

The --enable-mudflap configure build has been broken for 2 years without
anybody apparently noticing. GCC 4.9 removed mudflap support. Before
release we now run make distcheck with valgrind support. Removal of the
mudflap configure option simplifies the build a little.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
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/tests/Makefile.am
66637fa21044ac0058b25522f473669e73de328b 09-Apr-2014 Mark Wielaard <mjw@redhat.com> backends: Add aarch64 native and core unwind support.

Add aarch64 backend functions frame_nregs and set_initial_registers_tid.
Mark pc_register in aarch64 prstatus_regs as pc_register.
Add backtrace-core-aarch64 testcase.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
51fff30ac9d9eb245e7df8eb5c07658d04d6ad45 12-Mar-2014 Josh Stone <jistone@redhat.com> libdwfl: test dwflsyms on ET_EXEC with minisymtab

This adds testfilebaxmin, an ET_EXEC binary with .gnu_debugdata that
doesn't match the load address of the main file. A previous bug made
this trigger a kernel heuristic that forces the module to act like
ET_DYN, which makes things like dwfl_module_relocate_address report
relative addresses rather than proper absolute addresses.

For example, before the fix dwflsyms would print:

deregister_tm_clones (0) 0x400430, rel: 0x430 (.text)

Now it properly prints:

deregister_tm_clones (0) 0x400430, rel: 0x400430 (.text)

These new test additions confirm that it's fixed.

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/tests/Makefile.am
f48eb6b15fee66e54b488d71738979fc608f25ee 23-Jan-2014 Mark Wielaard <mjw@redhat.com> Use -Wformat=2 by default for all files.

This just makes sure that all format strings are given as literals to
printf like functions so the compiler can see and check them. Remove
all no_Wformat, add -Wformat=2 unconditionally to AM_CFLAGS.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
13968d9aa9990d53999b14494ed55c2d68d4ead5 21-Jan-2014 Mark Wielaard <mjw@redhat.com> stack: Add -i, --inlines. Show inlined call frames using DWARF debuginfo.

Using dwarf_getscopes_die we can get all scopes that make up the current
subprogram representing an address. Using the call_file/line/column
attributes we can also show the source locations of these "inlined" calls.
Includes a test that shows that when DWARF debuginfo is available all
inlined function call frames and their source location can be shown.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
531a30acbe175da1f71768e2ffb585c4d45e640b 20-Jan-2014 Mark Wielaard <mjw@redhat.com> stack: Add -d, --debugname. Lookup DWARF debuginfo name for frame address.

Includes test that shows -d matches the function name that corresponds to
the actual source line we report with -s for a frame address.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
7c6e785e6eca774080a64801f950bd61785c469e 15-Jan-2014 Jan Kratochvil <jan.kratochvil@redhat.com> Fix corruption of non-C++ symbols by the demangler.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
b92af19f2110999579a65a5dceab532c97979559 03-Jan-2014 Mark Wielaard <mjw@redhat.com> backends: Add aarch64 abi_cfi.

Setup initial CIE values for aarch64 for use with dwarf_frame functions.
Register info prefix should be the empty string (not NULL) when not used.
Add an EM_AARCH64 testcase to tests/run-addrcfi.sh to check both issues.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
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/tests/Makefile.am
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/tests/Makefile.am
63572f42b04e1c3b752b113810ec642121c8090e 13-Dec-2013 Mark Wielaard <mjw@redhat.com> tests: Add backtrace_child_biarch_SOURCES to make distcheck happy.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
7fc4929958ca78bd7b268014e9029d5ae1608822 13-Dec-2013 Mark Wielaard <mjw@redhat.com> tests: Disable valgrind for core dumping and for self-introspecting tests.

The only tests that fork and exec are those that will then try to ptrace
attach the child for unwind testing. That won't work when the child is
also running under valgrind. So remove --trace-children=yes. Also disable
valgrind while dumping a core or for tests that try to inspect their own
state. They will get confused otherwise finding pieces of valgrind in
their maps.

Note we still seem to hit the following valgrind bug because the way we
map and unmap some shared libraries gets valgrind confused:
https://bugs.kde.org/show_bug.cgi?id=327427

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
1bfab193f062df462b2dbc4bb56299a5194fae2d 04-Dec-2013 Mark Wielaard <mjw@redhat.com> tests: automake 1.13 compatibility fix.

tests/Makefile.am:65: warning: deprecated feature: target
'backtrace-child-biarch' overrides 'backtrace-child-biarch$(EXEEXT)'
tests/Makefile.am:65: change your target to read
'backtrace-child-biarch$(EXEEXT)'

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
8ae9bc9d315be6ecbb97dd9754b9d8424b5a70f0 02-Dec-2013 Jan Kratochvil <jan.kratochvil@redhat.com> Tests for unwinder of x86*.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
0d5a867cccf7dad6d7947bead3f45417cc352103 26-Nov-2013 Mark Wielaard <mjw@redhat.com> tests: Makefile.am (EXTRA_DIST): Add run-funcretval.sh.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
98c8a7395b4e5e7bed233397148b15c1f8c66490 26-Nov-2013 Petr Machata <pmachata@redhat.com> Support AArch64 architecture

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/tests/Makefile.am
db35c87a85aa651b8ea3ed19689c53cefc28e313 18-Nov-2013 Josh Stone <jistone@redhat.com> libdwfl: Fix and test aux_sym address_sync with relocated ELF

The aux_sym address_sync already worked with a full prelink, which has
.gnu.prelink_undo, but it failed on plain relocations with prelink -r.

Now it uses the difference in ehdr.e_entry as a first offset guess, and
the tests confirm this seems to work fine.

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/tests/Makefile.am
68ce4fc85bbf95441e96fedd76c8bd78f76d8da2 16-Nov-2013 Mark Wielaard <mjw@redhat.com> tests: Fix broken dwflsyms tests, extend test and add prelink tests.

The two test files that contains minisymtab tables and the expected test
output were wrongly generated. Also prelink tests were missing to check
that a prelinked main ELF file with separate debug or minisyms generated
correctly adjusted symbol values. The dwflsyms test was also extended to
check print and check the result of dwfl_module_relocate_address.

Reported-by: Josh Stone <jistone@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
a45c8043358151085633b15ea615f31f3bd680f7 01-Nov-2013 Michael Forney <mforney@mforney.org> Check for prefixed ar, readelf, and nm

Sometimes with cross-compile toolchains, the tools are prefixed with the
target arch. Using AC_CHECK_TOOL looks for tools named like this.

Signed-off-by: Michael Forney <mforney@mforney.org>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
e6a9bb8c63adaeaceafc50301b085121c962b631 10-Oct-2013 Mark Wielaard <mjw@redhat.com> libdw: Handle dwz multi files correctly in dwarf_getfuncs.

Don't use DIE offsets, but use their addresses to make sure they are unique.
Include test cases where main and alt file have subprograms at same offsets.

Reported-by: Josh Stone <jistone@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
d182974079c7205973ae7885b95216a5b83b6f82 15-Oct-2013 Mark Wielaard <mjw@redhat.com> libdwfl: Don't report and abort on non-file mappings in maps.

proc_maps_report, used for -p or -M, could report modules with names
that were not absolute file names (and not the special vdso marker).
dwfl_linux_proc_find_elf would abort on such names. This isn't a very
nice thing to do in a library. Make sure only real (absolute) file
mappings are reported and don't abort when unexpected file names are
found, just report failure.

Test case with some examples as found in Linux /proc/PID/maps added.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
5dbbc5e32cc1fb3a7cf33e52e0bfc6f47097f3fe 03-Oct-2013 Josh Stone <jistone@redhat.com> libdw: Make sure that every debug_types sig8 is hashed

When dwarf_formref_die can't find a sig8 in the hash, it walks
__libdw_intern_next_unit, and was then adding those to the hash.
However, if dwarf_offdie_types is called earlier, which also uses that
next_unit, then they are missed from the hash (and never revisited).

This patch makes __libdw_intern_next_unit do the sig8 hash insert, so no
type unit is ever missed.

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
1b734df17fca9f89a887b85ffe74616a87388f51 20-Sep-2013 Mark Wielaard <mjw@redhat.com> libdw: Make dwarf_getfuncs find all (defining) DW_TAG_subprogram DIEs.

dwarf_getfuncs used to return only the DW_TAG_subprogram DIEs that were
direct children of the given CU. This is normally how GCC outputs the
subprogram DIEs. But not always. For nested functions the subprogram DIE
is placed under the code construct DIE where it is nested. Other compilers
might output the defining subprogram DIE of a C++ class function under
the DW_TAG_namespace DIE where it was defined. Both such constructs seem
allowed by the DWARF specification. So just searching the CU DIE children
was wrong.

To find all (defining) subprogram DIEs in a CU dwarf_getfuncs should
use __libdw_visit_scopes to walk the tree for all DIEs that can contain
subprograms as children. The only tricky part is making sure the offset
returned and used when the callback returns DWARF_CB_ABORT is correct
and the search continues at the right spot in the CU DIE tree. This
operation now needs to rewalk the whole tree.

Two new testcases were added that fail without this patch. And the
allfcts test was tweaked so that it always returns DWARF_CB_ABORT
from its callback to make sure the offset handling is correct.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
6e6e54e12a30b70929d9465fae3dc601684a8794 31-Aug-2013 Mark Wielaard <mjw@redhat.com> tests: Add new varlocs test for dwarf_getlocation* functions.

This tests the new dwarf_getlocations, dwarf_getlocation_attr and
dwarf_getlocation_die functions. But it is also an example of how
to handle location expressions and which libdw functions can be
used to access all information required to interpret each DW_OP.

It might make sense to extend this test/example into a program
that verifies various properties of DWARF expressions.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
92e47d616d15beec31c406ce254e639faa8fac2b 02-Sep-2013 Mark Wielaard <mjw@redhat.com> backends: Hook abi_cfi for arm.

New arm_abi_cfi that defines initial CFA, rules for callee-saved regs,
including VFP ones and return register.

Note the DWARF abi extension for ARM says that "registers intentionally
unused" should also be initialized as if by DW_CFA_same_value. The
example given is "an integer-only function might be included in one
executable file for targets with VFP and another for targets without".
We don't currently do this yet. See the DWARF and calling convention
documents:

DWARF for the ARM Architecture ABI r2.09
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0040b/IHI0040B_aadwarf.pdf

Procedure Call Standard for the ARM Architecture ABI r2.09
http://infocenter.arm.com/help/topic/com.arm.doc.ihi0042e/IHI0042E_aapcs.pdf

Also adds addrcfi arm testcase.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
79b9181ff552e54bacc74fc0b0699e6133645c6b 28-Aug-2013 Mark Wielaard <mjw@redhat.com> tests: Add s390 and s390x addrcfi testcases.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
d3f164551f3f5d9ebd47cd4c055873ba1658a1b6 28-Aug-2013 Mark Wielaard <mjw@redhat.com> tests: Add ppc32 and ppc64 addrcfi testcases.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
292b1787b6ccc429ebba177600dffdb5b33443f7 27-Aug-2013 Mark Wielaard <mjw@redhat.com> tests: Add run-addrcfi.sh test for libdw cfi dwarf_frame_* functions.

We require architecture backends to implement the ebl abi_cfi hook
to provide the ABI's default CFI program as used by the libdw dwarf cfi
functions. There is the addrcfi test program that prints the return
address, cfa location expression and register states as returned by
various dwarf_cfi_* and dwarf_frame functions. But that has to be run
by hand. The new run-addrcfi.sh tests hooks addrcfi up to some existing
architecture specific test files and known addresses to more easily
(and automaticly) check that the default CFI program is implemented
correctly and to test the libdw cfi frame info functionality.

Only i386 and x86_64 are tested for now since other backends don't have
the abi_cfi hook yet.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
4b9e639d314e1ba63dbf661eb1fd7df1a8ee7d4a 13-Aug-2013 Mark Wielaard <mjw@redhat.com> addr2line: Support -i, --inlines output option.

Show all source locations that caused inline expansion of subroutines
at the given address. This can easily be supported by using libdw
dwarf_getscopes_die which will give all nested inlined subroutines.
When -f, --functions is given also show the function names where the
subroutines were inlined.

The output matches that of binutils addr2line --inlines.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
d0f8501761b15b35dc52eaf5709a638276270077 12-Aug-2013 Mark Wielaard <mjw@redhat.com> addr2line: Remove newline from strings returned by getline.

getline can return strings with a newline as last character when reading
from stdin. This could cause confusing symbol lookup failures like:
addr2line: cannot find symbol 'foo
'
So if the last character of the buf returned by getline is a newline just
null-terminate it right there. Also add a new testcase run-addr2line-test.sh.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
263d7eed708f3028e855b25a8692bb3d3b70c704 02-Jul-2013 Mark Wielaard <mjw@redhat.com> tests EXTRA_DIST typo, forgot extension in testfilenolines.bz2.
/external/elfutils/tests/Makefile.am
8ff862960efb648cdff647d7fad1be5acffe9b11 30-May-2013 Jan Kratochvil <jan.kratochvil@redhat.com> Use DT_DEBUG library search first.

libdwfl/
2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>

* argp-std.c (parse_opt) <ARGP_KEY_SUCCESS> <opt->core> <opt->e>: Set
executable_for_core before calling dwfl_core_file_report.
* core-file.c (clear_r_debug_info): New function.
(dwfl_core_file_report): Move raw segments reporting lower. New
variable r_debug_info, pass it to dwfl_segment_report_module. Call
clear_r_debug_info in the end. Return sum of LISTED and SNIFFED.
* dwfl_module_build_id.c (check_notes): Move into
__libdwfl_find_elf_build_id.
(__libdwfl_find_build_id): Rename to ...
(__libdwfl_find_elf_build_id): ... here. Add parameters build_id_bits,
build_id_elfaddr and build_id_len. Verify MOD vs. ELF.
(__libdwfl_find_elf_build_id) (check_notes): Remove parameters mod and
set, rename data_vaddr to data_elfaddr. Do not call found_build_id.
(__libdwfl_find_elf_build_id): Update the check_notes caller, do not
adjust its data_elfaddr parameter.
(__libdwfl_find_build_id): New wrapper of __libdwfl_find_elf_build_id.
* dwfl_segment_report_module.c (dwfl_segment_report_module): New
parameter r_debug_info. New variable name_is_final. Adjust addresses
according to R_DEBUG_INFO->MODULE. Check conflicts against DWFL.
Do not overwrite NAME by SONAME if NAME_IS_FINAL.
* libdwflP.h (__libdwfl_find_elf_build_id): New declaration.
(struct r_debug_info_module, struct r_debug_info): New definitions.
(dwfl_segment_report_module, dwfl_link_map_report): Add parameter
r_debug_info.
* link_map.c: Include fcntl.h.
(report_r_debug): Add parameter r_debug_info, describe it in the
function comment. Delete dwfl_addrmodule call and its dependent code.
Verify build-id before calling dwfl_report_elf, also supply
executable_for_core to it. Store r_debug_info->module info when
appropriate.
(dwfl_link_map_report): Add parameter r_debug_info. New variable
in_ok. Try to read IN from EXECUTABLE_FOR_CORE. Update report_r_debug
caller parameters.

tests/
2013-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>

* Makefile.am (EXTRA_DIST): Add test-core-lib.so.bz2,
test-core.core.bz2 and test-core.exec.bz2.
* run-addrname-test.sh: New test for these files.
* run-unstrip-n.sh: Update expected output. New test for these files.
* test-core-lib.so.bz2: New file.
* test-core.core.bz2: New file.
* test-core.exec.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
9affad3d2314de1bacbabae453a7261cc02feac4 03-May-2013 Mark Wielaard <mjw@redhat.com> libdw: dwarf_getsrclines don't set end_sequence when there are no lines.

Some CUs might only have a file list, but no actual source lines in their
statement list. Only set end_sequence at the end of the source lines list
if there are actually lines.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
86be792c727ea0c09d687e76d98739a5af23a803 26-Apr-2013 Mark Wielaard <mjw@redhat.com> Enable automake parallel-tests for make check.

The parallel-tests option was introduced in automake 1.11 and is the
default since automake 1.13. All tests can now be ran in parallel with
make check -j. To enable this all tests are ran in their own temporary
directory so they don't stomp on each others input or output files.
On my machine (4 cores) make check takes ~20 seconds, but now with
make check -j8 takes only ~4 seconds.

ChangeLog:

* configure.ac (AM_INIT_AUTOMAKE): Request parallel-tests.

tests/ChangeLog:

* Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
remove wrapper.
(TESTS_ENVIRONMENT): Likewise.
(installed_LOG_COMPILER): New variable defining wrapper.
(LOG_COMPILER): Likewise.
* run-*.sh: Fixup location of input and output files.
* test-subr.sh: Create test_dir, pushd to execute test in.
(trap): Remove test_dir.
(testfiles): Use abs_srcdir.
(installed_testrun): Match on abs_builddir or abs_top_builddir.
(self_test_files): Adjust path.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
cdaaf2153a1f40d1be080c8ff6e10767b51a1c96 25-Apr-2013 Mark Wielaard <mjw@redhat.com> Updates for Automake 1.13.

autoreconf will install config/test-driver, ignore it.
Update gettext m4 and po files to version 0.18.2.
Use AM_CPPFLAGS instead of INCLUDES.
All changes are backward compatible with Automake 1.11.
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
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/tests/Makefile.am
a1d44825ffc756ed6c0dca3a836c1ff9f0ec151f 19-Mar-2013 Jan Kratochvil <jan.kratochvil@redhat.com> Fix dwfl_report_elf BASE alignment

libdwfl/
* dwfl_report_elf.c (__libdwfl_report_elf): Remove BASE aligning.

tests/
* Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
(TESTS): Add run-dwfl-report-elf-align.sh.
(EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
testfile-dwfl-report-elf-align-shlib.so.bz2 .
(dwfl_report_elf_align_LDADD): New.
* dwfl-report-elf-align.c: New file.
* run-dwfl-report-elf-align.sh: New file.
* testfile-dwfl-report-elf-align-shlib.so.bz2: New file.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
f1b06b5c1d9837832e74a61e19220ad5670bbc40 12-Mar-2013 Mark Wielaard <mjw@redhat.com> libdw and libdwfl srcfiles and srclines fixes for partial_units.

dwfl_getsrclines would always fail, even when lines were found.
dwarf_decl_file, and other functions relying on srcfiles or srclines would
fail for DIEs in partial_units because stmt_lists on partial_units
were ignored.

Note that dwz contained a bug which makes things fail in __libdw_formptr
for DW_AT_stmt_list with a bogus DW_FORM even with these fixes.
https://bugzilla.redhat.com/show_bug.cgi?id=919755

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
f6185a75448c395795182ed1e568484056e7a2bf 22-Feb-2013 Mark Wielaard <mjw@redhat.com> libdwfl: Try opening files all installed compression libraries.

rhbz #909481. When a compression library wasn't installed libdwfl would
not try the next compression library for opening a file. Retry with the
next available compression library if a previous one isn't installed. Also
disable tests that depend on a particular compression library
(run-readelf-s.sh and run-dwflsyms.sh) if that library isn't installed.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
443304efce95d66ac089d95807a0002cf8558d13 15-Feb-2013 Mark Wielaard <mjw@redhat.com> libdw: Handle FORM_GNU_strp_alt for files with string data only in dwz file.

dwarf_formstring should check that the dbg file from which we want the
strp data actually has a IDX_debug_str section.

Reported-By: Tom Tromey <tromey@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
6c4b2078c51c687a1a192b001f0b331a0ccac629 30-Jan-2013 Mark Wielaard <mjw@redhat.com> Add readelf test for --debug-dump=loc --debug-dump=ranges, -N and -U.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
cc84d79da3b8aaf09c785d8d24d7a41dd236528b 10-Oct-2012 Jan Kratochvil <jan.kratochvil@redhat.com> backends/
* Makefile.am (s390_SRCS): Add s390_corenote.c and s390x_corenote.c.
* linux-core-note.c (ALIGN_PR_REG): New definitions.
(struct EBLHOOK(prstatus)): Change field pr_reg to anonymous struct with
ALIGN_PR_REG.
(EXTRA_ITEMS): New macro.
* s390_corenote.c: New file.
* s390_init.c (s390x_core_note): New declaration.
(s390_init): Install s390x_core_note and s390_core_note.
* s390x_corenote.c: New file.

tests/
* run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
and s390x core notes.
* testfile67.bz2: New file.
* testfile68.bz2: New file.
* Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
697bdca1d7d70ebdcae90759dd885258400e1951 23-Jan-2013 Mark Wielaard <mjw@redhat.com> libdwfl: Support auxiliary symbol table only for getsym and addrsym.

Static binaries can have only an auxiliary symbol table and no dynsym
or symtab table.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
9a91fb2279fc9365b44f4526623ff0851c84f23d 16-Jan-2013 Mark Wielaard <mjw@redhat.com> tests: readelf --elf-section, dwfl_module_addrsym and dwfl_module_getsym.

Various tests for the new minisymtab support.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
1d6a435f55ba6ee1568fb6fede6495e37c455cae 03-Dec-2012 Mark Wielaard <mjw@redhat.com> Run valgrind tests with --run-libc-freeres=no.

By default valgrind tries to free up glibc memory at exit by running
__libc_freeres (). Unfortunately some older glibc versions have bugs
that either crash the test or make valgrind report errors. Since we
aren't interested in tracking memory leaks in glibc anyway, just
disable it.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
d5784afaf49cd59b9286e766cd9b1cf00cb43553 18-Oct-2012 Jan Kratochvil <jan.kratochvil@redhat.com> libdwfl/
* argp-std.c: Update Copyright year.
(offline_find_elf): New function.
(offline_callbacks): Use it for find_elf.
(struct parse_opt): New.
(parse_opt): New key ARGP_KEY_INIT. In other make hook struct
parse_opt pointer from former Dwfl pointer. Delay 'e and OPT_COREFILE
processing till ARGP_KEY_SUCCESS. Initialize state->input already from
ARGP_KEY_SUCCESS. Modify the cleanup in ARGP_KEY_ERROR. Make the
final state->input initialization optional.
* dwfl_end.c: Update Copyright year.
(dwfl_end): Free executable_for_core.
* libdwflP.h: Update Copyright year.
(struct Dwfl): New field executable_for_core.

tests/
* run-addrname-test.sh: New test for PIE relocation.
* testfile70.core.bz2: New file.
* testfile70.exec.bz2: New file.
* Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
testfile70.exec.bz2 .

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
d7ed0254bcdeeed0ed2b69d864afcd9d5492d0a0 27-Oct-2012 Jan Kratochvil <jan.kratochvil@redhat.com> tests/
* Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
testfile69.core.bz2 and testfile69.so.bz2 .

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/tests/Makefile.am
e3e3ee261e0d2f8716b5011ca5fcfc88766146f5 01-Oct-2012 Mark Wielaard <mjw@redhat.com> Add configure --enable-valgrind option to run all tests under valgrind.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
522a73f6eb1e6269d54ab7150778051c4269e722 24-Sep-2012 Petr Machata <pmachata@redhat.com> Test elfutils output of a mixed core note.

This is a test for previous commit. The core file was snipped so that only
headers and note contents are left. NT_ARM_VFP is the note that exercises
the code.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/tests/Makefile.am
ae7c5e791837611da31ff73787e2a7daaef8ec9e 24-Sep-2012 Petr Machata <pmachata@redhat.com> Test elfutils output of VMCOREINFO note.

The test file is partial kdump image, with only headers and notes left in.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/tests/Makefile.am
3662ad16ce8f10159c32336325c2cb61854476d1 18-Sep-2012 Petr Machata <pmachata@redhat.com> Add allregs test for ARM back end

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/tests/Makefile.am
e0ebc5a45896d2232f525601251ef781c10fedaa 24-Aug-2012 Mark Wielaard <mjw@redhat.com> tests: Add testfile60.bz2 to EXTRA_DIST.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
f5519fc244d95dc04b3e3de88644d149a36a76b6 24-Aug-2012 Mark Wielaard <mjw@redhat.com> Don't include dwz support by default.

By default the dwz multi file support is not included. This means any
DW_FORM_GNU_ref_alt or DW_FORM_GNU_strp_alt encountered in libdw will
just produce an error message. A new configure option --enable-dwz is
needed to include it for those we wish to test it. The dwz test is also
disabled by default.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
30a941ca9f463d0d862e5c3dfdb5a867fd2dcb40 01-Aug-2012 Petr Machata <pmachata@redhat.com> Test case for handling archives with 64-bit symbol table

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/tests/Makefile.am
bf707b5170a78b28e5310bbaa079cc226af73378 01-Aug-2012 Mark Wielaard <mjw@redhat.com> tests: Add run-nm-self.sh and run-readelf-self.sh tests.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
030f626f41b5d1d563c357743cfec492d4fa69a5 18-Jul-2012 Mark Wielaard <mjw@redhat.com> elf_getshdr should work for elf->flags & ELF_F_MALLOCED.

Reported-by: Nick Alcock <nix@esperi.org.uk>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
714ea0ec612225e1d5bed6ef0ea7bb8c135ae4c4 19-Jul-2012 Mark Wielaard <mjw@redhat.com> test_cleanup run-unstrip-n.sh and add testcore-rtlib-ppc.bz2 to EXTRA_DIST.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
7b2aea5c8ef0f47e52c8597292cd8f76c7f17274 19-Jul-2012 Mark Wielaard <mjw@redhat.com> Merge branch 'debug_macro'
63006910d2beb710ec8dbb7fcb5ca07814084d6b 19-Jul-2012 Mark Wielaard <mjw@redhat.com> Merge branch 'gdb_index7'
c09c5f32d6fc733e4c9f3e1962761ff324c3526a 26-Jun-2012 Mike Frysinger <vapier@gentoo.org> tests: only compile test programs when running test

The test binaries are only needed by make check, so change the PROGRAMS
category from noinst_ to check_ to speed up default `make && make install`.

If people want to run the tests, then the utilities will be compiled
automatically when they run `make check`, so the normal workflow should
be unchanged.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
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/tests/Makefile.am
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/tests/Makefile.am
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/tests/Makefile.am
dbbc67a97ace66c3adc299f26261fdec99d0c0d6 11-May-2012 Mark Wielaard <mjw@redhat.com> TESTS_ENVIRONMENT set LC_ALL and LANG to C.

Some tests rely on sort order and output of tools that might be localized.

Reported-by: Paweł Sikora <pluto@pld-linux.org>
/external/elfutils/tests/Makefile.am
547972539ecbe8668e89d891d86cef10f0302fd5 27-Apr-2012 Mark Wielaard <mjw@redhat.com> dwarf_highpc: Handle DW_AT_high_pc being a constant offset from DW_AT_low_pc.
/external/elfutils/tests/Makefile.am
bdad8e39aede889dbac95944a07eaebdebe4ad89 26-Apr-2012 Mark Wielaard <mjw@redhat.com> Removed old libdwarf test show-ciefde.
/external/elfutils/tests/Makefile.am
96a52138eab04f24a86c78e8f2af9c74c2d6bfaf 03-Apr-2012 Mark Wielaard <mjw@redhat.com> Add new run-unstrip-n.sh test for RHBZ#805447 fixed in commit 210c2f.
/external/elfutils/tests/Makefile.am
191d1f0b9163593eee8c4f5cbe3e95cabf6ae9a9 02-Apr-2012 Mark Wielaard <mjw@redhat.com> elf32_offscn.c: Do not match SHT_NOBITS sections at OFFSET.

readelf -d doesn't work if a SHT_NOBITS section is right before the actual
.dynamic section at the same offset. elflint also fails on such binaries.
So skip SHT_NOBITS sections at the same offset in [g]elf[32|64]_offscn().
/external/elfutils/tests/Makefile.am
581c3f60e2b1fc7ddaf4260bb5a9cb59f8e3f0d0 21-Mar-2012 Tom Tromey <tromey@redhat.com> Fix bug using dwarf_next_unit to iterate over .debug_types

* libdw_findcu.c (findcu_cb): Move earlier.
(__libdw_intern_next_unit): Add new CU to search tree here...
(__libdw_findcu): ... not here.

* typeiter.c: New file.
* run-typeiter.sh: New file.
* testfile59.bz2: New file.
* Makefile.am (noinst_PROGRAMS): Add typeiter.
(TESTS): Add run-typeiter.sh.
(EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
(typeiter_LDADD): New variable.

If you call dwarf_next_unit to iterate over .debug_types, then call
dwarf_offdie_types, you can see a failure if some earlier call
happened to call __libdw_intern_next_unit via dwarf_formref_die.

What happens is that __libdw_intern_next_unit updates the Dwarf's
next_tu_offset, but does not add the TU to the TU search tree. So,
the call to dwarf_offdie_types does not find the TU in the tree, and
will not search any more, causing a failure.

This fix changes __libdw_intern_next_unit to add the TU to the search
tree, rather than relying on __libdw_findcu to do it.
/external/elfutils/tests/Makefile.am
32899ac4f69d4ca4856d5282464c1f9cee928c8a 09-Jul-2011 Roland McGrath <roland@hack.frob.com> Clean up byte order handling in md5 and sha1 code.
/external/elfutils/tests/Makefile.am
3f2290ba080f91b93db882bcdeb577b34742018b 30-May-2011 Mark Wielaard <mjw@redhat.com> Add missing test wrappers to Makefile.am (EXTRA_DIST).
/external/elfutils/tests/Makefile.am
20a217d677c62a01f9b650a1dfef0a82154d115e 24-May-2011 Mark Wielaard <mjw@redhat.com> Add hello_s390.ko testcase to run-strip-reloc.sh.

This new test PASSes, but looking at the size results will show
--reloc-debug-sections isn't making a huge difference for this case.
/external/elfutils/tests/Makefile.am
1662bc3880ae5acae6aa2a3013d193223c36f189 16-May-2011 Mark Wielaard <mjw@redhat.com> strip: Add --reloc-debug-sections option.
/external/elfutils/tests/Makefile.am
7a125b9306c4743eaee062bdab301f890e3c6309 17-May-2011 Mark Wielaard <mjw@redhat.com> strip: Handle SHT_GROUP sections better.
/external/elfutils/tests/Makefile.am
494275c0f41dea71d8ec5b97d01581c95fdfbbdb 28-Mar-2011 Marek Polacek <mpolacek@redhat.com> New test for ebl_dynamic_tag_name.
/external/elfutils/tests/Makefile.am
bd1d16c3a17c227d1379df10e97f6c7865ad1440 16-Mar-2011 Petr Machata <pmachata@redhat.com> Handle repeated requests for invalid abbreviation
/external/elfutils/tests/Makefile.am
02c561914caceb41c36a3eecd01114d8d33ec1f9 10-Mar-2011 Petr Machata <pmachata@redhat.com> Reject requests for abbreviation with code 0
/external/elfutils/tests/Makefile.am
4894221f67d2267f9d701366f257dc2ff44a24c3 07-Mar-2011 Marek Polacek <mpolacek@redhat.com> New test for dwarf_getstring.
/external/elfutils/tests/Makefile.am
c32696c64df869011d3a9a03c824835222cef3f9 03-Mar-2011 Roland McGrath <roland@redhat.com> Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
fec3999dc82e340bdcb41aefca2793f0b10cb825 27-Feb-2011 Jan Kratochvil <jan.kratochvil@redhat.com> Fix readelf --debug-dump=loc crash on multiple input files.
/external/elfutils/tests/Makefile.am
58cfa1c78f45459ad2b5cc9b58b052f44054a9e7 25-Feb-2011 Mark Wielaard <mjw@redhat.com> BUILT_RPATH vs BUILD_RPATH fixup.

* tests/Makefile.am (BUILD_RPATH): Be consistent in naming.
/external/elfutils/tests/Makefile.am
dc34eda5d74a5dd166ea429ab373df8e254db673 03-Feb-2011 Josh Stone <jistone@redhat.com> run-prelink-addr-test.sh: Add a .dynbss+.bss prelink split
/external/elfutils/tests/Makefile.am
ccbccef5895f375feba088c603b3c6954b4ee3ba 12-Jan-2011 Josh Stone <jistone@redhat.com> Add data-only prelink tests
/external/elfutils/tests/Makefile.am
cf51471777953c1c6cfcbe7ad5df09c23c1964be 12-Jan-2011 Josh Stone <jistone@redhat.com> Expand testfile53 for 32/64-bit
/external/elfutils/tests/Makefile.am
d41d9a6917721152ad2a9963cf8f487787041e9e 12-Jan-2011 Josh Stone <jistone@redhat.com> Expand testfile52 for 32/64-bit and stripped headers
/external/elfutils/tests/Makefile.am
ffa02004b21f24b14281c30045139be61075b73f 11-Jan-2011 Josh Stone <jistone@redhat.com> Test cases for libdwfl vs prelink.
/external/elfutils/tests/Makefile.am
26618d8ba30ce71d1ac4a11f02cb13dd7ccd330f 14-Apr-2010 Roland McGrath <roland@redhat.com> Add missing file for dist.
/external/elfutils/tests/Makefile.am
77961b517488065e852ac83a1a5cdf7d18fe954c 06-Apr-2010 Petr Machata <pmachata@redhat.com> Testcase for elf_getdata/elf_flagdata on NOBITS section
/external/elfutils/tests/Makefile.am
22359e265395fd2f8267190ef97f5417770e6206 16-Feb-2010 Roland McGrath <roland@redhat.com> Clean up and consolidate automake magic to reduce duplication and to work with --disable-dependency-tracking.
/external/elfutils/tests/Makefile.am
3c84db3b4b610bf636c4363abb6d3dac5ae020f9 25-Jun-2009 Roland McGrath <roland@redhat.com> CFI support: lookup by PC and translate into DWARF location per register
/external/elfutils/tests/Makefile.am
0c735a9f6e2a47ba06914de1eb84bfa4300b4b03 08-May-2009 Roland McGrath <roland@redhat.com> Cosmetic fixup and missed EXTRA_DIST file.
/external/elfutils/tests/Makefile.am
d24c7bfeca98d0142bb46a44e248f57675a8c0c3 07-May-2009 Petr Machata <pmachata@redhat.com> Add a test for dwarf_getmacros
/external/elfutils/tests/Makefile.am
f9545c4ac7ec2cf0d5b69aa2db043f9f4df6c6c5 23-Apr-2009 Ulrich Drepper <drepper@myware66.akkadia.org> Fix building tests with mudflap.
/external/elfutils/tests/Makefile.am
19a8e4dbd8268b8f0add9803d80d0266eac1aaa9 22-Apr-2009 Roland McGrath <roland@redhat.com> Fix derelocate crash for non-ET_REL file with some sh_addr at 0.
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
b4d6f0f8064f2b706ea9035ef0393d8299671390 26-Aug-2008 Roland McGrath <roland@redhat.com> Fix up bogon and missing log entries from .pmachata.threads branch.
/external/elfutils/tests/Makefile.am
521c47d2a216fc64098c024fc5ed53532b485f32 11-Apr-2008 Roland McGrath <roland@redhat.com> src/
* strip.c (handle_elf): Don't keep sections that kept symbol tables
refer to. Instead, just be sure to preserve the original symbol
table in the debug file so those symbols go with their sections and
can be elided from the stripped version of the symbol table.


tests/
* testfile48.bz2, testfile48.bz2.debug: New data files.
* Makefile.am (EXTRA_DIST): Add them.
* run-strip-test8.sh: Use them.
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
059c83e5db89955913a39fe6705acca571c32c3f 21-Feb-2008 Roland McGrath <roland@redhat.com> Finish elflint .gnu.attributes checking
/external/elfutils/tests/Makefile.am
c54785af87adcac067f90b1dbc238c29062cf683 01-Feb-2008 Ulrich Drepper <drepper@redhat.com> Implement SHA1 build-id handling in ld.
/external/elfutils/tests/Makefile.am
ff99322e986f8400995b4371dc39ea59e1252d5c 09-Jan-2008 Ulrich Drepper <drepper@redhat.com> Add x86-64 disassembler support.
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
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/tests/Makefile.am
b597dfad924980dede10d7c19d87900b6172e599 16-Oct-2007 Ulrich Drepper <drepper@redhat.com> merge of '92c36bfdbc6468d1711c043b530e0dfe5abb6dec'
and 'c22c8c43f8f68b0bffd4d5ccdb2282c958268742'
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
f6b92284f1d1685c76565c3c255fd48875bc96b9 02-Oct-2007 Roland McGrath <roland@redhat.com> 2007-10-01 Roland McGrath <roland@redhat.com>

* run-readelf-test2.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
099dd52727f2ce1a2c73cde82af8cd5e06368aec 14-Aug-2007 Roland McGrath <roland@redhat.com> missed testdata files
/external/elfutils/tests/Makefile.am
42f686820a19806da629990bf7ae69a6a2fcfb1f 09-Aug-2007 Roland McGrath <roland@redhat.com> 2007-08-09 Roland McGrath <roland@redhat.com>

* dwfl-bug-report.c: Fix header inclusion.
/external/elfutils/tests/Makefile.am
87d4780beb37f265fa89ffd909e77513ef516180 17-Jul-2007 Roland McGrath <roland@redhat.com> 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.
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
9aa8ef7fbb5ada14b7c4585d6c1361aa5eab6f88 18-May-2007 Roland McGrath <roland@redhat.com> src/
2007-05-18 Roland McGrath <roland@redhat.com>

* unstrip.c (copy_elided_sections): Match up non-NOBITS sections with
stripped file, so as not to duplicate a section copied in both.

* strip.c (handle_elf): Keep SHT_NOTE section copies in the debug file.

tests/
2007-05-18 Roland McGrath <roland@redhat.com>

* run-strip-test4.sh (stripped, debugfile): Use new reference files.
* testfile37.bz2: New data file.
* testfile37.debug.bz2: New data file.
* run-unstrip-test2.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
/external/elfutils/tests/Makefile.am
43da9895c6d828ceae65a47f2337e8ef24eb97c1 17-Apr-2007 Roland McGrath <roland@redhat.com> libdw/
2007-04-16 Roland McGrath <roland@redhat.com>

* libdw.map (ELFUTILS_0.127): Add dwfl_module_address_section.

libdwfl/
2007-04-16 Roland McGrath <roland@redhat.com>

* derelocate.c (cache_sections): Apply bias to sh_addr.
(compare_secrefs): Fix address comparison to avoid signed overflow.
(find_section): New function, broken out of ...
(dwfl_module_relocate_address): ... here, call it.
(check_module): New function, broken out of ...
(dwfl_module_relocate_address): ... here, call it.
(dwfl_module_address_section): New function.
* libdwfl.h: Declare it.

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

* dwfl-addr-sect.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(dwfl_addr_sect_LDADD): New variable.
/external/elfutils/tests/Makefile.am
6258e7486eb3eed6e50005946795c5fbf73aa106 13-Mar-2007 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head e0c7abd450c9e49093cfae30af8a22782a74a403)
to branch 'com.redhat.elfutils' (head 2c784d50eee72e33972c333138a3a28df304da63)
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
ce0bdb6ee5f977af9e565f2871ba2b1b37d162a5 05-Feb-2007 Ulrich Drepper <drepper@redhat.com> Implement ar program.

Relax elflint in GNU ld mode for latest idiosyncracies.
/external/elfutils/tests/Makefile.am
ba949b3fdaf4fa8631af0d999a44d71c0964b5ce 10-Jan-2007 Roland McGrath <roland@redhat.com> 2007-01-10 Roland McGrath <roland@redhat.com>

* dwfl-bug-addr-overflow.c: New file.
* Makefile.am (TESTS): Add it.
(dwfl_bug_addr_overflow_LDADD): New variable.
/external/elfutils/tests/Makefile.am
56bc0b83ea81b7e959aaa4e1d01f8b36f2804a52 18-Dec-2006 Ulrich Drepper <drepper@redhat.com> Lock down libelf and elflint a bit more after import of Roland's changes.
/external/elfutils/tests/Makefile.am
19db85901e6d3b620749386f1c5692661dcb74d8 03-Aug-2006 Roland McGrath <roland@redhat.com> backends/
2006-08-03 Roland McGrath <roland@redhat.com>

* sparc_regs.c (sparc_register_name): List 32 FPU regs only for
EM_SPARC. EM_SPARC32PLUS also has 64.


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

* run-allregs.sh: Add sparc cases.
* testfile30.bz2: New data file.
* testfile31.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add them.
/external/elfutils/tests/Makefile.am
47fd77e7bf5a3df32da9f05d6cbdd9d821edee90 12-Jul-2006 Roland McGrath <roland@redhat.com> Rejigger botcho brancho.
/external/elfutils/tests/Makefile.am
cc41562f94052f307da4429f33cc18c7d510b2f5 12-Jul-2006 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head e5cfdd13aa39dfae16b905fd57ff56ad8a131bb5)
to branch 'com.redhat.elfutils' (head 60222fc1981540f15e674b6705fd7a6f628f95a4)
/external/elfutils/tests/Makefile.am
b43797284f61e63e0521e1c7263eb379bdd26995 05-Apr-2006 Roland McGrath <roland@redhat.com> libelf/
2006-04-04 Roland McGrath <roland@redhat.com>

* elf32_updatefile.c (updatemmap): Handle other-endian case.


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

* run-bug1-test.sh: Test a second case, to cover both byte orders.
* testfile29.bz2: New file.
* testfile29.rdwr.bz2: New file.
* Makefile.am (EXTRA_DIST): Add them.
/external/elfutils/tests/Makefile.am
1e9ef50681e20ef14c2ba38aef37a71ff148be08 05-Apr-2006 Ulrich Drepper <drepper@redhat.com> Fix FSF address. No exception for libdwarf.
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
ba718b11356bdb0caea95a49a06ddb61a843cd3e 04-Apr-2006 Ulrich Drepper <drepper@redhat.com> Test case for problem in libelf with writing out existing ELF file with
different location of the section headers.
/external/elfutils/tests/Makefile.am
dd7e22b4a0e47dfab08a14e7fa9bd1fa8b1a968c 10-Mar-2006 Roland McGrath <roland@redhat.com> src/
2006-03-09 Roland McGrath <roland@redhat.com>

* Makefile.am (AM_LDFLAGS): New variable.

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

* Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
/external/elfutils/tests/Makefile.am
4b248ceaa6c5b348b563ca34cc4303ed7533ed3f 12-Jan-2006 Roland McGrath <roland@redhat.com> 2006-01-11 Roland McGrath <roland@redhat.com>

* testfile26.bz2: New data file.
* testfile27.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add them.
* run-allregs.sh: Test s390 data.
/external/elfutils/tests/Makefile.am
94d26ad7385888b46e75dc1949ff7e424288c00d 14-Dec-2005 Roland McGrath <roland@redhat.com> 2005-12-13 Roland McGrath <roland@redhat.com>

* allregs.c (main): Fail if we find no registers.

* run-native-test.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
/external/elfutils/tests/Makefile.am
ba72ab102a8ca35371072311379d2474f8ec674f 12-Dec-2005 Roland McGrath <roland@redhat.com> merge of 9439e2a1c1530d75ff753bccf8e64bd1f560e60f
and c32e76fd50f8c65de92bccb5f68a19d91d1dedc9
/external/elfutils/tests/Makefile.am
d804e72cf0b39827289d2d08a74fa12e0d8a39b9 08-Dec-2005 Roland McGrath <roland@redhat.com> 2005-12-07 Roland McGrath <roland@redhat.com>

* ecp.c (main): Use elf_end to clean up.
/external/elfutils/tests/Makefile.am
f7e1bd98262ea0ee9567b85d95f3b204134e662a 10-Dec-2005 Ulrich Drepper <drepper@redhat.com> Fix generation of strings with relocation type names and add test case.
/external/elfutils/tests/Makefile.am
994b4899278199fc4d307780dac0ea50b238bc74 05-Dec-2005 Roland McGrath <roland@redhat.com> merge of 2cc527e6d8c8ff19dab478f7d12e58f1cfa6d6f5
and 7b542932f3e2947183b45bdbf39d448f457da9fd
/external/elfutils/tests/Makefile.am
af74f5caf37125be18b1134b3584a7db383d8486 18-Nov-2005 Roland McGrath <roland@redhat.com> 2005-11-17 Roland McGrath <roland@redhat.com>

* Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
environment for test-wrapper.sh.
* test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
* test-subr.sh (installed_testrun): Likewise.
Use explicit path in ${bindir}.
/external/elfutils/tests/Makefile.am
575dd39916d6fb5e79428b15f1ab5c7ece249b60 18-Nov-2005 Roland McGrath <roland@redhat.com> 2005-11-17 Roland McGrath <roland@redhat.com>

* Makefile.am (installcheck-local): Fix typo in last change.
/external/elfutils/tests/Makefile.am
e47ab76f02c2a4f4d802ec298969ba67956435fe 17-Nov-2005 Roland McGrath <roland@redhat.com> Update new test after merge.
/external/elfutils/tests/Makefile.am
d7f8d0caa7a357f9f4765e5dc93255f5057eba2e 17-Nov-2005 Roland McGrath <roland@redhat.com> 2005-11-16 Roland McGrath <roland@redhat.com>

* configure.ac: Define HAVE_LIBASM and STANDALONE conditionals.
In config.h, define ELFUTILS_HEADER macro.


tests/
2005-11-16 Roland McGrath <roland@redhat.com>

* configure.ac: New file, for standalone build/dist of test suite.
* Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
(asm_TESTS): New variable, broken out of ...
(TESTS): ... here. Also remove msg_tst.
[!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
(installed_TESTS_ENVIRONMENT): New variable.
[STANDALONE] (TESTS_ENVIRONMENT): Use that.
[!STANDALONE] (installcheck-local): Likewise.
[STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
* addrscopes.c: Include <config.h>.
Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
* allfcts.c: Likewise.
* asm-tst1.c: Likewise.
* asm-tst2.c: Likewise.
* asm-tst3.c: Likewise.
* asm-tst4.c: Likewise.
* asm-tst5.c: Likewise.
* asm-tst6.c: Likewise.
* asm-tst7.c: Likewise.
* asm-tst8.c: Likewise.
* asm-tst9.c: Likewise.
* dwflmodtest.c: Likewise.
* find-prologues.c: Likewise.
* funcscopes.c: Likewise.
* get-aranges.c: Likewise.
* get-files.c: Likewise.
* get-lines.c: Likewise.
* get-pubnames.c: Likewise.
* line2addr.c: Likewise.
* newscn.c: Likewise.
* show-abbrev.c: Likewise.
* show-die-info.c: Likewise.
* update3.c: Likewise.
* update4.c: Likewise.

* dwflmodtest.c (print_instance): Don't use INTUSE.
(options): Don't use N_ macro.
/external/elfutils/tests/Makefile.am
1b8b446a794ac4babfd687ca48de32e5f4aaa539 16-Nov-2005 Roland McGrath <roland@redhat.com> 2005-11-15 Roland McGrath <roland@redhat.com>

* configure.ac: Add --enable-tests-rpath option.


tests/
2005-11-15 Roland McGrath <roland@redhat.com>

* Makefile.am (BUILD_RPATH): New variable.
[TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
(tests_rpath): New variable.
(installcheck-local): Pass it to test-wrapper.sh.
* test-wrapper.sh: In "installed" format, take yes/no value
for elfutils_tests_rpath, which export. When running a test
binary for installcheck, exit 77.
* test-subr.sh (installed_testrun): When running a test binary
for installcheck, exit 77 if $elfutils_tests_rpath = yes.
/external/elfutils/tests/Makefile.am
07d4f2fc1cb53f170a71bc13617bbdd9cb1c3c60 28-Oct-2005 Roland McGrath <roland@redhat.com> libdw/
Fixes to last changes.

tests/
2005-10-27 Roland McGrath <roland@redhat.com>

* run-find-prologues.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
/external/elfutils/tests/Makefile.am
39cec7a022159c4d05867c3ca5d8f5c4df462d95 30-Aug-2005 Ulrich Drepper <drepper@redhat.com> Add coverage analysis of test suite.
/external/elfutils/tests/Makefile.am
fbe998a0b1be1f006bc72e5138fb38c188cc0433 29-Aug-2005 Ulrich Drepper <drepper@redhat.com> merge of 333c187506c852455e9f7be44fa9adc360416217
and 79955b942e3f0ddc71117feea5754df61edcc42a
/external/elfutils/tests/Makefile.am
71e15a01742e5d5de9c6260d4526146be54e5a8a 27-Aug-2005 Roland McGrath <roland@redhat.com> libdw/
2005-08-27 Roland McGrath <roland@redhat.com>

* dwarf_getscopes.c (dwarf_getscopes): Rewritten using
__libdw_visit_scopes.

* dwarf_getscopes_die.c: New file.
* Makefile.am (libdw_a_SOURCES): Add it.
* libdw.h: Declare dwarf_getscopes_die.
* libdw.map: Bump to 0.115 and add it.

* libdw_visit_scopes.c (__libdw_visit_scopes): Pass a struct
containing a DIE and its parent pointer, instead of just Dwarf_Die.
Take two functions for both preorder and postorder visitors.
* libdwP.h: Update decl.
(struct Dwarf_Die_Chain): New type.
* dwarf_func_inline.c: Update uses.

* dwarf_diename.c (dwarf_diename): Use dwarf_attr_integrate.
Add INTDEF.
* libdwP.h: Add INTDECL.
* dwarf_func_name.c (dwarf_func_name): Use dwarf_diename.


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

* addr2line.c (dwarf_diename_integrate): Function removed.
(print_dwarf_function): Use plain dwarf_diename.


tests/
2005-08-27 Roland McGrath <roland@redhat.com>

* run-funcscopes.sh: New file.
* testfile25.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.

2005-08-26 Roland McGrath <roland@redhat.com>

* addrscopes.c (dwarf_diename_integrate): Removed.
(print_vars, handle_address): Use plain dwarf_diename.

2005-08-25 Roland McGrath <roland@redhat.com>

* funcscopes.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(funcscopes_LDADD): New variable.

* run-addrscopes.sh: Add another case.
* testfile24.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.

* addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
pass it to dwarf_getscopes.
(main): Pass it, true when '=' follows an address.
/external/elfutils/tests/Makefile.am
4c305da9de0ecfe9af64cb6787b2b4b8a6aa8dd5 25-Aug-2005 Roland McGrath <roland@redhat.com> 2005-08-24 Roland McGrath <roland@redhat.com>

* line2addr.c (print_address): Omit () for DSOs.
/external/elfutils/tests/Makefile.am
3d413d4b05005bbd4c384b60e3797caf57f120d5 28-Aug-2005 Ulrich Drepper <drepper@redhat.com> Implement --enable-gconv option for configure.
/external/elfutils/tests/Makefile.am
83dd0d6ac034aab02c68f5957b3f4e7c9e587052 28-Aug-2005 Ulrich Drepper <drepper@redhat.com> Fix printing of location of string in strings.
Add test for strings.
spec file update.
/external/elfutils/tests/Makefile.am
f81343a6ed3066a9d466f4551b6355d2a5411927 24-Aug-2005 Ulrich Drepper <drepper@redhat.com> mudlfap binaries should find the libebl modules.
/external/elfutils/tests/Makefile.am
2eb660fdc52b3aaab6215fc245743d0edfb251f4 24-Aug-2005 Ulrich Drepper <drepper@redhat.com> Fix building with mudflap.
/external/elfutils/tests/Makefile.am
d17fac7e89666b47811581b10b5ca0d253a3a82d 23-Aug-2005 Roland McGrath <roland@redhat.com> 2005-08-23 Roland McGrath <roland@redhat.com>

* dwarf_attr_integrate.c (dwarf_attr_integrate): Treat
DW_AT_specification the same as DW_AT_abstract_origin.
/external/elfutils/tests/Makefile.am
f5fda7d93acc0c9b0da0173fee746ced8034d8d0 19-Aug-2005 Roland McGrath <roland@redhat.com> libdw/
2005-08-18 Roland McGrath <roland@redhat.com>

* dwarf_getscopes.c (dwarf_getscopes): Include the CU itself as
outermost scope in the results.

tests/
2005-08-18 Roland McGrath <roland@redhat.com>

* run-addrscopes.sh: New file.
* testfile22.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
/external/elfutils/tests/Makefile.am
9a1f3654af5f63ca127894e07812d90411b4d56f 18-Aug-2005 Roland McGrath <roland@redhat.com> 2005-08-18 Roland McGrath <roland@redhat.com>

* addrscopes.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(addrscopes_LDADD): New variable.
/external/elfutils/tests/Makefile.am
e48c05b6262663024aba80365ebe003b64a3015d 15-Aug-2005 Ulrich Drepper <drepper@redhat.com> Type in makefile change.
/external/elfutils/tests/Makefile.am
5d83229c852a7e7359c12b58864751db2c755926 15-Aug-2005 Ulrich Drepper <drepper@redhat.com> Implement ranlib. This required one little extension to libelf.
/external/elfutils/tests/Makefile.am
637963b564240fe6db4908b28238b75aa0758a06 07-Aug-2005 Ulrich Drepper <drepper@redhat.com> Relax elflint a bit.
Run elflint on all programs and DSOs.
/external/elfutils/tests/Makefile.am
47be795df365174601a08535bf61d22301697ef8 07-Aug-2005 Ulrich Drepper <drepper@redhat.com> Implement --enable-gprof option in configure script.
/external/elfutils/tests/Makefile.am
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/tests/Makefile.am
18618fd74777576cc20dce341bb71be327f9ed48 28-Jul-2005 Ulrich Drepper <drepper@redhat.com> Merge all of libdwfl.a into libdw.a. libdwfl.a is not installed.

Fix building of libdwfl. libdwfl.a must not depend on libwu.a
since the latter is not available after installation. Add copies
of the crc32 files to libdwfl.
/external/elfutils/tests/Makefile.am
1838590b6a448e3e2d0cc3ea6a96c8d09d3f21a4 28-Jul-2005 Roland McGrath <roland@redhat.com> Merge libdwfl contents into libdw.so
/external/elfutils/tests/Makefile.am
b08d5a8fb42f4586d756068065186b5af7e48dad 26-Jul-2005 Ulrich Drepper <drepper@redhat.com> Adjust for monotone.
/external/elfutils/tests/Makefile.am