summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* bfd/Richard Sandiford2013-08-053-1/+11
| | | | | | | | | | | | | | | | | 2013-08-05 John Tytgat <john@bass-software.com> * po/BLD-POTFILES.in: Regenerate. * po/SRC-POTFILES.in: Likewise. gas/ 2013-08-05 John Tytgat <john@bass-software.com> * po/POTFILES.in: Regenerate. gprof/ 2013-08-05 John Tytgat <john@bass-software.com> * po/POTFILES.in: Regenerate.
* daily updateAlan Modra2013-08-051-1/+1
|
* daily updateAlan Modra2013-08-041-1/+1
|
* daily updateAlan Modra2013-08-031-1/+1
|
* daily updateAlan Modra2013-08-021-1/+1
|
* daily updateAlan Modra2013-08-011-1/+1
|
* PR ld/15787Nick Clifton2013-07-312-7/+14
| | | | | | | | | | | | | | | | | | | | | * elf32-arm.c (elf32_arm_final_link_relocate): Base SB on the output section VMA. * ld-arm/group-relocs-alu-bad-2.d; New. * ld-arm/group-relocs-alu-bad-2.s: New. * ld-arm/group-relocs-ldc-bad-2.d: New. * ld-arm/group-relocs-ldc-bad-2.s: New. * ld-arm/group-relocs-ldr-bad-2.d: New. * ld-arm/group-relocs-ldr-bad-2.s: New. * ld-arm/group-relocs-ldrs-bad-2.d: New. * ld-arm/group-relocs-ldrs-bad-2: New. * ld-arm/arm-elf.exp: Add the new tests. * ld-arm/group-relocs-ldr-bad.d: Update expected output. * ld-arm/group-relocs-ldr-bad.s: Likewise. * ld-arm/group-relocs-ldrs-bad.d: Likewise. * ld-arm/group-relocs-ldrs-bad.s: Likewise. * ld-arm/group-relocs.d: Likewise. * ld-arm/group-relocs.s: Likewise.
* daily updateAlan Modra2013-07-311-1/+1
|
* daily updateAlan Modra2013-07-301-1/+1
|
* daily updateAlan Modra2013-07-291-1/+1
|
* * elf64-hppa.c (elf64_hppa_finish_dynamic_sections)Maciej W. Rozycki2013-07-282-0/+8
| | | | | <DT_HP_LOAD_MAP>: Return unsuccessfully if there's no `.data' section.
* 2013-07-27 Andrew Pinski <apinski@cavium.com>Andrew Pinski2013-07-282-1/+7
| | | | | | * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Use the correct alignment for _bfd_elf_make_dynamic_reloc_section for ILP32.
* daily updateAlan Modra2013-07-281-1/+1
|
* 2013-07-27 Andrew Pinski <apinski@cavium.com>Andrew Pinski2013-07-272-0/+8
| | | | | * elfnn-aarch64.c (elfNN_aarch64_howto_from_bfd_reloc): Handle BFD_RELOC_AARCH64_NONE explicitly.
* * elf32-vax.c (elf_vax_finish_dynamic_sections): Don't set GOT'sMaciej W. Rozycki2013-07-272-1/+7
| | | | entry size if there is no ELF section data.
* bfd/Maciej W. Rozycki2013-07-272-83/+32
| | | | | | | | | | | | | | | | | | | | | | | * elf32-vax.c (elf_vax_check_relocs) <R_VAX_GOT32, R_VAX_PLT32>: Don't check symbol visibility here. Remove a check already asserted for. (elf_vax_instantiate_got_entries): Use SYMBOL_REFERENCES_LOCAL instead of individual checks. (elf_vax_relocate_section) <R_VAX_GOT32, R_VAX_PLT32>: Only check the offset to decide if produce a GOT or PLT entry. Remove redundant assertions. Remove code to produce GOT entries for local symbols. Remove a duplicate comment and add a comment on GOT relocations. (elf_vax_finish_dynamic_symbol): Remove code to produce RELATIVE dynamic relocs. ld/testsuite/ * ld-vax-elf/got-local-exe.xd: New test. * ld-vax-elf/got-local-lib.xd: New test. * ld-vax-elf/got-local-aux.s: New test source. * ld-vax-elf/got-local-def.s: New test source. * ld-vax-elf/got-local-ref.s: New test source. * ld-vax-elf/vax-elf.exp: Run the new tests.
* * elf32-vax.c (elf_vax_always_size_sections): Correct a commentMaciej W. Rozycki2013-07-272-1/+6
| | | | typo.
* * elf32-vax.c (elf_vax_discard_got_entries): New function.Maciej W. Rozycki2013-07-272-30/+78
| | | | | | | | | | | (elf_vax_always_size_sections): Likewise. (elf_vax_size_dynamic_sections): Remove code moved to elf_vax_always_size_sections. Make comment on elf_vax_instantiate_got_entries match reality. (elf_vax_instantiate_got_entries): Assert that rather than check if dynobj is null. Don't check for dynamic_sections_created. Make function description match reality. (elf_backend_always_size_sections): New macro.
* daily updateAlan Modra2013-07-271-1/+1
|
* daily updateAlan Modra2013-07-261-1/+1
|
* * elf64-ppc.c (struct ppc64_elf_obj_tdata): Replace opd_relocsAlan Modra2013-07-252-9/+25
| | | | | | with a union. (opd_entry_value): Cache .opd section contents. (ppc64_elf_relocate_section): Adjust.
* PR ld/15762Alan Modra2013-07-252-57/+53
| | | | | | PR ld/12761 * elflink.c (elf_link_add_object_symbols): Correct test in last patch. Remove unnecessary code.
* daily updateAlan Modra2013-07-251-1/+1
|
* bfd/Tristan Gingold2013-07-243-56/+68
| | | | | | | | | | | | | | | | | | | | | | | | 2013-07-24 Tristan Gingold <gingold@adacore.com> * coff-rs6000.c (xcoff_howto_table): Fix masks and pc_relative for R_RBR. Add numbers in comments. (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_PPC_B16. * coff64-rs6000.c: Likewise. gas/ 2013-07-24 Tristan Gingold <gingold@adacore.com> * config/tc-ppc.c (md_apply_fix): Adjust BFD_RELOC_PPC_B16 on xcoff targets. gas/testsuite/ 2013-07-24 Tristan Gingold <gingold@adacore.com> * gas/ppc/test2xcoff32.s, gas/ppc/test2xcoff32.d: New files * gas/ppc/ppc.exp: Add new test. * gas/ppc/xcoff-br16-1.s, gas/ppc/xcoff-br16-1.d, gas/ppc/xcoff-br16-2.s, gas/ppc/xcoff-br16-2.d: New files * gas/ppc/aix.exp: Add new tests.
* daily updateAlan Modra2013-07-241-1/+1
|
* daily updateAlan Modra2013-07-231-1/+1
|
* daily updateAlan Modra2013-07-221-1/+1
|
* daily updateAlan Modra2013-07-211-1/+1
|
* PR ld/15762Alan Modra2013-07-202-1/+8
| | | | | | PR ld/12761 * elflink.c (elf_link_add_object_symbols): Don't clobber .gnu.warning.symbol sections when shared.
* daily updateAlan Modra2013-07-201-1/+1
|
* * elf32-rx.c (rx_elf_relocate_section): Fix typo: moveNick Clifton2013-07-192-1/+6
| | | | saw_subtract from R_RX_OPdiv to R_RX_OPneg.
* daily updateAlan Modra2013-07-191-1/+1
|
* PR ld/15721Nick Clifton2013-07-182-12/+21
| | | | | | | | * elf32-msp430.c (R_MSP430_10_PCREL): Use 10-bit source and destination masks. * R_MSP430_2X_PCREL: Likewise. * R_MSP430X_10_PCREL: Likewise. * R_MSP430X_2X_PCREL: Likewise.
* * elf32-arm.c (arm_type_of_stub): Don't use ST_BRANCH_TO_ARM forNick Clifton2013-07-182-0/+20
| | | | | | | | thumb only targets. (elf32_arm_final_link_relocate): Likewise. * ld-arm/thumb-b-lks-sym.d: Updated to be more flexible. * ld-arm/thumb-bl-lks-sym.d: Likewise.
* * mach-o.c (mach_o_section_name_xlat dw): Add entry forNick Clifton2013-07-182-0/+8
| | | | .debug_gdb_scripts
* * elf32-arm.c (elf32_arm_stub_long_branch_arm_nacl): New variable.Nick Clifton2013-07-184-18/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (elf32_arm_stub_long_branch_arm_nacl_pic): New variable. (arm_build_one_stub): Increase MAXRELOCS to 3. (arm_type_of_stub): Use them if GLOBALS->nacl_p. (struct elf32_arm_link_hash_table): Give add_stub_section member's pointee type a third argument. (elf32_arm_create_or_find_stub_sec): Update caller. (elf32_arm_size_stubs): Update argument type. * bfd-in.h (elf32_arm_size_stubs): Update decl. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * emultempl/armelf.em (elf32_arm_add_stub_section): Take third argument ALIGNMENT_POWER, use it instead of constant 3. * ld-arm/farcall-arm-nacl.d: New file. * ld-arm/farcall-arm-nacl-pic.d: New file. * ld-arm/farcall-data-nacl.d: New file. * ld-arm/arm-elf.exp (armeabitests_common): Add extra element to "action" lists for those cases to use a different dump file for NaCl targets. Massage $armeabitests_common to drop the extra element or the one before it, depending on [istarget "arm*-*-nacl*"]. * ld-arm/arm-elf.exp (armelftests_common): Move all "Cortex-A8 erratum fix", Thumb-only and interworking cases to ... (armelftests_nonacl): ... here. (armeabitests_common): Move all "erratum 760522 fix", Thumb-only and interworking cases to ... (armeabitests_nonacl): ... here.
* daily updateAlan Modra2013-07-181-1/+1
|
* daily updateAlan Modra2013-07-171-1/+1
|
* daily updateAlan Modra2013-07-161-1/+1
|
* include/elf/Maciej W. Rozycki2013-07-152-23/+28
| | | | | | | | | | | | | | | | | | | * mips.h (Tag_GNU_MIPS_ABI_FP): Remove comment. (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE, Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT, Val_GNU_MIPS_ABI_FP_64): New enum. bfd/ * elfxx-mips.c (mips_elf_merge_obj_attributes): Replace hardcoded magic numbers with enum values. binutils/ * readelf.c (display_mips_gnu_attribute): Replace hardcoded magic numbers with enum values. gdb/ * mips-tdep.c (mips_gdbarch_init): Replace hardcoded magic numbers with enum values.
* daily updateAlan Modra2013-07-151-1/+1
|
* daily updateAlan Modra2013-07-141-1/+1
|
* daily updateAlan Modra2013-07-131-1/+1
|
* bfd/Roland McGrath2013-07-122-1/+25
| | | | | | | | * reloc.c: Add BFD_RELOC_390_PC12DBL, BFD_RELOC_390_PLT12DBL, BFD_RELOC_390_PC24DBL, BFD_RELOC_390_PLT24DBL (should have been added here with 2013-07-05 elf32-s390.c change). * bfd-in2.h: Regenerate (no-op). * libbfd.h: Regenerate (no-op).
* include/elf/Maciej W. Rozycki2013-07-122-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mips.h (EF_MIPS_NAN2008): New macro. bfd/ * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Handle EF_MIPS_NAN2008. (_bfd_mips_elf_print_private_bfd_data): Likewise. binutils/ * readelf.c (get_machine_flags): Handle EF_MIPS_NAN2008. gas/ * config/tc-mips.c (mips_flag_nan2008): New variable. (options): Add OPTION_NAN enum value. (md_longopts): Handle it. (md_parse_option): Likewise. (s_nan): New function. (mips_elf_final_processing): Handle EF_MIPS_NAN2008. (md_show_usage): Add -mnan. * doc/as.texinfo (Overview): Add -mnan. * doc/c-mips.texi (MIPS Opts): Document -mnan. (MIPS NaN Encodings): New node. Document .nan directive. (MIPS-Dependent): List the new node. gas/testsuite/ * gas/mips/nan-2008-1.d: New test. * gas/mips/nan-2008-2.d: New test. * gas/mips/nan-2008-3.d: New test. * gas/mips/nan-2008-4.d: New test. * gas/mips/nan-legacy-1.d: New test. * gas/mips/nan-legacy-2.d: New test. * gas/mips/nan-legacy-3.d: New test. * gas/mips/nan-legacy-4.d: New test. * gas/mips/nan-legacy-5.d: New test. * gas/mips/nan-error-1.l: New list test. * gas/mips/nan-error-2.l: New list test. * gas/mips/nan-2008-override.s: New test source. * gas/mips/nan-2008.s: New test source. * gas/mips/nan-legacy-override.s: New test source. * gas/mips/nan-legacy.s: New test source. * gas/mips/nan-error-1.s: New test source. * gas/mips/nan-error-2.s: New test source. * gas/mips/mips.exp: Run the new tests. ld/testsuite/ * ld-mips-elf/nan-2008.d: New test. * ld-mips-elf/nan-legacy.d: New test. * ld-mips-elf/nan-mixed-1.d: New test. * ld-mips-elf/nan-mixed-2.d: New test. * ld-mips-elf/nan-2008.s: New test source. * ld-mips-elf/nan-legacy.s: New test source.
* daily updateAlan Modra2013-07-121-1/+1
|
* daily updateAlan Modra2013-07-111-1/+1
|
* daily updateAlan Modra2013-07-101-1/+1
|
* 2013-07-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2013-07-092-141/+26
| | | | | | | | | | | | * vms-alpha.c (struct vms_private_data_struct): Remove flag_hash_long_names and flag_show_after_trunc. (hash_string): Remove. (_bfd_vms_length_hash_symbol): Remove. (alpha_vms_write_exec): Remove call to _bfd_vms_length_hash_symbol. (_bfd_vms_write_egsd): Likewise. Rewrite condition. (_bfd_vms_write_ehdr): Remove code that set removed flags. (_bfd_vms_write_etir): Remove call to _bfd_vms_length_hash_symbol. (vms_bfd_is_local_label_name): Remove trace call.
* 2013-07-09 Tristan Gingold <gingold@adacore.com>Tristan Gingold2013-07-094-69/+35
| | | | | | | * hosts/alphavms.h: Include config.h and ansidecl.h, remove useless macros. * configure.com: Adjust to match changes in configure. * makefile.vms (OBJS): Update list.