Roland McGrath [Thu, 13 Jul 2006 03:59:46 +0000 (03:59 +0000)]
2006-07-12 Roland McGrath <roland@redhat.com>
* readelf.c (handle_gnu_hash): Add casts for machines where
Elf32_Word != unsigned int.
Ulrich Drepper [Wed, 12 Jul 2006 20:46:54 +0000 (20:46 +0000)]
Release.
Roland McGrath [Wed, 12 Jul 2006 20:04:34 +0000 (20:04 +0000)]
Rejigger botcho brancho.
Ulrich Drepper [Wed, 12 Jul 2006 19:59:02 +0000 (19:59 +0000)]
Fix printf format for 32bit archs.
Ulrich Drepper [Wed, 12 Jul 2006 19:54:51 +0000 (19:54 +0000)]
Ulrich Drepper [Wed, 12 Jul 2006 19:42:23 +0000 (19:42 +0000)]
propagate from branch 'com.redhat.elfutils.roland.pending' (head
e5cfdd13aa39dfae16b905fd57ff56ad8a131bb5)
to branch 'com.redhat.elfutils' (head
60222fc1981540f15e674b6705fd7a6f628f95a4)
Ulrich Drepper [Wed, 12 Jul 2006 19:53:08 +0000 (19:53 +0000)]
Adjust for internal_function_def removal.
Ulrich Drepper [Wed, 12 Jul 2006 18:39:51 +0000 (18:39 +0000)]
Don't use internal visibility anywhere.
Ulrich Drepper [Wed, 12 Jul 2006 07:46:03 +0000 (07:46 +0000)]
propagate from branch 'com.redhat.elfutils.roland.pending' (head
1ac619debea0e3ecfd2704e8bdc803c6c893b62a)
to branch 'com.redhat.elfutils' (head
830d38d0a2ce24911160a871963f093209e69d9e)
Ulrich Drepper [Wed, 12 Jul 2006 05:26:13 +0000 (05:26 +0000)]
Make sure gnuhash_xlate.h is distributed.
Ulrich Drepper [Wed, 12 Jul 2006 05:22:32 +0000 (05:22 +0000)]
Adjust for final version of GNU-style hash table format.
Ulrich Drepper [Tue, 11 Jul 2006 22:32:28 +0000 (22:32 +0000)]
Fix overflow in compare_modules return value.
Ulrich Drepper [Fri, 7 Jul 2006 03:43:47 +0000 (03:43 +0000)]
Roland McGrath [Thu, 15 Jun 2006 22:38:05 +0000 (22:38 +0000)]
2006-06-15 Roland McGrath <roland@redhat.com>
* libelf.h (elf_getarsym): Fix comment typo.
Rename second parameter to be more explanatory.
(elf_getident, elf_rawhide): Likewise.
Ulrich Drepper [Thu, 15 Jun 2006 03:21:46 +0000 (03:21 +0000)]
New spec file.
Ulrich Drepper [Thu, 6 Jul 2006 23:58:40 +0000 (23:58 +0000)]
Updated support for new hash table format.
Fix handling of discarded COMDAT symbols in ld.
Ulrich Drepper [Wed, 5 Jul 2006 19:18:11 +0000 (19:18 +0000)]
Correctly recognize discarded COMDATA symbols when constructing the
symbol table.
Ulrich Drepper [Wed, 5 Jul 2006 07:34:27 +0000 (07:34 +0000)]
Linker work.
GNU hash support.
64-bit SysV hash support.
Ulrich Drepper [Thu, 15 Jun 2006 03:07:46 +0000 (03:07 +0000)]
Ulrich Drepper [Mon, 12 Jun 2006 23:25:17 +0000 (23:25 +0000)]
(create_verneed_data): Pretty printing.
Roland McGrath [Tue, 13 Jun 2006 19:48:19 +0000 (19:48 +0000)]
2006-06-13 Roland McGrath <roland@redhat.com>
* elf-from-memory.c (elf_from_remote_memory): Fix 32/64 typo.
Use __libdwfl_seterrno for elf_memory failure.
Roland McGrath [Tue, 13 Jun 2006 19:41:58 +0000 (19:41 +0000)]
2006-06-13 Roland McGrath <roland@redhat.com>
* ppc64_retval.c: Remove SVR4_STRUCT_RETURN braino.
Ulrich Drepper [Mon, 12 Jun 2006 22:40:23 +0000 (22:40 +0000)]
Don't create INTERP and PHDR program header entry if a DSO is created without
a specific interpreter.
Ignore duplicate COMDAT group sections.
elflint should not complain about anything about *_NONE relocations.
Add support to libebl to determine whether given relocation is *_NONE
relocation.
Ulrich Drepper [Sun, 11 Jun 2006 20:25:23 +0000 (20:25 +0000)]
* elflint.c (check_dynamic): Fix checking value of tags which are
offsets in the string section. Make sure DT_STRTAB points to the
section referenced in sh_link.
* ld.c (options): Add headers. Add short option 'R' for '--rpath'.
Ulrich Drepper [Sun, 11 Jun 2006 09:07:37 +0000 (09:07 +0000)]
Recognize --eh=frame-hdr option.
Don't create output sections in executables and DSOs with SHF_GROUP set.
Ulrich Drepper [Sun, 11 Jun 2006 00:53:45 +0000 (00:53 +0000)]
Handle -z record/ignore as position dependent.
Ulrich Drepper [Sun, 11 Jun 2006 00:20:43 +0000 (00:20 +0000)]
Implement -z execstack/noexecstack options.
Ulrich Drepper [Sat, 10 Jun 2006 06:50:47 +0000 (06:50 +0000)]
Ulrich Drepper [Sat, 10 Jun 2006 06:33:00 +0000 (06:33 +0000)]
* i386_ld.c (elf_i386_finalize_plt): Don't change symbol table entries
for PLT entries if there is no local definition.
* ld.c (parse_option): Handle -z ignore like --as-needed and
-z record like --no-as-needed.
* ld.h (struct ld_state): Remove ignore_unused_dsos field.
* ldgeneric.c (new_generated_scn): Always compute ndt_needed by
looping over DSOs. When deciding about adding DT_NEEDED entries
use ->as_needed instead of ignore_unused_dsos.
Ulrich Drepper [Sun, 4 Jun 2006 18:33:56 +0000 (18:33 +0000)]
Ulrich Drepper [Wed, 31 May 2006 15:50:43 +0000 (15:50 +0000)]
Handle as-needed options.
Ulrich Drepper [Mon, 29 May 2006 01:07:54 +0000 (01:07 +0000)]
No need for contributed line in installed header.
Ulrich Drepper [Sun, 28 May 2006 20:28:19 +0000 (20:28 +0000)]
Little clenaup.
Ulrich Drepper [Sun, 28 May 2006 18:44:59 +0000 (18:44 +0000)]
No need for non-gcc support.
Ulrich Drepper [Sun, 28 May 2006 08:00:33 +0000 (08:00 +0000)]
0.121 release.
Ulrich Drepper [Sun, 28 May 2006 07:47:25 +0000 (07:47 +0000)]
Fix rewriting of existing files.
Ulrich Drepper [Sun, 28 May 2006 00:01:43 +0000 (00:01 +0000)]
readelf: Clarify ELF header output.
Ulrich Drepper [Sat, 27 May 2006 21:57:27 +0000 (21:57 +0000)]
readelf: Better notation for addon in relocations.
Ulrich Drepper [Sat, 27 May 2006 18:19:23 +0000 (18:19 +0000)]
Add extern "C" for libdwfl.h and libebl.h.
Ulrich Drepper [Sat, 27 May 2006 18:15:40 +0000 (18:15 +0000)]
Prepare libdw.h for use in C++.
Ulrich Drepper [Mon, 22 May 2006 18:16:45 +0000 (18:16 +0000)]
Handle files without aranges information.
Ulrich Drepper [Mon, 22 May 2006 01:30:56 +0000 (01:30 +0000)]
Add some more nonnull attributes.
Ulrich Drepper [Wed, 17 May 2006 05:28:36 +0000 (05:28 +0000)]
Don't crash if ->modules is NULL.
Ulrich Drepper [Wed, 5 Apr 2006 03:13:34 +0000 (03:13 +0000)]
One more fixup for elf_update.
Roland McGrath [Wed, 5 Apr 2006 01:35:26 +0000 (01:35 +0000)]
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.
Roland McGrath [Wed, 5 Apr 2006 01:00:08 +0000 (01:00 +0000)]
Back out typo
Roland McGrath [Wed, 5 Apr 2006 00:59:43 +0000 (00:59 +0000)]
Clean up whitespace in license text.
Roland McGrath [Tue, 4 Apr 2006 23:48:55 +0000 (23:48 +0000)]
2006-04-04 Roland McGrath <roland@redhat.com>
* POTFILES.in: Comment out lib/xstrdup.c, not distributed any more.
Ulrich Drepper [Tue, 4 Apr 2006 22:29:06 +0000 (22:29 +0000)]
Fix FSF address. No exception for libdwarf.
Ulrich Drepper [Tue, 4 Apr 2006 22:07:54 +0000 (22:07 +0000)]
Prepare for 0.120 release.
Ulrich Drepper [Tue, 4 Apr 2006 21:56:13 +0000 (21:56 +0000)]
Remove exception grant from lib/x*c files. Don't build xstrdup.
Ulrich Drepper [Tue, 4 Apr 2006 21:38:57 +0000 (21:38 +0000)]
propagate from branch 'com.redhat.elfutils.roland.pending' (head
4f8fc821345feef58624f0aa5b470d4827577d8c)
to branch 'com.redhat.elfutils' (head
76e26cb54695fd3b21ee8fb5be3036bd68200633)
Ulrich Drepper [Tue, 4 Apr 2006 21:31:16 +0000 (21:31 +0000)]
Test case for problem in libelf with writing out existing ELF file with
different location of the section headers.
Ulrich Drepper [Tue, 4 Apr 2006 21:07:28 +0000 (21:07 +0000)]
Fix read/write of existing file using mmap and different layout of the ELF
file.
Roland McGrath [Thu, 9 Mar 2006 23:05:47 +0000 (23:05 +0000)]
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.
Roland McGrath [Thu, 2 Mar 2006 07:51:50 +0000 (07:51 +0000)]
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.
Roland McGrath [Tue, 28 Feb 2006 22:13:20 +0000 (22:13 +0000)]
2006-02-28 Roland McGrath <roland@redhat.com>
* dwarf.h: Add missing DW_ATE_*, DW_TAG_*, DW_LANG_*, DW_CFA_*,
DW_OP_* values, to match DWARF 3.0. Add new DW_DS_*, DW_END_*
values from DWARF 3.0.
Roland McGrath [Mon, 27 Feb 2006 04:54:26 +0000 (04:54 +0000)]
libdw/
2006-02-22 Roland McGrath <roland@redhat.com>
* libdw.map: Bump to 0.120; export dwfl_version.
libdwfl/
* dwfl_version.c: New file.
* Makefile.am (libdwfl_a_SOURCES): Add it.
* libdwfl.h: Declare dwfl_version.
Roland McGrath [Mon, 27 Feb 2006 04:53:00 +0000 (04:53 +0000)]
2006-02-26 Roland McGrath <roland@redhat.com>
* offline.c (dwfl_report_offline): Account for dwfl_report_elf having
aligned up from DWFL->offline_next_address when checking for overlap.
Roland McGrath [Wed, 22 Feb 2006 19:59:31 +0000 (19:59 +0000)]
2006-02-22 Roland McGrath <roland@redhat.com>
* ppc64_retval.c (SVR4_STRUCT_RETURN): New macro.
(ppc64_return_value_location): Use registers for aggregate conditional
on that.
* ppc_retval.c (SVR4_STRUCT_RETURN): New macro.
(ppc_return_value_location): Use registers for aggregate conditional
on that.
Roland McGrath [Fri, 13 Jan 2006 20:13:21 +0000 (20:13 +0000)]
2006-01-13 Roland McGrath <roland@redhat.com>
* run-native-test.sh: Do kill -9 and reap explicitly at end, since
bash 3.1 whines when it's done in the trap 0 handler.
tailor [Fri, 13 Jan 2006 18:50:48 +0000 (18:50 +0000)]
Roland McGrath [Fri, 13 Jan 2006 00:51:21 +0000 (00:51 +0000)]
2006-01-12 Roland McGrath <roland@redhat.com>
* s390_retval.c: New file.
* Makefile.am (s390_SRCS): Add it.
* s390_init.c (s390_init): Install return_value_location hook.
Roland McGrath [Thu, 12 Jan 2006 03:34:38 +0000 (03:34 +0000)]
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.
Roland McGrath [Thu, 12 Jan 2006 03:08:35 +0000 (03:08 +0000)]
2006-01-11 Roland McGrath <roland@redhat.com>
* s390_regs.c: New file.
* Makefile.am (s390_SRCS): Add it.
* s390_init.c (s390_init): Install register_name hook.
Roland McGrath [Thu, 12 Jan 2006 03:00:55 +0000 (03:00 +0000)]
2006-01-11 Roland McGrath <roland@redhat.com>
* s390_reloc.def: Update bits per
Martin Schwidefsky <schwidefsky@de.ibm.com>.
Roland McGrath [Fri, 23 Dec 2005 01:51:43 +0000 (01:51 +0000)]
2005-12-22 Roland McGrath <roland@redhat.com>
* libdw.map: Bump to 0.119; export dwfl_linux_proc_maps_report.
Roland McGrath [Fri, 23 Dec 2005 01:49:50 +0000 (01:49 +0000)]
2005-12-22 Roland McGrath <roland@redhat.com>
* argp-std.c (parse_opt): Call dwfl_end in failure cases.
* linux-proc-maps.c (proc_maps_report): New function, broken out of ...
(dwfl_linux_proc_report): ... here. Call it.
(dwfl_linux_proc_maps_report): New function.
* libdwfl.h: Declare it.
* libdwflP.h: Add INTDECL.
* argp-std.c (options, parse_opt): Grok -M/--linux-process-map.
Roland McGrath [Fri, 23 Dec 2005 01:45:21 +0000 (01:45 +0000)]
2005-12-22 Roland McGrath <roland@redhat.com>
* dwfl_nextcu.c (dwfl_nextcu): Don't fail when dwfl_module_getdwarf
failed with DWFL_E_NO_DWARF.
Roland McGrath [Thu, 15 Dec 2005 02:37:09 +0000 (02:37 +0000)]
2005-12-14 Roland McGrath <roland@redhat.com>
* run-native-test.sh: Redirect output from native test process.
Roland McGrath [Tue, 13 Dec 2005 23:24:37 +0000 (23:24 +0000)]
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.
Roland McGrath [Mon, 12 Dec 2005 08:35:55 +0000 (08:35 +0000)]
2005-12-12 Roland McGrath <roland@redhat.com>
* dwarf_ranges.c: Copy CU base address-finding code from
dwarf_getlocation.
Roland McGrath [Mon, 12 Dec 2005 00:04:33 +0000 (00:04 +0000)]
Roland McGrath [Fri, 9 Dec 2005 23:40:30 +0000 (23:40 +0000)]
2005-12-09 Roland McGrath <roland@redhat.com>
* dwarf_getlocation.c (dwarf_getlocation_addr): Add some unlikelys.
Delay CU base lookup until it's needed.
If CU base lookup fails with no error, flag invalid DWARF.
Roland McGrath [Thu, 8 Dec 2005 01:36:18 +0000 (01:36 +0000)]
2005-12-07 Roland McGrath <roland@redhat.com>
* gelf_xlate.c [! ALLOW_UNALIGNED] (union unaligned): New type.
(FETCH, STORE): New macros.
(INLINE3): Use those to do alignment-friendly conversion.
* elf32_getshdr.c: Include map_address and start_offset in alignment
calculations.
* elf32_getphdr.c: Likewise.
Roland McGrath [Thu, 8 Dec 2005 01:36:05 +0000 (01:36 +0000)]
w/s fixup
Roland McGrath [Thu, 8 Dec 2005 01:35:42 +0000 (01:35 +0000)]
2005-12-07 Roland McGrath <roland@redhat.com>
* ecp.c (main): Use elf_end to clean up.
Ulrich Drepper [Fri, 13 Jan 2006 18:47:46 +0000 (18:47 +0000)]
0.119 release preparation.
Ulrich Drepper [Sat, 10 Dec 2005 17:32:38 +0000 (17:32 +0000)]
Fix generation of strings with relocation type names and add test case.
Ulrich Drepper [Wed, 7 Dec 2005 00:52:10 +0000 (00:52 +0000)]
0.118 release.
Roland McGrath [Mon, 5 Dec 2005 22:46:21 +0000 (22:46 +0000)]
Ulrich Drepper [Sun, 4 Dec 2005 16:47:24 +0000 (16:47 +0000)]
More relaxation for unloaded reloc sections.
Ulrich Drepper [Sun, 4 Dec 2005 15:51:06 +0000 (15:51 +0000)]
elflint now checks whether program header entries which must be
allocated point to loaded segments.
Don't bail out on relocations not expected for file type if they are
not loaded.
Roland McGrath [Sat, 26 Nov 2005 00:38:14 +0000 (00:38 +0000)]
Missing ChangeLog commit
Roland McGrath [Mon, 21 Nov 2005 23:40:54 +0000 (23:40 +0000)]
2005-11-21 Roland McGrath <roland@redhat.com>
* linux-kernel-modules.c (dwfl_linux_kernel_module_section_address):
Don't leak malloc'd file name.
If a /sys/.../sections file is missing and starts with ".init",
try the variant with "_init" too; catches PPC64 kernel braindamage.
Roland McGrath [Sat, 19 Nov 2005 21:36:37 +0000 (21:36 +0000)]
backends/
2005-11-19 Roland McGrath <roland@redhat.com>
* ppc64_reloc.def: REL30 -> ADDR30.
libelf/
2005-11-19 Roland McGrath <roland@redhat.com>
* elf.h: Update from glibc.
Roland McGrath [Sat, 19 Nov 2005 07:40:29 +0000 (07:40 +0000)]
2005-11-18 Roland McGrath <roland@redhat.com>
* alpha_init.c: Use HOOK macro.
* arm_init.c: Likewise.
* i386_init.c: Likewise.
* ia64_init.c: Likewise.
* ppc64_init.c: Likewise.
* ppc_init.c: Likewise.
* s390_init.c: Likewise.
* sh_init.c: Likewise.
* sparc_init.c: Likewise.
* x86_64_init.c: Likewise.
Roland McGrath [Fri, 18 Nov 2005 23:55:47 +0000 (23:55 +0000)]
2005-11-18 Roland McGrath <roland@redhat.com>
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
tests/
2005-11-18 Roland McGrath <roland@redhat.com>
* test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
* test-wrapper.sh: Likewise.
Ulrich Drepper [Fri, 18 Nov 2005 03:25:35 +0000 (03:25 +0000)]
Preparation for 0.117 release.
Roland McGrath [Fri, 18 Nov 2005 02:30:43 +0000 (02:30 +0000)]
2005-11-17 Roland McGrath <roland@redhat.com>
* Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
(CLEANFILES): Add libebl_$(m).so.
Roland McGrath [Fri, 18 Nov 2005 02:25:14 +0000 (02:25 +0000)]
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}.
Roland McGrath [Fri, 18 Nov 2005 02:24:43 +0000 (02:24 +0000)]
2005-11-17 Roland McGrath <roland@redhat.com>
* Makefile.am (uninstall): Don't try to remove $(pkgincludedir).
Roland McGrath [Fri, 18 Nov 2005 01:42:03 +0000 (01:42 +0000)]
NEWS updates
Roland McGrath [Fri, 18 Nov 2005 01:41:52 +0000 (01:41 +0000)]
2005-11-17 Roland McGrath <roland@redhat.com>
* Makefile.am (installcheck-local): Fix typo in last change.
Roland McGrath [Thu, 17 Nov 2005 23:09:19 +0000 (23:09 +0000)]
2005-11-17 Roland McGrath <roland@redhat.com>
* elf.h: Update from glibc.
Roland McGrath [Thu, 17 Nov 2005 22:47:38 +0000 (22:47 +0000)]
2005-11-17 Roland McGrath <roland@redhat.com>
* ppc_reloc.def: Update bits per Alan Modra <amodra@bigpond.net.au>.
* ppc64_reloc.def: Likewise.
Roland McGrath [Thu, 17 Nov 2005 03:16:00 +0000 (03:16 +0000)]
Update new test after merge.
Roland McGrath [Thu, 17 Nov 2005 02:32:03 +0000 (02:32 +0000)]
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.
Roland McGrath [Wed, 16 Nov 2005 23:54:32 +0000 (23:54 +0000)]
Anchor regexps.
Roland McGrath [Wed, 16 Nov 2005 22:46:04 +0000 (22:46 +0000)]
2005-11-16 Roland McGrath <roland@redhat.com>
* libebl.h: Use "" for elf-knowledge.h, not <>.