summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
...
* daily updateAlan Modra2012-06-221-1/+1
|
* daily updateAlan Modra2012-06-211-1/+1
|
* daily updateAlan Modra2012-06-201-1/+1
|
* daily updateAlan Modra2012-06-191-1/+1
|
* * elf32-cris.c (cris_elf_plt_sym_val): Rewrite to work in presenceHans-Peter Nilsson2012-06-182-4/+57
| | | | of merged .got and .got.plt entries.
* * elf32-arm.c (elf32_arm_final_link_relocate): Correct return value.Alan Modra2012-06-182-1/+5
|
* daily updateAlan Modra2012-06-181-1/+1
|
* * elf32-cris.c (cris_elf_relocate_section): <R_CRIS_32_IE>Hans-Peter Nilsson2012-06-172-1/+8
| | | | | <R_CRIS_32_GOT_TPREL, R_CRIS_16_GOT_TPREL>: Handle references to thread common symbols.
* daily updateAlan Modra2012-06-171-1/+1
|
* daily updateAlan Modra2012-06-161-1/+1
|
* daily updateAlan Modra2012-06-151-1/+1
|
* daily updateAlan Modra2012-06-141-1/+1
|
* * elf32-arm.c (bfd_arm_get_mach_from_attributes): New function.Nick Clifton2012-06-132-8/+52
| | | | | | (elf32_arm_object_p): If the machine number could not be deduced from the notes, call bfd_arm_get_mach_from_attributes to get the number from the attributes.
* daily updateAlan Modra2012-06-131-1/+1
|
* Abort if PT_GNU_RELRO segment doesn't fit in PT_LOAD segmentH.J. Lu2012-06-122-0/+11
| | | | | | | | | | | | | | | | bfd/ PR bfd/14207 * elf.c (assign_file_positions_for_non_load_sections): Abort if PT_GNU_RELRO segment doesn't fit in PT_LOAD segment. ld/testsuite/ PR ld/14207 * ld-x86-64/x86-64.exp: Run pr14207. * ld-x86-64/pr14207.d: New file. * ld-x86-64/pr14207.s: Likewise.
* PR ld/14207Alan Modra2012-06-122-7/+21
| | | | | | * elf.c (_bfd_elf_map_sections_to_segments): Disregard bss type sections at end of PT_LOAD segment when searching for segment that contains end of relro extent.
* daily updateAlan Modra2012-06-121-1/+1
|
* Reindent assign_file_positions_for_non_load_sectionsH.J. Lu2012-06-112-8/+13
| | | | * elf.c (assign_file_positions_for_non_load_sections): Reindent.
* Reindent _bfd_elf_map_sections_to_segmentsH.J. Lu2012-06-112-1/+5
| | | | * elf.c (_bfd_elf_map_sections_to_segments): Reindent.
* daily updateAlan Modra2012-06-111-1/+1
|
* daily updateAlan Modra2012-06-101-1/+1
|
* daily updateAlan Modra2012-06-091-1/+1
|
* daily updateAlan Modra2012-06-081-1/+1
|
* daily updateAlan Modra2012-06-071-1/+1
|
* bfd/Alan Modra2012-06-062-0/+84
| | | | | | | | | | | | | * elflink.c (elf_link_input_bfd): Provide a file symbol for each input file with local syms, if the input lacks such. (bfd_elf_final_link): Add a file symbol to mark end of locals for which we can associate with input files. (struct elf_final_link_info): Add filesym_count field. (struct elf_outext_info): Add need_second_pass and second_pass. (elf_link_output_extsym): Detect symbols defined in the output file, emit them on second pass over locals. ld/testsuite/ Update to suit added STT_FILE symbols.
* daily updateAlan Modra2012-06-061-1/+1
|
* daily updateAlan Modra2012-06-051-1/+1
|
* bfd/Jan Kratochvil2012-06-046-7/+22
| | | | | | | | | | | | | | | | | | * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument of target_read_memory as bfd_size_type. * bfd-in2.h: Regenerate. * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN argument of target_read_memory as bfd_size_type. (_bfd_elf32_bfd_from_remote_memory): Likewise. (_bfd_elf64_bfd_from_remote_memory): Likewise. * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise. gdb/ * symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd parameters. (target_read_memory_bfd): New function. (symbol_file_add_from_memory): Use it.
* daily updateAlan Modra2012-06-041-1/+1
|
* PR binutils/13897Alan Modra2012-06-034-114/+187
| | | | | | | | | | | | * elf.c (elf_find_function): Cache last function sym info. (_bfd_elf_maybe_function_sym): Return function size, pass in section of interest. * elf-bfd.h (struct elf_backend_data <maybe_function_sym>): Likewise. (_bfd_elf_maybe_function_sym): Likewise. * elf64-ppc.c (ppc64_elf_maybe_function_sym): Likewise. (opd_entry_value): Add in_code_sec param. Revert caching code. Return -1 if in_code_sec and function found in wrong section. Update all calls.
* daily updateAlan Modra2012-06-031-1/+1
|
* daily updateAlan Modra2012-06-021-1/+1
|
* bfd/Jan Kratochvil2012-06-016-7/+19
| | | | | | | | | | | | | | | | * bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument of target_read_memory as size_t. * bfd-in2.h: Regenerate. * elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN argument of target_read_memory as size_t. (_bfd_elf32_bfd_from_remote_memory): Likewise. (_bfd_elf64_bfd_from_remote_memory): Likewise. * elf.c (bfd_elf_bfd_from_remote_memory): Likewise. * elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise. gdb/ * target.c (target_read_memory): Make LEN argument as size_t. * target.h (target_read_memory): Likewise.
* PR binutils/13897Alan Modra2012-06-012-36/+38
| | | | * elf64-ppc.c (opd_entry_value): Rewrite cache code.
* daily updateAlan Modra2012-06-011-1/+1
|
* daily updateAlan Modra2012-05-301-1/+1
|
* bfd/Tom Tromey2012-05-292-2/+21
| | | | | | | | | | | | | * opncls.c (bfd_fopen): Always close fd on failure. (bfd_fdopenr): Likewise. gdb/ * symfile.c (symfile_bfd_open): Don't close desc if bfd_fopen fails. * solib.c (solib_bfd_fopen): Don't close fd if bfd_fopen fails. * exec.c (exec_file_attach): Don't close scratch_chan if bfd_fopen fails. * dwarf2read.c (try_open_dwo_file): Don't close fd if bfd_fopen fails.
* daily updateAlan Modra2012-05-291-1/+1
|
* daily updateAlan Modra2012-05-281-1/+1
|
* PR ld/14170Alan Modra2012-05-272-12/+28
| | | | | | | | * elflink.c (_bfd_elf_merge_symbol): When a symbol defined in a dynamic library finds a new instance with non-default visibility in a regular object, correctly handle symbols already on the undefs list and undo dynamic symbol state when the new symbol is hidden or internal.
* daily updateAlan Modra2012-05-271-1/+1
|
* daily updateAlan Modra2012-05-261-1/+1
|
* Don't use dynamic_sec_flags on PLT .eh_frame sectionH.J. Lu2012-05-253-10/+14
| | | | | | * elf32-i386.c (elf_i386_create_dynamic_sections): Don't use dynamic_sec_flags to create PLT .eh_frame section. * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise.
* PR ld/13909Alan Modra2012-05-258-71/+114
| | | | | | | | | | | | | | | | | | | | | | | * elf-eh-frame.c (_bfd_elf_eh_frame_present): New function. (_bfd_elf_maybe_strip_eh_frame_hdr): Use it here. * elf-bfd.h (_bfd_elf_eh_frame_present): Declare. * elflink.c (bfd_elf_size_dynamic_sections): Let the backend size dynamic sections before stripping eh_frame_hdr. (bfd_elf_gc_sections): Handle multiple .eh_frame sections. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Drop glink_eh_frame if no other .eh_frame sections exist. * elf64-ppc.c (ppc64_elf_size_stubs): Likewise. * elf32-i386.c (elf_i386_create_dynamic_sections): Don't size or alloc plt_eh_frame here.. (elf_i386_size_dynamic_sections): ..do it here instead. Don't specially keep sgotplt, iplt, tgotplt, sdynbss for symbols. (elf_i386_finish_dynamic_sections): Check plt_eh_frame->contents before writing plt offset. * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Don't size or alloc plt_eh_frame here.. (elf_x86_64_size_dynamic_sections): ..do it here instead. (elf_x86_64_finish_dynamic_sections): Check plt_eh_frame->contents before writing plt offset.
* daily updateAlan Modra2012-05-251-1/+1
|
* PR ld/14158Alan Modra2012-05-242-3/+31
| | | | | | * elf64-ppc.c (ppc64_elf_size_stubs): Round up glink_eh_frame size to output section alignment. (ppc64_elf_build_stubs): Likewise, and extend last FDE to cover.
* daily updateAlan Modra2012-05-241-1/+1
|
* * elf-eh-frame.c (_bfd_elf_maybe_strip_eh_frame_hdr): HandleAlan Modra2012-05-232-1/+10
| | | | BFDs with multiple .eh_frame sections.
* PR ld/13909Alan Modra2012-05-232-3/+5
| | | | * elflink.c (bfd_elf_discard_info): Don't ignore dynamic BFDs.
* Revert the change for PR ld/r13909H.J. Lu2012-05-223-4/+9
| | | | | | | | | | | | | | | | | | | | | bfd/ PR ld/13909 * elf32-i386.c (elf_i386_create_dynamic_sections): Revert the last change. * elf64-x86-64.c (elf_x86_64_create_dynamic_sections): Likewise. ld/testsuite/ 2012-05-22 H.J. Lu <hongjiu.lu@intel.com> PR ld/13909 * ld-i386/i386.exp: Revert the last change. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/dummy.s: Removed. * ld-i386/pr13909.d: Likewise. * ld-x86-64/pr13909.d: Likewise.