Mark Wielaard [Wed, 12 Aug 2009 10:00:17 +0000 (12:00 +0200)]
Makefile.am (libelf.so): Use -Wl,-z,defs not -defs.
Roland McGrath [Mon, 10 Aug 2009 22:08:08 +0000 (15:08 -0700)]
Use dwarf_diename in place of open-coding it.
Roland McGrath [Sun, 9 Aug 2009 22:40:52 +0000 (15:40 -0700)]
New macros for symbol versioning definitions, use them for libdw convenience wrappers just changed.
Roland McGrath [Sat, 8 Aug 2009 03:06:28 +0000 (20:06 -0700)]
Add missing x86-64 reloc types.
Roland McGrath [Sat, 8 Aug 2009 01:26:19 +0000 (18:26 -0700)]
Use dwarf_attr_integrate in various convenience functions.
Petr Machata [Thu, 6 Aug 2009 16:45:08 +0000 (18:45 +0200)]
ebl_strtabfinalize: Don't SEGV when no strings are present
(cherry picked from commit
a3a81e8352571f8aa9721a8940fbe54543029958)
Ulrich Drepper [Sat, 1 Aug 2009 17:07:24 +0000 (10:07 -0700)]
Polish debugpred code a bit.
Mark Wielaard [Sun, 26 Jul 2009 21:49:26 +0000 (14:49 -0700)]
Handle text output for NT_GNU_GOLD_VERSION.
Mark Wielaard [Sun, 26 Jul 2009 15:33:18 +0000 (08:33 -0700)]
Handle NT_GNU_GOLD_VERSION.
Ulrich Drepper [Sun, 26 Jul 2009 15:28:15 +0000 (08:28 -0700)]
Update elf.h from glibc.
Mark Wielaard [Sat, 25 Jul 2009 19:44:46 +0000 (12:44 -0700)]
Explicitly link addr2line with libelf.
Roland McGrath [Fri, 24 Jul 2009 23:23:12 +0000 (16:23 -0700)]
Make readelf dump all block forms in hex.
Ulrich Drepper [Fri, 24 Jul 2009 22:50:57 +0000 (15:50 -0700)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Mark Wielaard [Fri, 24 Jul 2009 22:49:51 +0000 (15:49 -0700)]
Handle DW_OP_implicit_value in readelf.
Roland McGrath [Thu, 23 Jul 2009 18:32:47 +0000 (11:32 -0700)]
libdw NEWS items
Roland McGrath [Wed, 22 Jul 2009 20:55:50 +0000 (13:55 -0700)]
Rejigger calling conventions for dwarf_frame_{cfa,register}.
Lubomir Rintel [Wed, 22 Jul 2009 04:04:47 +0000 (21:04 -0700)]
Fix handling of gaps between sections when writing files in libelf.
Roland McGrath [Wed, 22 Jul 2009 01:14:52 +0000 (18:14 -0700)]
Fix dwarf_getsrc_file handling empty CUs.
Roland McGrath [Mon, 20 Jul 2009 23:43:39 +0000 (16:43 -0700)]
Fix last commit, was made too early in the morning.
Roland McGrath [Mon, 20 Jul 2009 18:51:41 +0000 (11:51 -0700)]
Handle DW_OP_stack_value
Roland McGrath [Fri, 17 Jul 2009 00:48:27 +0000 (17:48 -0700)]
Support the easiest of the new v4 form flavors.
Roland McGrath [Fri, 17 Jul 2009 00:40:19 +0000 (17:40 -0700)]
Add constants from DWARF 4 working draft 3.
Roland McGrath [Wed, 15 Jul 2009 18:14:23 +0000 (11:14 -0700)]
dwarf_getlocation.c: Grok DW_OP_form_tls_address, DW_OP_GNU_push_tls_address, and DW_OP_bit_piece.
Ulrich Drepper [Tue, 14 Jul 2009 17:42:01 +0000 (10:42 -0700)]
Add STB_GNU_UNIQUE support to elflint.
Roland McGrath [Mon, 13 Jul 2009 19:08:55 +0000 (12:08 -0700)]
dwarf_getlocation.c: Grok DW_OP_call_frame_cfa.
Roland McGrath [Thu, 25 Jun 2009 00:41:40 +0000 (17:41 -0700)]
CFI support: lookup by PC and translate into DWARF location per register
Roland McGrath [Wed, 8 Jul 2009 21:54:16 +0000 (14:54 -0700)]
Reorder some libdwflP.h struct members for optimal packing.
Roland McGrath [Wed, 8 Jul 2009 21:48:34 +0000 (14:48 -0700)]
Reorder some libdwP.h struct members for optimal packing.
Roland McGrath [Wed, 8 Jul 2009 21:42:13 +0000 (14:42 -0700)]
Reorder Elf struct members for optimal packing.
Roland McGrath [Wed, 8 Jul 2009 21:09:39 +0000 (14:09 -0700)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Mark Wielaard [Wed, 8 Jul 2009 22:37:06 +0000 (00:37 +0200)]
Merge branch 'at_data_member_location'
Roland McGrath [Wed, 8 Jul 2009 21:08:32 +0000 (14:08 -0700)]
Fatfingers fix for commit dffc33d.
Roland McGrath [Wed, 8 Jul 2009 20:15:07 +0000 (13:15 -0700)]
Handle DW_AT_data_member_location of class constant magically in dwarf_getlocation{,_addr}.
Mark Wielaard [Wed, 8 Jul 2009 17:18:53 +0000 (19:18 +0200)]
Handle DW_Form constants for DW_AT_data_member_location in readelf.
Ulrich Drepper [Wed, 8 Jul 2009 07:53:24 +0000 (00:53 -0700)]
Add support for STB_GNU_UNIQUE to libebl.
Roland McGrath [Tue, 7 Jul 2009 00:57:33 +0000 (17:57 -0700)]
Fix last change.
Roland McGrath [Mon, 6 Jul 2009 23:06:53 +0000 (16:06 -0700)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Roland McGrath [Mon, 6 Jul 2009 23:06:41 +0000 (16:06 -0700)]
Handle unknown register numbers gracefully in readelf -n core reading.
micm [Mon, 29 Jun 2009 13:18:49 +0000 (13:18 +0000)]
Sending translation for German
Roland McGrath [Sun, 28 Jun 2009 21:48:02 +0000 (14:48 -0700)]
readelf: Add -N option, speeds up DWARF printing without address->name lookups.
micm [Fri, 19 Jun 2009 09:10:01 +0000 (09:10 +0000)]
Sending translation for German
Mark Wielaard [Thu, 18 Jun 2009 11:31:56 +0000 (13:31 +0200)]
__libdwfl_report_elf: Return NULL on overlap, don't (double) close elf.
Roland McGrath [Thu, 18 Jun 2009 20:56:02 +0000 (13:56 -0700)]
Do some constification to avoid dubious casts.
Ulrich Drepper [Mon, 15 Jun 2009 03:19:45 +0000 (20:19 -0700)]
Squashed commit of the following:
commit
77abb31cb8d55980ef92260917a7ecdd228b1a44
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Jun 8 15:46:16 2009 +0200
Fix a bug in offset checking
commit
b794eac4f8d3e08101b5d2924523b1259bbc1b17
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Jun 3 16:00:01 2009 +0200
Cosmetic, get rid of defining several variables per line
commit
a23938fe35d515a3d75a51f6204771f3cf6c9ec4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Jun 3 15:50:03 2009 +0200
Restructure the code to decrease the binary size
commit
7c301e3d4e8584dfb3174855fb6af3d5791dfeed
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Jun 1 19:43:28 2009 +0200
Shuffle a couple pieces of code around to make the code smaller
commit
6325323482c2a3e17409d32c7feec9461be26614
Merge: 83ac53d... e94b1b2...
Author: Petr Machata <pmachata@redhat.com>
Date: Fri May 22 08:49:07 2009 +0200
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks
Conflicts:
libdw/ChangeLog
commit
83ac53db400945c074e77ec9904efe550903a0e2
Author: Petr Machata <pmachata@redhat.com>
Date: Fri May 22 08:40:25 2009 +0200
Call reloc hook with the original address, not incremented
commit
f1996388745566abc1ca1c1700b3b7eded208575
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 16:53:03 2009 +0200
Rewrite boundary checking logic so that it's immune to arithmetic overflow
* ... also get rid of some code redundancy.
commit
0c1df732822d83548edd0d005f3450281ed1701b
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 16:25:09 2009 +0200
__libdw_read_offset* take extra argument for header size checks
* also presence of debug data and buffer is checked in __libdw_in_section
commit
6fb192e360f842cacb34a90c03cd0524cccc3dec
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 15:51:20 2009 +0200
Check for presence of data before loading the offset
commit
a2e7612b165d83dd241225f87075fa4f58d18781
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 15:04:16 2009 +0200
Cosmetic changes
commit
8b1aad2c2f6c8dc02b3e704e4f386c1827e385cb
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 15:34:13 2009 +0200
Improve reader hook functions a bit
* ... so that they are closer match to what's need on call sites
commit
3854b7fbab2fe331711365f94a295af82164d0d2
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 14:33:50 2009 +0200
Fixes in use of reader hooks in __libdw_formptr and dwarf_formudata
* and a bit more
commit
335075596b6acef6e59919155e2b087e690a572d
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 14:32:39 2009 +0200
Rename __libdw_read_udata_addr to __libdw_formptr
commit
8273a2adaf8cb2ee203926af2849e4f96f8a6eaf
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 02:53:40 2009 +0200
Introduce __libdw_read_udata_address
* the use in dwarf_ranges is iffy, there's a functionality mismatch.
Need to find some better way
commit
1c897f4abde1530038d332f4fc03a596a24f6aaf
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 18:09:13 2009 +0200
ChangeLog entries for previous commit
commit
90d7c39454468b91c0fd6514a4e8d821222d6adb
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 18:07:54 2009 +0200
Fix bugs, introduce __libdw_read_begin_end_pair_inc
commit
9b3923f5b69a3e56590769435c4693f057acdc1f
Merge: 6200ba6... 589b3d3...
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 12:22:21 2009 +0200
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks
commit
6200ba62aa9ea3cb9318f73a27181907a528dbe4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Apr 29 15:31:28 2009 +0200
dwarf_getlocation_addr uses read hooks
commit
ecbb8cdd8b500e37dc34fc246b912f704fe31ca4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Apr 29 15:16:09 2009 +0200
dwarf_ranges and dwarf_formref use read hooks
commit
cb8f67b29a896c2660c10aa1028a9dbb377553e9
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:39:04 2009 +0200
Convert several new functions to use read hooks
commit
b130453eb16a8cf042915e312cc5f189b8b92c01
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:38:27 2009 +0200
Add length read hooks
commit
bd885ff694817b965231d99f1ab867947998e734
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:36:17 2009 +0200
Constify read hook arguments
commit
66fe03f1e489a88b89a15c9e13f9bd33db2729b1
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 16:11:05 2009 +0200
Change type of return value of offset read hooks to Dwarf_Off
commit
22b36e00cc228f5a966f84ca3323e5d652923ce8
Merge: 5b3534b... a7cb532...
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Apr 27 19:05:25 2009 +0200
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks
commit
5b3534b62cbd45fe4f11dd1be3e492237938cce0
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Apr 27 18:53:06 2009 +0200
Rewrites in read hooks
* Have the checking and reading logic itself in the header so that it gets
optimized out/inlined. Call external relocating hook from there, there
will presumably be more work to do, and we presumably don't want to keep
this in the header.
commit
9e265d71d0eb900e76d6fdb0196ef4fc6507f3a7
Merge: 1783089... 300f3a4...
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:45:25 2009 +0200
Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks
commit
1783089b184ddea2081bbe5ac4e80420cb6b0803
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:44:48 2009 +0200
Use the new reader hooks in several places
commit
11c3d97a5b40ea15edf324092b03da3050610d01
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:40:03 2009 +0200
Introduce reader hooks
Ulrich Drepper [Sat, 13 Jun 2009 22:55:42 +0000 (15:55 -0700)]
Add aliases for elf_getshnum and elf_getshstrndx.
Sun in their implementation messed up the semantics of these functions.
To get back to source code compatibility they asked for a solution.
We simply add aliases for the two affected functions, named
elf_getshdrnum and elf_getshdrstrndx. The semantics remains the
same. Users of the old interfaces receive a warning for now. In
future we might make it impossible to link programs which request
the old interfaces (binary compatibility will of course be maintained).
Ulrich Drepper [Mon, 1 Jun 2009 14:38:32 +0000 (07:38 -0700)]
Add support for IRELATIVE relocations.
That's the second part of the IFUNC support. So far x86 and x86-64
only.
Roland McGrath [Fri, 8 May 2009 01:58:14 +0000 (18:58 -0700)]
Typo
Roland McGrath [Fri, 8 May 2009 01:57:18 +0000 (18:57 -0700)]
Fix trivial regression in last commit.
Roland McGrath [Fri, 8 May 2009 01:54:52 +0000 (18:54 -0700)]
Slight optimization of dwarf_getmacros for loops.
Roland McGrath [Fri, 8 May 2009 01:44:27 +0000 (18:44 -0700)]
Moved misplaced ChangeLog entry.
Roland McGrath [Fri, 8 May 2009 01:19:16 +0000 (18:19 -0700)]
Cosmetic fixup and missed EXTRA_DIST file.
Petr Machata [Thu, 7 May 2009 19:02:33 +0000 (21:02 +0200)]
Fix dwarf_getmacros so that it passes newly-added test
Petr Machata [Thu, 7 May 2009 18:58:19 +0000 (20:58 +0200)]
Add a test for dwarf_getmacros
Petr Machata [Tue, 5 May 2009 14:40:09 +0000 (16:40 +0200)]
Merge commit 'origin/master' into pmachata/pending
Conflicts:
libdw/dwarf_error.c
tombo [Thu, 30 Apr 2009 02:38:45 +0000 (02:38 +0000)]
Sending translation for Italian
tombo [Thu, 30 Apr 2009 01:53:05 +0000 (01:53 +0000)]
Sending translation for po/it.po
Ulrich Drepper [Wed, 29 Apr 2009 22:19:21 +0000 (15:19 -0700)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Conflicts:
ChangeLog
Ulrich Drepper [Wed, 29 Apr 2009 21:05:44 +0000 (14:05 -0700)]
Add test of st_other field of symbol table entries.
logan [Fri, 24 Apr 2009 19:50:38 +0000 (19:50 +0000)]
Sending translation for Spanish
logan [Fri, 24 Apr 2009 17:23:57 +0000 (17:23 +0000)]
Sending translation for Spanish
Ulrich Drepper [Thu, 23 Apr 2009 15:20:16 +0000 (08:20 -0700)]
0.141 release.
Ulrich Drepper [Thu, 23 Apr 2009 14:59:02 +0000 (07:59 -0700)]
Fix building tests with mudflap.
Ulrich Drepper [Thu, 23 Apr 2009 14:54:53 +0000 (07:54 -0700)]
Avoid symbol versioning unless building code for DSO.
Ulrich Drepper [Thu, 23 Apr 2009 14:44:36 +0000 (07:44 -0700)]
Add missing dependencies on compression libraries for static builds.
Roland McGrath [Thu, 23 Apr 2009 06:08:04 +0000 (23:08 -0700)]
Revert leaked bogon.
Roland McGrath [Wed, 22 Apr 2009 19:29:32 +0000 (12:29 -0700)]
Fix relocation when symbols are resolved in non-ET_REL modules.
Roland McGrath [Wed, 22 Apr 2009 18:32:20 +0000 (11:32 -0700)]
Fix dwfl_module_build_id regression in last change.
Roland McGrath [Tue, 21 Apr 2009 22:44:07 +0000 (15:44 -0700)]
Fix derelocate crash for non-ET_REL file with some sh_addr at 0.
Roland McGrath [Mon, 20 Apr 2009 18:50:50 +0000 (11:50 -0700)]
Add missing internal_function attribute.
Roland McGrath [Mon, 20 Apr 2009 08:20:44 +0000 (01:20 -0700)]
addr2line: Honor -s and -A for file names of inline call sites.
Roland McGrath [Mon, 20 Apr 2009 07:49:33 +0000 (00:49 -0700)]
Support -j option in addr2line to match binutils.
Roland McGrath [Mon, 20 Apr 2009 01:27:01 +0000 (18:27 -0700)]
Break out __libdwfl_getelf internal function.
Roland McGrath [Sun, 19 Apr 2009 23:07:45 +0000 (16:07 -0700)]
Fiddle version.h magic back, so all the computation is in configure.
tbull [Sat, 18 Apr 2009 20:44:43 +0000 (20:44 +0000)]
Sending translation for German
Roland McGrath [Fri, 17 Apr 2009 20:24:01 +0000 (13:24 -0700)]
Arithmetic is hard.
Roland McGrath [Fri, 17 Apr 2009 20:18:35 +0000 (13:18 -0700)]
_ELFUTILS_PREREQ magic update for 0.y.z numbers
Roland McGrath [Fri, 17 Apr 2009 03:32:42 +0000 (20:32 -0700)]
Handle ARM VFP register names.
Roland McGrath [Fri, 17 Apr 2009 03:31:59 +0000 (20:31 -0700)]
NT_PRXFPREG -> NT_PRXFPREG
Roland McGrath [Wed, 15 Apr 2009 21:47:13 +0000 (14:47 -0700)]
Fix 32/64 CIE header format CIE_id matching.
Roland McGrath [Wed, 15 Apr 2009 01:44:45 +0000 (18:44 -0700)]
Nominal ARM support.
Roland McGrath [Tue, 14 Apr 2009 11:39:32 +0000 (04:39 -0700)]
Fix error message.
Roland McGrath [Tue, 14 Apr 2009 10:18:10 +0000 (03:18 -0700)]
NEWS items for notable changes since 0.140
Roland McGrath [Tue, 14 Apr 2009 09:38:19 +0000 (02:38 -0700)]
Fix RHBZ#494858: fix bad address checks in core file support.
Roland McGrath [Tue, 14 Apr 2009 08:02:17 +0000 (01:02 -0700)]
Fix strip -f infinite loop when coping with some extra kooky object sections.
Roland McGrath [Mon, 13 Apr 2009 18:33:32 +0000 (11:33 -0700)]
Merge branch 'roland/getsym'
elsupergomez [Thu, 9 Apr 2009 15:37:35 +0000 (15:37 +0000)]
Sending translation for Spanish
Roland McGrath [Thu, 9 Apr 2009 00:52:33 +0000 (17:52 -0700)]
Make dwfl_module_getsym yield shndx -1 for any non-allocated section.
Roland McGrath [Thu, 9 Apr 2009 00:15:01 +0000 (17:15 -0700)]
Fix double-adjust for ET_REL.
Roland McGrath [Thu, 9 Apr 2009 00:07:03 +0000 (17:07 -0700)]
Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
Roland McGrath [Thu, 9 Apr 2009 00:05:43 +0000 (17:05 -0700)]
dwfl_module_getsym should not adjust symbols from non-SHF_ALLOC sections.
tomspur [Sun, 5 Apr 2009 10:10:43 +0000 (10:10 +0000)]
Sending translation for po/de.po
beckerde [Fri, 3 Apr 2009 00:00:14 +0000 (00:00 +0000)]
Sending translation for po/es.po
Roland McGrath [Thu, 2 Apr 2009 01:28:41 +0000 (18:28 -0700)]
Update elf.h and some tables; fill in sparc backend reloc table.
Roland McGrath [Wed, 1 Apr 2009 21:25:29 +0000 (14:25 -0700)]
Add DW_CFA_GNU_negative_offset_extended.
Roland McGrath [Tue, 10 Mar 2009 03:49:53 +0000 (20:49 -0700)]
__libdwfl_find_build_id optimization nit
Roland McGrath [Tue, 10 Mar 2009 03:42:56 +0000 (20:42 -0700)]
Fix RHBZ#489439: dwfl_module_build_id yields wrong vaddr for prelinked DSO
Ulrich Drepper [Mon, 16 Feb 2009 19:02:37 +0000 (11:02 -0800)]
0.140 release.
Roland McGrath [Sun, 15 Feb 2009 23:01:03 +0000 (15:01 -0800)]
Fix last commit.
Roland McGrath [Sun, 15 Feb 2009 22:57:29 +0000 (14:57 -0800)]
Handle attribute tag GNU_Power_ABI_Struct_Return.
Roland McGrath [Fri, 13 Feb 2009 01:26:39 +0000 (17:26 -0800)]
Fix build_id vaddr calculation for ET_REL modules.