summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* daily updateAlan Modra2012-12-191-1/+1
|
* Fix indentation in the last checkinH.J. Lu2012-12-191-1/+1
|
* Fix and use elf_append_relH.J. Lu2012-12-193-50/+23
| | | | | | | | | * elf32-i386.c (elf_i386_relocate_section): Replace bfd_elf32_swap_reloc_out with elf_append_rel. (elf_i386_finish_dynamic_symbol): Likewise. * elflink.c (elf_append_rel): Call swap_reloc_out instead of swap_reloca_out.
* Reindent elf_i386_finish_dynamic_symbolH.J. Lu2012-12-192-1/+5
| | | | * elf32-i386.c (elf_i386_finish_dynamic_symbol): Reindent.
* daily updateAlan Modra2012-12-181-1/+1
|
* PR ld/14736eager2012-12-182-23/+37
| | | | | | | | | | | | bfd: * elf32-microblaze.c (calc_fixup): Add end range. gas/testsuite: * gas/microblaze/relax_size.exp: New file - test object size after linker relaxation * gas/microblaze/relax_size.s: Likewise * gas/microblaze/relax_size.elf: Likewise * gas/microblaze/relax_size2.s: Likewise * gas/microblaze/relax_size2.elf: Likewise
* * elf.c (swap_out_syms): Set shndx to SHN_ABS when not one ofAlan Modra2012-12-182-0/+6
| | | | the special MAP_* values.
* daily updateAlan Modra2012-12-171-1/+1
|
* bfd/Roland McGrath2012-12-172-0/+9
| | | | | * elf32-arm.c (elf32_arm_size_stubs): Skip input BFDs that are not ARM ELF.
* Add copyright noticesNick Clifton2012-12-1721-7/+274
|
* Don't check IFUNC relocations in elf_*_check_relocsH.J. Lu2012-12-163-143/+10
| | | | | | * elf32-i386.c (elf_i386_check_relocs): Don't check IFUNC relocations here. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
* daily updateAlan Modra2012-12-161-1/+1
|
* Also check local IFUNC referencesH.J. Lu2012-12-163-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | bfd/ PR ld/14968 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Also check local IFUNC references. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ PR ld/14968 * ld-ifunc/ifunc-18a-i386.d: New file. * ld-ifunc/ifunc-18a-x86-64.d: Likewise. * ld-ifunc/ifunc-18a.s: Likewise. * ld-ifunc/ifunc-18b-i386.d: Likewise. * ld-ifunc/ifunc-18b-x86-64.d: Likewise. * ld-ifunc/ifunc-18b.s: Likewise. * ld-ifunc/ifunc-19a-i386.d: Likewise. * ld-ifunc/ifunc-19a-x86-64.d: Likewise. * ld-ifunc/ifunc-19a.s: Likewise. * ld-ifunc/ifunc-19b-i386.d: Likewise. * ld-ifunc/ifunc-19b-x86-64.d: Likewise. * ld-ifunc/ifunc-19b.s: Likewise.
* daily updateAlan Modra2012-12-151-1/+1
|
* daily updateAlan Modra2012-12-141-1/+1
|
* gdbTom Tromey2012-12-142-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * NEWS: Mention "info proc" and core files. * corelow.c (core_info_proc): New function. (init_core_ops): Set to_info_proc. * gdbarch.c, gdbarch.h: Rebuild. * gdbarch.sh (core_info_proc): New method. * infcmd.c (info_proc_cmd_1): Invoke target_info_proc first. * linux-tdep.c (linux_core_info_proc_mappings) (linux_core_info_proc): New functions. (linux_find_memory_region_ftype): New typedef. (linux_find_memory_regions_full): New function, from linux_find_memory_regions. (struct linux_find_memory_regions_data): New. (linux_find_memory_regions_thunk): New function. (linux_find_memory_regions): Rewrite. (struct linux_make_mappings_data): New. (linux_make_mappings_callback) (linux_make_mappings_corefile_notes): New functions. (linux_make_corefile_notes): Call linux_make_mappings_corefile_notes. (linux_init_abi): Call set_gdbarch_core_info_proc. * target.c (target_info_proc): Return 'int'. * target.h (target_info_proc): Update. gdb/doc * gdb.texinfo (SVR4 Process Information): Mention core files. gdb/testsuite * gdb.base/info-proc.exp: Add core file tests. bfd * elf.c (elfcore_grok_note) <NT_FILE>: New case.
* daily updateAlan Modra2012-12-141-1/+1
|
* Check local IFUNC callsH.J. Lu2012-12-133-6/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2012-12-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/14956 * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Check local IFUNC calls. * elf64-x86-64.c (elf_x86_64_adjust_dynamic_symbol): Likewise. ld/testsuite/ 2012-12-13 H.J. Lu <hongjiu.lu@intel.com> PR ld/14956 * ld-ifunc/ifunc-14-i386.d: Renamed to ... * ld-ifunc/ifunc-14a-i386.d: This. * ld-ifunc/ifunc-14-x86-64.d: Renamed to ... * ld-ifunc/ifunc-14a-x86-64.d: This. * ld-ifunc/ifunc-14b-i386.d: New file. * ld-ifunc/ifunc-14b-x86-64.d: Likewise. * ld-ifunc/ifunc-14c-i386.d: Likewise. * ld-ifunc/ifunc-14c-x86-64.d: Likewise. * ld-ifunc/ifunc-14d-i386.d: Likewise. * ld-ifunc/ifunc-14d-x86-64.d: Likewise.
* daily updateAlan Modra2012-12-121-1/+1
|
* daily updateAlan Modra2012-12-111-1/+1
|
* Microblaze: Add support for handling TLS symbol suffixes and generatingeager2012-12-115-121/+608
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TLS relocs for General Dynamic and Local Dynamic models. bfd/Changelog * reloc.c: Add new relocations * bfd-in2.h: Regenerated * libbfd.h: Regenerated * elf32-microblaze.c (microblaze_elf_howto_raw): Add TLS relocations (microblaze_elf_reloc_type_lookup): Likewise (elf32_mb_link_hash_entry): define TLS reference types (elf32_mb_link_hash_table): add TLS Local dynamic GOT entry #define has_tls_reloc if section has TLS relocs (dtprel_base), (check_unique_offset): New (microblaze_elf_output_dynamic_relocation): output simple dynamic relocation into SRELOC. (microblaze_elf_relocate_section): Accommodate TLS relocations. (microblaze_elf_check_relocs): Likewise (update_local_sym_info): New (microblaze_elf_copy_indirect_symbol): Add tls_mask. (allocate_dynrelocs): Handle TLS symbol (microblaze_elf_size_dynamic_sections): Set size and offset (microblaze_elf_finish_dynamic_symbol): Use microblaze_elf_output_dynamic_relocation gas/Changelog * config/tc-microblaze.c: Define TLS offsets (md_relax_table): Add TLS offsets (imm_types), (match_imm), (get_imm_otype): New to support TLS offsets. (tc_microblaze_fix_adjustable): Add TLS relocs. (md_convert_frag): Support TLS offsets. (md_apply_fix), (md_estimate_size_before_relax), (tc_gen_reloc): Add TLS relocs include/Changelog * elf/microblaze.h: Add TLS relocs to START_RELOC_NUMBERS
* daily updateAlan Modra2012-12-101-1/+1
|
* Add copyright noticesNick Clifton2012-12-1017-29/+131
|
* daily updateAlan Modra2012-12-091-1/+1
|
* Properly check indicies bigger than 4GbH.J. Lu2012-12-092-4/+9
| | | | | | PR binutils/14933 * archive.c (bsd_write_armap): Properly check indicies bigger than 4Gb.
* daily updateAlan Modra2012-12-081-1/+1
|
* daily updateAlan Modra2012-12-071-1/+1
|
* PR ld/14926Alan Modra2012-12-072-0/+7
| | | | | * elf.c (_bfd_elf_map_sections_to_segments): Include elf header size when determining phdr_in_segment.
* daily updateAlan Modra2012-12-061-1/+1
|
* bfd/yufeng2012-12-062-0/+41
| | | | | | | 2012-12-06 Yufeng Zhang <yufeng.zhang@arm.com> * elf64-aarch64.c (elf64_aarch64_grok_prstatus): New function. (elf_backend_grok_prstatus): Define to elf64_aarch64_grok_prstatus.
* * elfxx-mips.c (allocate_dynrelocs): Correct test for symbolAlan Modra2012-12-062-1/+6
| | | | defined in a regular file to include common symbols.
* daily updateAlan Modra2012-12-051-1/+1
|
* Add x86_64-*-rdos.Alan Modra2012-12-052-0/+9
|
* * elf64-ppc.c (build_plt_stub): Fix off by one error in branchAlan Modra2012-12-052-2/+7
| | | | to glink.
* daily updateAlan Modra2012-12-041-1/+1
|
* daily updateAlan Modra2012-12-031-1/+1
|
* PR ld/10629Maciej W. Rozycki2012-12-032-3/+11
| | | | | | | * elfxx-mips.c (mips_elf_link_hash_table): Update comment for use_rld_obj_head. (_bfd_mips_elf_create_dynamic_sections): Always create a .rld_map section if no __rld_obj_head symbol has been seen.
* * elf32-mips.c (mips_elf32_object_p): Return right away when theMaciej W. Rozycki2012-12-033-8/+12
| | | | | ABI is not compatible. * elfn32-mips.c (mips_elf_n32_object_p): Likewise.
* * elf32-tilepro.c (tilepro_elf_mkobject): New function.Maciej W. Rozycki2012-12-032-0/+17
| | | | (bfd_elf32_mkobject): New macro.
* bfd/Maciej W. Rozycki2012-12-036-37/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-mips.c (bfd_elf32_mkobject): New macro. * elf64-mips.c (bfd_elf64_mkobject): Likewise. * elfn32-mips.c (bfd_elf32_mkobject): Likewise. * elfxx-mips.h (_bfd_mips_elf_mkobject): New prototype. * elfxx-mips.c (mips_elf_obj_tdata): New struct. (mips_elf_tdata): New macro. (_bfd_mips_elf_mkobject): New function. (mips_elf_merge_obj_attributes): Report the originating input BFD on attribute conflicts. ld/testsuite/ * ld-mips-elf/attr-gnu-4-12.d: Update the warning message. * ld-mips-elf/attr-gnu-4-13.d: Likewise. * ld-mips-elf/attr-gnu-4-14.d: Likewise. * ld-mips-elf/attr-gnu-4-15.d: Likewise. * ld-mips-elf/attr-gnu-4-21.d: Likewise. * ld-mips-elf/attr-gnu-4-23.d: Likewise. * ld-mips-elf/attr-gnu-4-24.d: Likewise. * ld-mips-elf/attr-gnu-4-25.d: Likewise. * ld-mips-elf/attr-gnu-4-31.d: Likewise. * ld-mips-elf/attr-gnu-4-32.d: Likewise. * ld-mips-elf/attr-gnu-4-34.d: Likewise. * ld-mips-elf/attr-gnu-4-35.d: Likewise. * ld-mips-elf/attr-gnu-4-41.d: Likewise. * ld-mips-elf/attr-gnu-4-42.d: Likewise. * ld-mips-elf/attr-gnu-4-43.d: Likewise. * ld-mips-elf/attr-gnu-4-45.d: Likewise. * ld-mips-elf/attr-gnu-4-51.d: Likewise.
* bfd/Maciej W. Rozycki2012-12-032-10/+17
| | | | | | | | | | | | | | | | * elfxx-mips.c (mips_elf_merge_obj_attributes): Correct messages for the -mdouble-float and -msingle-float cases throughout; make all the messages report the output file consistently on the left-hand side. ld/testsuite/ * ld-mips-elf/attr-gnu-4-12.d: Adjust the warning expected according to changes to BFD. * ld-mips-elf/attr-gnu-4-14.d: Likewise. * ld-mips-elf/attr-gnu-4-31.d: Likewise. * ld-mips-elf/attr-gnu-4-32.d: Likewise. * ld-mips-elf/attr-gnu-4-34.d: Likewise. * ld-mips-elf/attr-gnu-4-41.d: Likewise.
* daily updateAlan Modra2012-12-021-1/+1
|
* daily updateAlan Modra2012-12-011-1/+1
|
* daily updateAlan Modra2012-11-301-1/+1
|
* daily updateAlan Modra2012-11-291-1/+1
|
* bfd/Roland McGrath2012-11-292-4/+8
| | | | * elf-nacl.c (segment_eligible_for_headers): Disallow writable segments.
* Fix attribution for old patch:Hans-Peter Nilsson2012-11-291-1/+2
| | | | | | | | | 2009-10-19 Edgar E. Iglesias <edgar@axis.com> Hans-Peter Nilsson <hp@axis.com> * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_DTPREL>: Don't subtract the size of the TLS block for non-shared objects from the relocation.
* daily updateAlan Modra2012-11-281-1/+1
|
* daily updateAlan Modra2012-11-271-1/+1
|
* daily updateAlan Modra2012-11-261-1/+1
|