Roland McGrath [Fri, 27 Apr 2007 04:07:41 +0000 (04:07 +0000)]
2007-04-26 Roland McGrath <roland@redhat.com>
* run-elflint-self.sh: Run all tests even if one fails.
Roland McGrath [Fri, 27 Apr 2007 03:26:04 +0000 (03:26 +0000)]
2007-04-26 Roland McGrath <roland@redhat.com>
* alpha_regs.c: New file.
* Makefile.am (alpha_SRCS): Add it.
* alpha_init.c (alpha_init): Initialize register_info hook.
Roland McGrath [Wed, 25 Apr 2007 03:09:33 +0000 (03:09 +0000)]
2007-04-24 Roland McGrath <roland@redhat.com>
* run-strip-test.sh: When we saved the debug info, test unstrip too.
Roland McGrath [Thu, 19 Apr 2007 19:33:56 +0000 (19:33 +0000)]
Ignore files copied in by autoreconf -i.
Roland McGrath [Thu, 19 Apr 2007 16:43:43 +0000 (16:43 +0000)]
Remove bogon leaked from other branch.
Ulrich Drepper [Thu, 19 Apr 2007 04:28:55 +0000 (04:28 +0000)]
Really update revision.
Ulrich Drepper [Thu, 19 Apr 2007 04:24:34 +0000 (04:24 +0000)]
Remove traces of mkinstalldirs.
Ulrich Drepper [Thu, 19 Apr 2007 04:15:00 +0000 (04:15 +0000)]
Ulrich Drepper [Thu, 19 Apr 2007 04:14:52 +0000 (04:14 +0000)]
No need to ship stock files.
Roland McGrath [Thu, 19 Apr 2007 00:22:39 +0000 (00:22 +0000)]
NEWS update
Roland McGrath [Mon, 16 Apr 2007 23:13:37 +0000 (23:13 +0000)]
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.
Roland McGrath [Thu, 5 Apr 2007 09:27:36 +0000 (09:27 +0000)]
libdw/
2007-04-05 Roland McGrath <roland@redhat.com>
* dwarf_ranges.c (dwarf_ranges): Don't sign-extend 32-bit BEGIN
address to check for all-ones base address entry. Check directly.
Reported by Sébastien Dugué <sebastien.dugue@bull.net>.
Roland McGrath [Sun, 1 Apr 2007 23:11:40 +0000 (23:11 +0000)]
backends/
2007-04-01 Roland McGrath <roland@redhat.com>
* x86_64_regs.c (x86_64_register_info): Add more registers from newer
ABI spec.
tests/
2007-04-01 Roland McGrath <roland@redhat.com>
* run-allregs.sh: Updated expected output for x86_64.
Ulrich Drepper [Fri, 30 Mar 2007 19:16:14 +0000 (19:16 +0000)]
We know it's not finished yet. Such an extension to the number only
means we are going to forget changing it for the release.
Ulrich Drepper [Fri, 30 Mar 2007 19:14:59 +0000 (19:14 +0000)]
propagate from branch 'com.redhat.elfutils.roland.pending' (head
b584b7056d679db0fc272b47667047d07737ca55)
to branch 'com.redhat.elfutils' (head
5f150a0b2f07e8c60913d4e6ad833ef026ccd26e)
Ulrich Drepper [Tue, 13 Mar 2007 06:22:40 +0000 (06:22 +0000)]
propagate from branch 'com.redhat.elfutils.roland.pending' (head
e0c7abd450c9e49093cfae30af8a22782a74a403)
to branch 'com.redhat.elfutils' (head
2c784d50eee72e33972c333138a3a28df304da63)
Ulrich Drepper [Fri, 16 Feb 2007 00:31:57 +0000 (00:31 +0000)]
small cleanups.
Ulrich Drepper [Thu, 15 Feb 2007 19:40:37 +0000 (19:40 +0000)]
propagate from branch 'com.redhat.elfutils.roland.pending' (head
e723b1541850630f0047cf0c73d64c909529f439)
to branch 'com.redhat.elfutils' (head
4e5f7cffa97269b8cc9232cd1e299a2e1f3a819c)
Ulrich Drepper [Thu, 8 Feb 2007 21:11:32 +0000 (21:11 +0000)]
Roland McGrath [Tue, 6 Feb 2007 04:47:44 +0000 (04:47 +0000)]
2007-02-05 Roland McGrath <roland@redhat.com>
* ar.c: Include <limits.h>, since we use LONG_MAX.
Ulrich Drepper [Thu, 8 Feb 2007 21:11:03 +0000 (21:11 +0000)]
Cleanup.
Ulrich Drepper [Mon, 5 Feb 2007 22:12:41 +0000 (22:12 +0000)]
Fix warnings.
Ulrich Drepper [Mon, 5 Feb 2007 21:15:49 +0000 (21:15 +0000)]
0.126 release.
Ulrich Drepper [Mon, 5 Feb 2007 21:05:51 +0000 (21:05 +0000)]
Make symtab a global variable in arlib.c.
Ulrich Drepper [Mon, 5 Feb 2007 07:25:33 +0000 (07:25 +0000)]
propagate from branch 'com.redhat.elfutils.roland.pending' (head
c44dcfac5b545aecb173fede31f34cb003be0173)
to branch 'com.redhat.elfutils' (head
4196d4e01486bdeb0c0632291881d1c6d7163fab)
Ulrich Drepper [Mon, 5 Feb 2007 07:13:52 +0000 (07:13 +0000)]
Implement ar program.
Relax elflint in GNU ld mode for latest idiosyncracies.
Ulrich Drepper [Tue, 30 Jan 2007 16:51:59 +0000 (16:51 +0000)]
One more correction, handle failing elf_begin correctly.
Ulrich Drepper [Tue, 30 Jan 2007 16:48:56 +0000 (16:48 +0000)]
Update copyright year.
Ulrich Drepper [Tue, 30 Jan 2007 16:19:09 +0000 (16:19 +0000)]
Roland McGrath [Thu, 11 Jan 2007 05:15:56 +0000 (05:15 +0000)]
Same as last commit, for linux-proc-maps.c
Roland McGrath [Thu, 11 Jan 2007 05:06:16 +0000 (05:06 +0000)]
2007-01-10 Roland McGrath <roland@redhat.com>
* linux-kernel-modules.c (report_kernel): Check asprintf return value
directly instead of via side effect, to silence warn_unused_result.
(dwfl_linux_kernel_report_offline): Likewise.
(dwfl_linux_kernel_find_elf): Likewise.
(dwfl_linux_kernel_module_section_address): Likewise.
* find-debuginfo.c (try_open): Likewise.
Ulrich Drepper [Tue, 30 Jan 2007 16:18:13 +0000 (16:18 +0000)]
Fix file descriptor leak in nlist.
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