Commit Graph

41 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 4ba68f475d Linker work.
GNU hash support.
64-bit SysV hash support.
2006-07-05 07:34:27 +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 3d4241d16f No need for non-gcc support. 2006-05-28 18:44:59 +00:00
Ulrich Drepper f97208e04f Fix rewriting of existing files. 2006-05-28 07:47:25 +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
Ulrich Drepper 1e9ef50681 Fix FSF address. No exception for libdwarf. 2006-04-04 22:29:06 +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 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 7747de9206 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.
2005-12-08 01:36:18 +00:00
Roland McGrath b6405ca24b 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.
2005-11-19 21:36:37 +00:00
Roland McGrath 92b8523981 2005-11-17 Roland McGrath <roland@redhat.com>
* elf.h: Update from glibc.
2005-11-17 23:09:19 +00:00
Roland McGrath fd856b5865 2005-11-10 Roland McGrath <roland@redhat.com>
* elf.h: Update from glibc.
2005-11-10 22:49:53 +00:00
Roland McGrath 89757447db 2005-09-09 Roland McGrath <roland@redhat.com>
* elf_update.c (write_file): Stat the file and fchmod it after update
	if its mode had S_ISUID or S_ISGID bits set.
2005-09-11 09:05:20 +00:00
Roland McGrath a17e26fba8 disapproval of revision e5ca7b66d5a873eb093b7c398121b12f56a03b15 2005-09-11 08:56:48 +00:00
Roland McGrath 843f6f57d7 2005-09-09 Roland McGrath <roland@redhat.com>
* elf_update.c (write_file): Stat the file and fchmod it after update
	if its mode had S_ISUID or S_ISGID bits set.
2005-09-11 08:49:19 +00:00
Ulrich Drepper fbe998a0b1 merge of 333c187506c852455e9f7be44fa9adc360416217
and 79955b942e3f0ddc71117feea5754df61edcc42a
2005-08-29 16:27:10 +00:00
Roland McGrath 4c305da9de 2005-08-24 Roland McGrath <roland@redhat.com>
* line2addr.c (print_address): Omit () for DSOs.
2005-08-25 01:49:35 +00:00
Ulrich Drepper 6abe27be71 Fix more EINTR handling problems. Add jump prediction. 2005-08-29 06:25:06 +00:00
Ulrich Drepper c2c3b1ecbe Since we link statically when using gcov don't compile the .os files
with the options.
2005-08-28 17:59:03 +00:00
Ulrich Drepper 3d413d4b05 Implement --enable-gconv option for configure. 2005-08-28 16:18:57 +00:00
Ulrich Drepper 969bda4a47 Add strings program.
Some more cleanups in libelf.
2005-08-28 08:30:08 +00:00
Ulrich Drepper 490063eb2b Speed-up elf_begin when not using mmap. 2005-08-28 02:46:32 +00:00
Ulrich Drepper e5294612b9 Correct build programs caused by commit from devel tree.
elf_begin robustification.
2005-08-15 22:19:26 +00:00
Ulrich Drepper 5d83229c85 Implement ranlib. This required one little extension to libelf. 2005-08-15 21:36:27 +00:00
Ulrich Drepper 0f6abbbc08 merge of 0bc367fba741939c3256bd69de909e6c23067adf
and bc359776b21dfd2c5106da8610683718e2dd2875
2005-08-13 22:35:15 +00:00
Roland McGrath e53d04af5f 2005-08-13 Roland McGrath <roland@redhat.com>
* ia64_symbol.c (ia64_machine_flag_check): New function.
	* libebl_ia64.h: Declare it.
	* ia64_init.c (ia64_init): Use it.
2005-08-13 20:56:07 +00:00
Ulrich Drepper 1bb18a3a96 Optimize memory handling. Copy pread if possible. Handle EINTR. 2005-08-13 22:29:47 +00:00
Ulrich Drepper cc1ebdb0ed Fix elf_begin for 64-bit and optimize a bit. 2005-08-13 22:05:02 +00:00
Roland McGrath e9c4e8ec6f libelf/
2005-08-12  Roland McGrath  <roland@redhat.com>

	* elf32_offscn.c: Do not match empty sections at OFFSET unless
	there are no nonempty sections at that offset.
2005-08-13 03:37:49 +00:00
Ulrich Drepper b03b057859 Add support for a few missing DT_ and R_* values.
Import new elf.h.
2005-08-07 08:12:22 +00:00
Ulrich Drepper 47be795df3 Implement --enable-gprof option in configure script. 2005-08-07 04:41:39 +00:00
Ulrich Drepper acb8983909 Move elf32_offscn etc in new version.
More elflint tests.
2005-08-04 07:01:49 +00:00
Ulrich Drepper ef9c9c8fca Add missing files. 2005-08-03 00:54:16 +00:00
Ulrich Drepper 41de488a0a Add several more elflint tests:
- check whether dynamic section matches PT_DYNAMIC program header entry
- make sure text relocation flag is used correctly

libelf needed one extension for this.
2005-08-03 00:02:56 +00:00
Ulrich Drepper b08d5a8fb4 Adjust for monotone. 2005-07-26 05:00:05 +00:00