Ulrich Drepper [Wed, 10 Jan 2007 21:02:34 +0000 (21:02 +0000)]
Update copyright year.
Ulrich Drepper [Wed, 10 Jan 2007 20:58:17 +0000 (20:58 +0000)]
Improve diagnostic message of run-elflint-self.sh.
Roland McGrath [Wed, 10 Jan 2007 20:44:29 +0000 (20:44 +0000)]
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.
Roland McGrath [Fri, 29 Dec 2006 20:44:16 +0000 (20:44 +0000)]
remove extra log entry
Ulrich Drepper [Fri, 29 Dec 2006 20:36:38 +0000 (20:36 +0000)]
Correct result for whole address range in compare_modules.
Ulrich Drepper [Mon, 18 Dec 2006 22:39:01 +0000 (22:39 +0000)]
One more update for changelog.
Ulrich Drepper [Mon, 18 Dec 2006 22:38:08 +0000 (22:38 +0000)]
Lock down libelf and elflint a bit more after import of Roland's changes.
Roland McGrath [Sun, 17 Dec 2006 23:56:51 +0000 (23:56 +0000)]
propagate from branch 'com.redhat.elfutils' (head
b4944cf70801d9dac056f4f80ef1334e5acb8bdc)
to branch 'com.redhat.elfutils.roland.pending' (head
e7e402c668fb0670fc5f6b6a522853ae88f32f11)
Ulrich Drepper [Sat, 9 Dec 2006 21:10:19 +0000 (21:10 +0000)]
Compare content of both hash tables.
Ulrich Drepper [Tue, 10 Oct 2006 17:32:41 +0000 (17:32 +0000)]
Release.
Ulrich Drepper [Tue, 10 Oct 2006 15:34:34 +0000 (15:34 +0000)]
Whitespace fixes.
Roland McGrath [Tue, 10 Oct 2006 00:25:21 +0000 (00:25 +0000)]
2006-10-09 Roland McGrath <roland@redhat.com>
* ia64_symbol.c (ia64_reloc_simple_type): Treat SECREL types as simple.
Roland McGrath [Tue, 15 Aug 2006 01:57:03 +0000 (01:57 +0000)]
NEWS items for 0.123
Roland McGrath [Tue, 15 Aug 2006 01:37:23 +0000 (01:37 +0000)]
libdwfl/
2006-08-14 Roland McGrath <roland@redhat.com>
* linux-kernel-modules.c (try_kernel_name): If the call to
dwfl_standard_find_debuginfo produces no results, try it again
with NULL as DEBUGLINK_FILE to try *FNAME with .debug suffix.
* find-debuginfo.c (DEFAULT_DEBUGINFO_PATH): Macro moved ...
* libdwflP.h: ... to here.
* linux-kernel-modules.c (try_kernel_name): Skip manual open if it
repeats the first thing dwfl_standard_find_debuginfo will try.
* linux-kernel-modules.c (MODULE_SECT_NAME_LEN): New macro.
(dwfl_linux_kernel_module_section_address): If a /sys file is missing
and the section name is >= MODULE_SECT_NAME_LEN, try truncating the
section name.
Ulrich Drepper [Tue, 8 Aug 2006 22:00:11 +0000 (22:00 +0000)]
Changes to fix GNU-style hash table handling.
Roland McGrath [Tue, 8 Aug 2006 20:02:11 +0000 (20:02 +0000)]
2006-08-08 Roland McGrath <roland@redhat.com>
* Makefile.am (%.os): Don't depend on %.o, since we don't actually
need static object for anything here. This rule is the only source of
.deps/ files.
Roland McGrath [Tue, 8 Aug 2006 19:08:50 +0000 (19:08 +0000)]
2006-06-23 Stepan Kasal <skasal@redhat.com>
* Makefile.am (PACKAGE_VERSION): Remove superfluous definition.
Roland McGrath [Thu, 3 Aug 2006 08:52:46 +0000 (08:52 +0000)]
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.
Roland McGrath [Fri, 21 Jul 2006 12:17:27 +0000 (12:17 +0000)]
Clean up ia64 reg names.
Roland McGrath [Fri, 21 Jul 2006 11:26:51 +0000 (11:26 +0000)]
Take a crack at HFA recognition too.
Roland McGrath [Fri, 21 Jul 2006 10:06:31 +0000 (10:06 +0000)]
backends/
2006-07-21 Roland McGrath <roland@redhat.com>
* i386_regs.c (i386_register_name): Fix return value when using stpcpy.
* ppc_regs.c (ppc_register_name): Likewise.
* s390_regs.c (s390_register_name): Likewise.
* ia64_retval.c: New file.
* Makefile.am (ia64_SRCS): Add it.
* ia64_init.c (ia64_init): Install return_value_location hook.
* ia64_regs.c: New file.
* Makefile.am (ia64_SRCS): Add it.
* ia64_init.c (ia64_init): Install register_name hook.
tests/
2006-07-21 Roland McGrath <roland@redhat.com>
* allregs.c (struct reginfo): Increase size of name.
(one_register): Assert that it's big enough.
Roland McGrath [Mon, 17 Jul 2006 08:41:15 +0000 (08:41 +0000)]
2006-07-17 Roland McGrath <roland@redhat.com>
* elflint.c (struct version_namelist): Use GElf_Versym for `ndx' field.
(add_version): Likewise for argument.
(check_versym): Cast constant to GElf_Versym for comparison.
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.