Commit Graph

209 Commits

Author SHA1 Message Date
Ulrich Drepper ee4b927bae New spec file. 2006-06-15 03:21:46 +00:00
Ulrich Drepper 1b0714c81d Updated support for new hash table format.
Fix handling of discarded COMDAT symbols in ld.
2006-07-06 23:58:40 +00:00
Ulrich Drepper 7df97c777c Correctly recognize discarded COMDATA symbols when constructing the
symbol table.
2006-07-05 19:18:11 +00:00
Ulrich Drepper 4ba68f475d Linker work.
GNU hash support.
64-bit SysV hash support.
2006-07-05 07:34:27 +00:00
Ulrich Drepper d5a7519085 merge of b305fe132f91c44a41a877a48efc3bdfda785b73
and c4704f02db5f42d7bcdb2feafc6199d7ac132da3
2006-06-15 03:07:46 +00:00
Ulrich Drepper 595d0e7e9f (create_verneed_data): Pretty printing. 2006-06-12 23:25:17 +00:00
Roland McGrath d8dcc9c17a 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.
2006-06-13 19:48:19 +00:00
Roland McGrath 80808bfb53 2006-06-13 Roland McGrath <roland@redhat.com>
* ppc64_retval.c: Remove SVR4_STRUCT_RETURN braino.
2006-06-13 19:41:58 +00:00
Ulrich Drepper 6ca4600fb5 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.
2006-06-12 22:40:23 +00:00
Ulrich Drepper cbb51e5253 * 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'.
2006-06-11 20:25:23 +00:00
Ulrich Drepper 54f33a7795 Recognize --eh=frame-hdr option.
Don't create output sections in executables and DSOs with SHF_GROUP set.
2006-06-11 09:07:37 +00:00
Ulrich Drepper 4f0a7a89be Handle -z record/ignore as position dependent. 2006-06-11 00:53:45 +00:00
Ulrich Drepper 2d88028a7b Implement -z execstack/noexecstack options. 2006-06-11 00:20:43 +00:00
Ulrich Drepper 697f4db2f3 merge of 2043b4a4bc8f0359b8c216306758ab5900533fde
and fde883376d5d9573d47686c91400d14495518411
2006-06-10 06:50:47 +00:00
Ulrich Drepper a688a732b6 * 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.
2006-06-10 06:33:00 +00:00
Ulrich Drepper bdb29c0b56 merge of 74ebb3c081458a7d19c744b155c767262efc47cb
and cb87c403367a928f441c3dab11f1ed989884a7f7
2006-06-04 18:33:56 +00:00
Ulrich Drepper 8c56fe3b2c Handle as-needed options. 2006-05-31 15:50:43 +00:00
Ulrich Drepper df72c45805 No need for contributed line in installed header. 2006-05-29 01:07:54 +00:00
Ulrich Drepper 11b030eba7 Little clenaup. 2006-05-28 20:28:19 +00:00
Ulrich Drepper 3d4241d16f No need for non-gcc support. 2006-05-28 18:44:59 +00:00
Ulrich Drepper d9a8712537 0.121 release. 2006-05-28 08:00:33 +00:00
Ulrich Drepper f97208e04f Fix rewriting of existing files. 2006-05-28 07:47:25 +00:00
Ulrich Drepper 41a990833d readelf: Clarify ELF header output. 2006-05-28 00:01:43 +00:00
Ulrich Drepper 2cb8e73a56 readelf: Better notation for addon in relocations. 2006-05-27 21:57:27 +00:00
Ulrich Drepper 41cbd7620b Add extern "C" for libdwfl.h and libebl.h. 2006-05-27 18:19:23 +00:00
Ulrich Drepper 3be744790c Prepare libdw.h for use in C++. 2006-05-27 18:15:40 +00:00
Ulrich Drepper e7a73177df Handle files without aranges information. 2006-05-22 18:16:45 +00:00
Ulrich Drepper 4f3d2a2aff Add some more nonnull attributes. 2006-05-22 01:30:56 +00:00
Ulrich Drepper a1690688ce Don't crash if ->modules is NULL. 2006-05-17 05:28:36 +00:00
Ulrich Drepper 3a5052a8e1 One more fixup for elf_update. 2006-04-05 03:13:34 +00:00
Roland McGrath b43797284f 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.
2006-04-05 01:35:26 +00:00
Roland McGrath 8bf747a421 Back out typo 2006-04-05 01:00:08 +00:00
Roland McGrath 6d0c2e8a2d Clean up whitespace in license text. 2006-04-05 00:59:43 +00:00
Roland McGrath 411f2f89ef 2006-04-04 Roland McGrath <roland@redhat.com>
* POTFILES.in: Comment out lib/xstrdup.c, not distributed any more.
2006-04-04 23:48:55 +00:00
Ulrich Drepper 1e9ef50681 Fix FSF address. No exception for libdwarf. 2006-04-04 22:29:06 +00:00
Ulrich Drepper 82c345d925 Prepare for 0.120 release. 2006-04-04 22:07:54 +00:00
Ulrich Drepper aded5309ba Remove exception grant from lib/x*c files. Don't build xstrdup. 2006-04-04 21:56:13 +00:00
Ulrich Drepper 361df7da6d propagate from branch 'com.redhat.elfutils.roland.pending' (head 4f8fc821345feef58624f0aa5b470d4827577d8c)
to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
2006-04-04 21:38:57 +00:00
Ulrich Drepper ba718b1135 Test case for problem in libelf with writing out existing ELF file with
different location of the section headers.
2006-04-04 21:31:16 +00:00
Ulrich Drepper 697d8d283e Fix read/write of existing file using mmap and different layout of the ELF
file.
2006-04-04 21:07:28 +00:00
Roland McGrath dd7e22b4a0 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.
2006-03-09 23:05:47 +00:00
Roland McGrath 060fa05452 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.
2006-03-02 07:51:50 +00:00
Roland McGrath 2dade660e5 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.
2006-02-28 22:13:20 +00:00
Roland McGrath 0833312829 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.
2006-02-27 04:54:26 +00:00
Roland McGrath 687d7e9bd1 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.
2006-02-27 04:53:00 +00:00
Roland McGrath 123ccad620 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.
2006-02-22 19:59:31 +00:00
Roland McGrath c40f58a64a 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.
2006-01-13 20:13:21 +00:00
tailor 808b412e2c merge of 3527318490d6fa70cb904d1af16084bf49ba2e25
and 4345f613a9866fe3992619815538b0522708af52
2006-01-13 18:50:48 +00:00
Roland McGrath 321327a975 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.
2006-01-13 00:51:21 +00:00
Roland McGrath 4b248ceaa6 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.
2006-01-12 03:34:38 +00:00