summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* * elf.c (_bfd_elf_map_sections_to_segments): Force new segmentAlan Modra2010-07-172-5/+25
| | | | | | | | for sections with overlapping LMAs. (assign_file_positions_for_load_sections): Catch overlap for sections that wrap around the address space. Replace a warning that duplicates ld's --check-sections error with a warning that lma has been adjusted for overlapping sections.
* daily updateAlan Modra2010-07-171-1/+1
|
* daily updateAlan Modra2010-07-161-1/+1
|
* daily updateAlan Modra2010-07-151-1/+1
|
* PR ld/11817Cary Coutant2010-07-142-56/+43
| | | | | | * dwarf2.c (read_section): Revert patch for compressed debug sections. (find_line): Likewise. (read_and_uncompress_section): Remove.
* Don't allocate .got.plt section if there are no GOT nor PLT entries.H.J. Lu2010-07-143-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * elf32-i386.c (elf_i386_size_dynamic_sections): Don't allocate .got.plt section if there are no GOT nor PLT entries. * elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise. ld/testsuite/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11812 * ld-elf/exclude3b.d: Don't run on ia64-*-*. Replace .got with .dynamic. * ld-elf/exclude3d.d: New. * ld-i386/nogot1.d: Likewise. * ld-i386/nogot1.s: Likewise. * ld-x86-64/nogot1.d: Likewise. * ld-x86-64/nogot1.s: Likewise. * ld-i386/i386.exp: Run nogot1. * ld-x86-64/x86-64.exp: Likewise.
* daily updateAlan Modra2010-07-141-1/+1
|
* Support garbage collection against STT_GNU_IFUNC symbols.H.J. Lu2010-07-134-4/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11791 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support garbage collection against STT_GNU_IFUNC symbols. * elf32-i386.c (elf_i386_get_local_sym_hash): Don't set elf.plt.offset/elf.got.offset to -1. (elf_i386_tls_transition): Skip TLS transition for functions. (elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols. * elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set elf.plt.offset/elf.got.offset to -1. (elf64_x86_64_tls_transition): Skip TLS transition for functions. (elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols. ld/testsuite/ 2010-07-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/11791 * ld-ifunc/ifunc-10-i386.d: New. * ld-ifunc/ifunc-10-i386.s: Likewise. * ld-ifunc/ifunc-10-x86-64.d: Likewise. * ld-ifunc/ifunc-10-x86-64.s: Likewise. * ld-ifunc/ifunc-11-i386.d: Likewise. * ld-ifunc/ifunc-11-i386.s: Likewise. * ld-ifunc/ifunc-11-x86-64.d: Likewise. * ld-ifunc/ifunc-11-x86-64.s: Likewise.
* daily updateAlan Modra2010-07-131-1/+1
|
* Re-indent elf32-i386.c.H.J. Lu2010-07-122-4/+8
| | | | | | | 2010-07-12 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c (elf_i386_check_relocs): Re-indent. (elf_i386_relocate_section): Likewise.
* daily updateAlan Modra2010-07-121-1/+1
|
* daily updateAlan Modra2010-07-111-1/+1
|
* daily updateAlan Modra2010-07-101-1/+1
|
* daily updateAlan Modra2010-07-091-1/+1
|
* daily updateAlan Modra2010-07-081-1/+1
|
* daily updateAlan Modra2010-07-071-1/+1
|
* Initialize prev_line.H.J. Lu2010-07-062-0/+5
| | | | | | 2010-07-06 H.J. Lu <hongjiu.lu@intel.com> * dwarf2.c (add_line_info): Initialize prev_line.
* bfd/Alan Modra2010-07-062-6/+17
| | | | | | | | | * elf32-ppc.c (ppc_elf_relax_section): Insert branch around trampolines only for .init and .fini sections. ld/testsuite/ * ld-powerpc/relax.s: Add branch back to _start. * ld-powerpc/relax.d: Update. * ld-powerpc/relaxr.d: Update.
* daily updateAlan Modra2010-07-061-1/+1
|
* * elf32-ppc.c: Formatting.Alan Modra2010-07-052-24/+29
| | | | (ppc_elf_finish_dynamic_sections): Don't make plt_entry var static.
* daily updateAlan Modra2010-07-051-1/+1
|
* daily updateAlan Modra2010-07-041-1/+1
|
* bfd/ChangeLog:Cary Coutant2010-07-033-37/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compress.c (bfd_uncompress_section_contents): Add ATTRIBUTE_UNUSED. * dwarf2.c (read_and_uncompress_section): New function. (read_section): Call it. (find_line): Likewise. binutils/ChangeLog: * objdump.c (load_specific_debug_section): Decompress section contents before applying relocations. * readelf.c (load_specific_debug_section): Update section size after decompression. gas/ChangeLog: * Makefile.am: Add compress-debug.c and compress-debug.h. * Makefile.in: Regenerate. * config.in: Add HAVE_ZLIB_H. * configure.in: Check for zlib.h. * configure: Regenerate. * as.c (parse_args): Add --compress-debug-sections and --nocompress-debug-sections. * as.h (flag_compress_debug): New variable. * compress-debug.c: New file. * compress-debug.h: New file. * write.c: Include compress-debug.h. (compress_frag): New function. (compress_debug): New function. (write_object_file): Compress debug sections if requested.
* daily updateAlan Modra2010-07-031-1/+1
|
* daily updateAlan Modra2010-07-021-1/+1
|
* * elf64-ppc.c (ppc64_elf_edit_toc): Use SYMBOL_CALLS_LOCAL ratherAlan Modra2010-07-012-3/+9
| | | | | than SYMBOL_REFERENCES_LOCAL. (ppc64_elf_relocate_section): Likewise.
* * elf64-ppc.c (ppc64_elf_edit_toc): Keep toc entries for ifuncs.Alan Modra2010-07-012-2/+14
|
* daily updateAlan Modra2010-07-011-1/+1
|
* daily updateAlan Modra2010-06-301-1/+1
|
* remove maxq-coff portAlan Modra2010-06-2914-585/+42
|
* daily updateAlan Modra2010-06-291-1/+1
|
* * compress.c (bfd_uncompress_section_contents): Use ATTRIBUTE_UNUSEDAlan Modra2010-06-282-5/+8
| | | | to silence gcc warning.
* daily updateAlan Modra2010-06-281-1/+1
|
* * elf64-ppc.c (get_tls_mask): Don't segfault on NULL elf_section_data.Alan Modra2010-06-272-3/+12
| | | | (group_sections): Likewise.
* fix set but unused variable warningsAlan Modra2010-06-2760-409/+195
|
* daily updateAlan Modra2010-06-271-1/+1
|
* daily updateAlan Modra2010-06-261-1/+1
|
* 2010-06-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-06-252-11/+36
| | | | | * vms-alpha.c (_bfd_vms_write_egsd): Check absolute section with its flags. Create an absolute section if needed.
* 2010-06-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-06-252-46/+53
| | | | | | | | | | * vms-alpha.c (_bfd_vms_write_egsd): Set target_index field of sections. Mark .vmsdebug section as SEC_DEBUGGING. Do not create dummy psect anymore. Adjust. (_bfd_vms_write_eeom): Adjust (use target_index instead of index) (_bfd_vms_write_etir): Ditto. (start_etir_or_etbt_record): Test for SEC_DEBUGGING instead of section name. Adjust.
* 2010-06-25 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-06-252-2/+14
| | | | * vms-alpha.c (alpha_vms_write_exec): Set linktime field.
* include/elf/Alan Modra2010-06-252-19/+177
| | | | | | | | | | | | | * ppc64.h (R_PPC64_LO_DS_OPT): Define. bfd/ * elf64-ppc.c (toc_skip_enum): Define. (ppc64_elf_edit_toc): Use two low bits of skip array as markers. Optimize largetoc sequences. (adjust_toc_syms): Update for skip array change. (ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT. ld/ * emultempl/ppc64elf.em (prelim_size_sections): New function. (ppc_before_allocation): Use it. Size sections before toc edit too.
* * elf64-ppc.c (is_static_defined): New function.Alan Modra2010-06-252-61/+115
| | | | | | | | | | | | | (get_tls_mask, ppc_type_of_stub): Use it here. (ppc64_elf_edit_opd): Ensure we only attempt to edit ppc64 input. (ppc64_elf_tls_setup): Typo fix. (adjust_toc_syms): Correctly handle symbols defined past the end of the toc. Move syms on removed entries to next entry rather than to start of toc. (ppc64_elf_edit_toc): Likewise. Ensure we only attempt to edit ppc64 input. Allocate one extra word in skip array. Honour info->keep_memory when reading relocs if we can. Adjust toc relocs after adjusting symbols.
* daily updateAlan Modra2010-06-251-1/+1
|
* daily updateAlan Modra2010-06-241-1/+1
|
* * archive64.c (bfd_elf64_archive_write_armap): Fix buffer overrunNathan Sidwell2010-06-232-6/+11
| | | | when scaning map.
* daily updateAlan Modra2010-06-231-1/+1
|
* daily updateAlan Modra2010-06-221-1/+1
|
* daily updateAlan Modra2010-06-211-1/+1
|
* daily updateAlan Modra2010-06-201-1/+1
|
* daily updateAlan Modra2010-06-191-1/+1
|