aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2009-02-12 * elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset forNathan Sidwell2-1/+6
relocatable link.
2009-02-11daily updateAlan Modra1-1/+1
2009-02-10daily updateAlan Modra1-1/+1
2009-02-09daily updateAlan Modra1-1/+1
2009-02-09 * elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors.Alan Modra2-8/+22
(find_function): Likewise. (pasted_function): Don't error if no prior function found. (discover_functions): Revert 2008-12-10 change. Extend first function range to start of section.
2009-02-08daily updateAlan Modra1-1/+1
2009-02-08 * elf64-hppa.c: Remove PARAMS macro. Replace PTR with void *. ConvertDave Anglin3-172/+148
functions to C90. * elf64-hppa.h: Likewise.
2009-02-07daily updateAlan Modra1-1/+1
2009-02-06 * elfxx-mips.c (_bfd_mips_elf_section_processing): Remove specialJoseph Myers2-5/+12
.sbss handling.
2009-02-06daily updateAlan Modra1-1/+1
2009-02-05daily updateAlan Modra1-1/+1
2009-02-04 * elf32-spu.c (spu_elf_build_stubs): Define __icache_neg_log2_linesize.Alan Modra2-1/+12
Define __icache_ptr_handler*, not __icache_ptr___icache_bi_handler*.
2009-02-03daily updateAlan Modra1-1/+1
2009-02-03bfd:Joseph Myers6-2/+26
2009-02-03 Sandip Matte <sandip@rmicorp.com> * aoutx.h (NAME (aout, machine_type)): Handle bfd_mach_mips_xlr. * archures.c (bfd_mach_mips_xlr): Define. * bfd-in2.h: Regenerate. * cpu-mips.c (I_xlr): Define. (arch_info_struct): Add XLR entry. * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_XLR. (mips_set_isa_flags): Handle bfd_mach_mips_xlr (mips_mach_extensions): Add XLR entry. binutils: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * readelf.c (get_machine_flags): Handle E_MIPS_MACH_XLR. gas: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * config/tc-mips.c (macro): Handle M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT and M_MSGWAIT_T. (mips_cpu_info_table): Add XLR entry. * doc/c-mips.texi (-march): Document xlr. gas/testsuite: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * gas/mips/mips.exp (xlr): New architecture. (xlr-ext): Run test. * gas/mips/xlr-ext.d, gas/mips/xlr-ext.s: New. include/elf: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * mips.h (E_MIPS_MACH_XLR): Define. include/opcode: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * mips.h (INSN_XLR): Define. (INSN_CHIP_MASK): Update. (CPU_XLR): Define. (OPCODE_IS_MEMBER): Update. (M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T): Define. opcodes: 2009-02-03 Sandip Matte <sandip@rmicorp.com> * mips-dis.c (mips_cp0_names_xlr, mips_cp0sel_names_xlr): Define. (mips_arch_choices): Add XLR entry. * mips-opc.c (XLR): Define. (mips_builtin_opcodes): Add XLR instructions.
2009-02-03/bfd:Eric B. Weddington2-1/+6
2009-02-03 Eric B. Weddington <eric.weddington@atmel.com> * elf32-avr.c (avr_final_link_relocate): Allow avr25 to wraparound.
2009-02-03bfd:Joseph Myers8-4/+108
2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am and install-pdf-recursive targets. Define pdfdir. * doc/Makefile.am: Define pdf__strip_dir. Add install-pdf and install-pdf-am targets. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate * doc/Makefile.in: Regenerate. binutils: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am, and install-pdf-recursive targets. * doc/Makefile.am: Define pdf__strip_dir. Add install-pdf and install-pdf-am targets. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. etc: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * configure: Regenerate. gas: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am, and install-pdf-recursive targets. * doc/Makefile.am: Define pdf__strip_dir. Add install-pdf and install-pdf-am targets. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. gprof: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am, and install-pdf-recursive targets. Define pdf__strip_dir. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate. ld: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * configure.in: AC_SUBST pdfdir. * Makefile.am: Add install-pdf, install-pdf-am, and install-pdf-recursive targets. Define pdf__strip_dir. * po/Make-in: Add install-pdf target. * configure: Regenerate. * Makefile.in: Regenerate. opcodes: 2009-02-03 Carlos O'Donell <carlos@codesourcery.com> * Makefile.am: Add install-pdf target. * po/Make-in: Add install-pdf target. * Makefile.in: Regenerate.
2009-02-03 M68K TLS support.Nick Clifton5-427/+1200
ld/testsuite/ * ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update. * ld-m68k/got-multigot-14-ok.d: Update. * ld-m68k/m68k-got.exp: Update. * ld-m68k/got-negative-12-13-14-34-ok.d: Update. * ld-m68k/got-negative-14-ok.d: Update. * ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests. * ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests. * ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests. * ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s: New test sources. * ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s: New test sources. * ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources. * ld-m68k/m68k.exp: Run new tests. (merge isa-a isa-a:nodiv): Fix. gas/testsuite/ * gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test. * gas/m68k/all.exp: Run it. gas/ * config/m68k-parse.h (enum pic_relocation): Add values for TLS relocations. * config/m68k-parse.y (yylex): Parse TLS relocations. * config/tc-m68k.c (m68k_elf_cons): New static function. (md_pseudo_table): Use it. (get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS relocations. (md_apply_fix): Fix to set thread local flag. (m68k_elf_suffix): New static function; helper for m68k_elf_cons. include/elf/ * m68k.h: Map TLS relocations to numbers. bfd/ * bfd-in2.h: Regenerate. * elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and fields from n_entries to n_slots where appropriate, update comments. (HOWTO): Add TLS relocations. (reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*. (enum elf_m68k_got_offset_size): New enum. (struct elf_m68k_got_entry.type): Move field to ... (struct elf_m68k_got_entry_key): ... here. Update all uses. (elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static functions. (elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static functions. (struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries fields into n_entries array. Update comments. (elf_m68k_init_got): Simplify, update all uses. (elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update. (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot GOT entries; update name, update all uses. (ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto. (elf_m68k_get_got_entry): Update. (elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries, simplify. (elf_m68k_remove_got_entry_type): Simplify. (elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update. (elf_m68k_can_merge_gots): Update. (elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update. (struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot GOT entries, simplify. (elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same. (struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff field, remove obsoleted local_n_entries field. (elf_m68k_partition_multi_got_2): New static function. (elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it; update. (elf_m68k_remove_got_entry_type): Update. (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. (elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary update of sgot->size and srelgot->size. (elf_m68k_gc_sweep_hook): Update. (elf_m68k_install_rela, dtpoff_base, tpoff): New static functions. (elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle TLS relocations. * reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations. * libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
2009-02-03* elf32-mep.c (config_names): Regenerate configuration.DJ Delorie2-2/+5
* mep-asm.c: Regenerate. * mep-desc.c: Regenerate. * mep-desc.h: Regenerate. * mep-dis.c: Regenerate. * mep-ibld.c: Regenerate. * mep-opc.c: Regenerate. * mep-opc.h: Regenerate.
2009-02-03daily updateAlan Modra1-1/+1
2009-02-02 * elf-bfd.h (bfd_elf_get_str_section): Don't declare.Alan Modra4-52/+11
(bfd_elf_find_section, _sh_elf_set_mach_from_flags): Likewise. * elf.c (bfd_elf_get_str_section): Make static. (bfd_elf_find_section): Delete. * libbfd.h: Regenerate.
2009-02-02daily updateAlan Modra1-1/+1
2009-02-01bfd/Jan Kratochvil2-20/+15
* elf-eh-frame.c (REQUIRE_CLEARED_RELOCS) Remove. (_bfd_elf_parse_eh_frame): Do not check relocations for removed FDEs. ld/testsuite/ * ld-elf/eh-group2.s: New `.cfi_lsda' referencing `.gcc_except_table'. * ld-elf/eh-group.exp: New test and conditional defininiton of `ELF64'.
2009-02-01daily updateAlan Modra1-1/+1
2009-01-31binutils/Alan Modra2-2/+21
* NEWS: Mention --as-needed change. ld/ * ld.texinfo (--as-needed): Update. bfd/ * elflink.c (on_needed_list): New function. (elf_link_add_object_symbols): Link in --as-needed libs if they satisfy undefined symbols in other libs.
2009-01-31daily updateAlan Modra1-1/+1
2009-01-302009-01-30 Julian Brown <julian@codesourcery.com>Joseph Myers2-0/+12
* elf32-arm.c (bfd_elf32_arm_vfp11_erratum_scan): Skip BFDs with EXEC_P or DYNAMIC flags, and skip sections which are being linked with --just-symbols (-R).
2009-01-30 * dwarf2.c (read_rangelist): Use read_address to read low_pc andAdam Nemet2-14/+10
high_pc in order to properly sign-extend VMAs.
2009-01-30daily updateAlan Modra1-1/+1
2009-01-292009-01-29 Daniel Jacobowitz <dan@codesourcery.com>Joseph Myers4-4/+10
Mark Shinwell <shinwell@codesourcery.com> Catherine Moore <clm@codesourcery.com> * elf-attrs.c, elflink.c, elfxx-mips.c: Correct typos in comments.
2009-01-29daily updateAlan Modra1-1/+1
2009-01-28 * elf32-arm.c (elf32_arm_check_relocs): Set SEC_ALLOC andCatherine Moore2-1/+6
SEC_LOAD for dynamic relocation sections.
2009-01-28daily updateAlan Modra1-1/+1
2009-01-27 * elf32-cris.c (cris_elf_relocate_section): Use elf_hash_tableHans-Peter Nilsson2-4/+10
(info)->tls_size, not elf_hash_table (info)->tls_sec->size for the size of local TLS data.
2009-01-27* mach-o.c (bfd_mach_o_archive_p): Restrict the number ofAndreas Schwab2-0/+10
architectures in the archive.
2009-01-27 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_DTPREL>Hans-Peter Nilsson2-2/+10
<R_CRIS_32_DTPREL>: Correct relocation value.
2009-01-27 * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_8>Hans-Peter Nilsson2-1/+16
<R_CRIS_16, R_CRIS_32>: Don't call BFD_ASSERT for weak undefined symbols with non-default visibility.
2009-01-27daily updateAlan Modra1-1/+1
2009-01-26 * ld-powerpc/powerpc.exp: Add vxworks relax testcase.Nathan Sidwell2-8/+46
* ld-powerpc/vxworks-relax.s, ld-powerpc/vxworks-relax.rd: New. * ld-powerpc/vxworks1.ld: Add .pad and .far input sections. * ld-powerpc/vxworks1.rd: Correct regexp for undefined symbols.
2009-01-26daily updateAlan Modra1-1/+1
2009-01-25 * elf-hppa.h (elf_hppa_final_link_relocate): Add check to ensure thatDave Anglin2-2/+30
branch targets can be reached for R_PARISC_PCREL22F, R_PARISC_PCREL17F and R_PARISC_PCREL12F relocations.
2009-01-25daily updateAlan Modra1-1/+1
2009-01-24 PR 6022Alan Modra2-92/+91
* elflink.c (find_version_for_sym): New function split out from, but without export_dynamic test, .. (_bfd_elf_link_assign_sym_version): ..here. (_bfd_elf_export_symbol): Use it.
2009-01-24daily updateAlan Modra1-1/+1
2009-01-23 * elf-bfd.h (struct elf_assign_sym_version_info): Delete.Alan Modra3-91/+65
(struct elf_info_failed, struct elf_find_verdep_info): Move to.. * elflink.c: ..here, somewhat modified. * elf-bfd.h (_bfd_elf_add_default_symbol, _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, _bfd_elf_link_assign_sym_version, _bfd_elf_link_size_reloc_section, _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, _bfd_elf_link_sec_merge_syms, bfd_elf_link_mark_dynamic_symbol): Don't declare.. * elflink.c: ..and make static here. (_bfd_elf_link_find_version_dependencies): Adjust for removal of output_bfd from struct elf_find_verdep_info. (_bfd_elf_link_assign_sym_version): Similarly adjust to use struct elf_info_failed. (bfd_elf_size_dynamic_sections): Adjust.
2009-01-23daily updateAlan Modra1-1/+1
2009-01-22 PR 6832Alan Modra2-8/+15
* dwarf2.c (find_line): Don't update stash->sec_info_ptr until after comp_unit_find_line call.
2009-01-22daily updateAlan Modra1-1/+1
2009-01-21 PR 9769Nick Clifton2-3/+7
* vmsutil.c (vms_file_stats_name): Remove use of unsupported tm_gmtoff field in struct tm.
2009-01-21bfd/Alan Modra3-9/+31
* elf32-spu.h (struct spu_elf_params): Add non_ia_text. * elf32-spu.c (mark_overlay_section): Only include .text.ia.* sections in soft-icache lines unless non_ia_text. Don't add rodata if doing so would exceed line size. ld/ * emultempl/spuelf.em (params): Init new field. (OPTION_SPU_NON_IA_TEXT): Define. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
2009-01-21daily updateAlan Modra1-1/+1