aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2006-05-27daily updateAlan Modra1-1/+1
2006-05-262006-05-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+9
* elf64-x86-64.c (ELF_MINPAGESIZE): Changed to 0x1000.
2006-05-262006-05-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+1
* elf64-x86-64.c (ELF_MINPAGESIZE): Set to 0x100000.
2006-05-26bfd/H.J. Lu2-1/+5
2006-05-25 H.J. Lu <hongjiu.lu@intel.com> * elf64-x86-64.c (ELF_MAXPAGESIZE): Updated to 0x200000. ld/ 2006-05-25 H.J. Lu <hongjiu.lu@intel.com> * emulparams/elf_x86_64.sh (MAXPAGESIZE): Updated to 0x200000. ld/testsuite/ 2006-05-25 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/tlsbin.dd: Updated for 2MB maximum page size. * ld-x86-64/tlsbin.rd: Likewise. * ld-x86-64/tlsbin.sd: Likewise. * ld-x86-64/tlsbin.td: Likewise. * ld-x86-64/tlsbindesc.dd: Likewise. * ld-x86-64/tlsbindesc.rd: Likewise. * ld-x86-64/tlsbindesc.sd: Likewise. * ld-x86-64/tlsbindesc.td: Likewise. * ld-x86-64/tlsdesc.dd: Likewise. * ld-x86-64/tlsdesc.pd: Likewise. * ld-x86-64/tlsdesc.rd: Likewise. * ld-x86-64/tlsdesc.sd: Likewise. * ld-x86-64/tlsdesc.td: Likewise. * ld-x86-64/tlsgdesc.dd: Likewise. * ld-x86-64/tlspic.dd: Likewise. * ld-x86-64/tlspic.rd: Likewise. * ld-x86-64/tlspic.sd: Likewise. * ld-x86-64/tlspic.td: Likewise.
2006-05-26daily updateAlan Modra1-1/+1
2006-05-25 * elf.c (sym_is_global): Return a bfd_boolean.Alan Modra2-36/+39
(ignore_section_sym): New function. (elf_map_symbols): Use ignore_section_sym to discard some syms. (_bfd_elf_symbol_from_bfd_symbol): Ensure section belongs to bfd before using elf_section_syms.
2006-05-252006-05-25 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-12/+36
* config.bfd: (sh-*-linux*): Treat as 64bit target. (sh*l*-*-netbsdelf*): Likewise. (sh-*-netbsdelf*): Likewise. (shl*-*-elf*): Likewise. (sh[1234]l*-*-elf*): Likewise. (sh3el*-*-elf*): Likewise. (shl*-*-kaos*): Likewise. (sh-*-elf*): Likewise. (sh[1234]*-elf*): Likewise. (sh-*-rtems*): Likewise. (sh-*-kaos*): Likewise.
2006-05-25bfd/H.J. Lu2-16/+61
2006-05-24 H.J. Lu <hongjiu.lu@intel.com> PR ld/1485 * config.bfd: Set want64 to true if 64bit bfd is used. (sh-*-linux*): Use targ64_selvecs for 64bit targets. (sh*l*-*-netbsdelf*): Likewise. (sh-*-netbsdelf*): Likewise. (shl*-*-elf*): Likewise. (sh[1234]l*-*-elf*): Likewise. (sh3el*-*-elf*): Likewise. (shl*-*-kaos*): Likewise. (sh-*-elf*): Likewise. (sh[1234]*-elf*): Likewise. (sh-*-rtems*): Likewise. (sh-*-kaos*): Likewise. ld/ 2006-05-24 H.J. Lu <hongjiu.lu@intel.com> PR ld/1485 * configure.in: Use ${srcdir}/../bfd/config.bfd to check 64bit bfd. Support 64bit host for --enable-targets=all. * configure: Regenerated.
2006-05-25daily updateAlan Modra1-1/+1
2006-05-242006-05-24 Paul Brook <paul@codesourcery.com>Paul Brook5-1/+209
bfd/ * elf-bfd.h (elf_backend_data): Add elf_backend_output_arch_local_syms * elf32-arm.c (output_arch_syminfo): Define. (elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map, elf32_arm_output_arch_local_syms): New functions. (elf_backend_output_arch_local_syms): Define. * elflink.c (bfd_elf_final_link): Call elf_backend_output_arch_local_syms. * elfxx-target.h (elf_backend_output_arch_local_syms): Provide default definition. (elfNN_bed): Add elf_backend_output_arch_local_syms. ld/testsuite/ * ld-arm/arm-app-abs32.d: Update expected output. * ld-arm/arm-app.d: Ditto. * ld-arm/arm-lib-plt32.d: Ditto. * ld-arm/arm-lib.d: Ditto. * ld-arm/mixed-app-v5.d: Ditto. * ld-arm/mixed-app.d: Ditto. * ld-arm/mixed-lib.d: Ditto.
2006-05-242006-05-24 Paul Brook <paul@codesourcery.com>Paul Brook2-53/+101
* elf32-arm.c (put_arm_insn, put_thumb_insn): New functions. (elf32_thumb_to_arm_stub, elf32_arm_to_thumb_stub, elf32_arm_finish_dynamic_symbol): Use them.
2006-05-24Add TLS support for hppa-linuxNick Clifton3-408/+927
2006-05-24Add support for AVR6 familyNick Clifton9-52/+1140
2006-05-242006-05-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-39/+19
PR ld/2655 PR ld/2657 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Properly update CIE/FDE length. Don't pad to the section alignment.
2006-05-24daily updateAlan Modra1-1/+1
2006-05-23 * elf32-bfin.c (bfinfdpic_relocate_section): Clear reloc forJie Zhang2-9/+24
deteted entries in .eh_frame section.
2006-05-23 * elf32-bfin.c (bfin_check_relocs): Use __GLOBAL_OFFSET_TABLE_Jie Zhang2-6/+16
instead of _GLOBAL_OFFSET_TABLE_. (bfin_relocate_section): Ditto. (_bfin_create_got_section): Ditto. (elf32_bfinfdpic_create_dynamic_sections): Use __PROCEDURE_LINKAGE_TABLE_ instead of _PROCEDURE_LINKAGE_TABLE_. (bfin_finish_dynamic_symbol): Use __DYNAMIC instead of _DYNAMIC.
2006-05-23 * elf64-ppc.c (compare_symbols): Prefer strong dynamic globalAlan Modra2-0/+31
function syms over other syms.
2006-05-23daily updateAlan Modra1-1/+1
2006-05-22bfd/Daniel Jacobowitz3-11/+91
* elflink.c (_bfd_elf_add_dynamic_entry): Remove DT_TEXTREL check. (bfd_elf_final_link): Add a late DT_TEXTREL check. * elfxx-mips.c (MIPS_ELF_READONLY_SECTION): Define. (mips_elf_create_dynamic_relocation): Set DF_TEXTREL. (_bfd_mips_elf_check_relocs): Delete MIPS_READONLY_SECTION. Use MIPS_ELF_READONLY_SECTION. (_bfd_mips_elf_size_dynamic_sections): Clear DF_TEXTREL after creating DT_TEXTREL. (_bfd_mips_elf_finish_dynamic_sections): Clear textrel markers if no text relocations were generated. ld/testsuite/ * ld-mips-elf/textrel-1.d: Relax some patterns.
2006-05-22Remove ChangeLog entries, since the template files were already up to date.Nick Clifton1-4/+0
2006-05-22Update translation templatesNick Clifton1-0/+4
2006-05-22daily updateAlan Modra1-1/+1
2006-05-21daily updateAlan Modra1-1/+1
2006-05-20daily updateAlan Modra1-1/+1
2006-05-192006-05-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* elfxx-ia64.c (ELF_MAXPAGESIZE): Fix a typo in comment.
2006-05-19 * elf.c (elf_fake_sections): Formatting.Alan Modra2-29/+40
(assign_file_positions_for_load_sections): Only add SEC_ALLOC sections to p_memsz. Remove hack for PT_NOTE sections. Allow section alignment to increase p_align for PT_LOAD. (assign_file_positions_for_non_load_sections): Remove ARM BPABI hack for PT_DYNAMIC. Instead, set p_filesz for all segments other than PT_LOAD, and PT_NOTE in core.
2006-05-19daily updateAlan Modra1-1/+1
2006-05-18daily updateAlan Modra1-1/+1
2006-05-17Fix a typo.Daniel Jacobowitz1-1/+1
2006-05-17 * elf.c (assign_file_positions_for_segments): Split into..Alan Modra2-54/+94
(assign_file_positions_for_load_sections): ..this, and.. (assign_file_positions_for_non_load_sections): ..this new function,.. (assign_file_positions_except_relocs): ..writing program headers here.
2006-05-17 * elflink.c (elf_gc_sweep): Don't specially keep non-alloc,Alan Modra2-1/+6
non-load sections if they have relocs.
2006-05-17daily updateAlan Modra1-1/+1
2006-05-16daily updateAlan Modra1-1/+1
2006-05-152006-05-15 Paul Brook <paul@codesourcery.com>Paul Brook5-13/+46
bfd/ * cpu-arm.c (bfd_is_arm_mapping_symbol_name): Rename ... (bfd_is_arm_special_symbol_name): ... to this. Add type argument. Check symbol name is of specified type. * elf32-arm.c (elf32_arm_is_target_special_symbol, arm_elf_find_function, elf32_arm_output_symbol_hook): Use bfd_is_arm_special_symbol_name. * bfd-in.h (BFD_ARM_SPECIAL_SYM_TYPE_MAP, BFD_ARM_SPECIAL_SYM_TYPE_TAG, BFD_ARM_SPECIAL_SYM_TYPE_OTHER, BFD_ARM_SPECIAL_SYM_TYPE_ANY): Define. (bfd_is_arm_mapping_symbol_name): Remove prototype. (bfd_is_arm_special_symbol_name): Add prototype. * bfd-in2.h: Regenerate. gas/ * config/tc-arm.c (arm_adjust_symtab): Use bfd_is_arm_special_symbol_name. ld/testsuite/ * ld-arm/arm-be8.d: New test. * ld-arm/arm-be8.s: New test. * ld-arm/arm-elf.exp: Add arm-be8.
2006-05-15bfd:Bob Wilson2-168/+251
* elf32-xtensa.c (check_loop_aligned): Fix reversed check for undefined opcode. Clean up assertions. (narrow_instruction, widen_instruction): Remove "do_it" parameters. Factor most of the code into separate functions.... (can_narrow_instruction, can_widen_instruction): New. (prev_instr_is_a_loop): New. (compute_ebb_proposed_actions): Combine error handling code for decode errors. Replace call to insn_decode_len with inline code. Use can_narrow_instruction and can_widen_instruction. Handle errors from call to xtensa_opcode_is_loop. (relax_section): Adjust calls to narrow_instruction and widen_instruction. gas: * config/tc-xtensa.c (is_direct_call_opcode, is_branch_jmp_to_next, xg_assemble_vliw_tokens, xtensa_mark_narrow_branches, xtensa_fix_short_loop_frags, is_local_forward_loop, relax_frag_immed): Handle errors from calls to xtensa_opcode_is_* functions.
2006-05-15 PR 2658Alan Modra2-0/+10
* elf32-ppc.c (ppc_elf_relax_section): Don't segfault on non-pic -shared link.
2006-05-15daily updateAlan Modra1-1/+1
2006-05-14daily updateAlan Modra1-1/+1
2006-05-13daily updateAlan Modra1-1/+1
2006-05-12daily updateAlan Modra1-1/+1
2006-05-11bfd/doc/Carlos O'Donell2-4/+8
2006-05-11 Carlos O'Donell <carlos@codesourcery.com> * bfd.texinfo: Rename "Index" to "BFD Index" gas/ 2006-05-11 Carlos O'Donell <carlos@codesourcery.com> * doc/as.texinfo: Rename "Index" to "AS Index", and "ABORT" to "ABORT (COFF)". ld/ 2006-05-11 Carlos O'Donell <carlos@codesourcery.com> * ld.texinfo: Rename "Index" to "LD Index"
2006-05-112006-05-11 Michael Matz <matz@suse.de>H.J. Lu2-0/+6
* elflink.c (match_group_member): Correctly iterate group members.
2006-05-112006-05-11 Paul Brook <paul@codesourcery.com>Paul Brook5-6/+141
bfd/ * elf32-arm.c (elf32_arm_reloc_map): Add MOVW and MOVT relocs. (elf32_arm_final_link_relocate): Handle MOVW and MOVT relocs. (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto. * reloc.c: Ditto. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate. gas/ * config/tc-arm.c (parse_half): New function. (operand_parse_code): Remove OP_Iffff. Add OP_HALF. (parse_operands): Ditto. (do_mov16): Reject invalid relocations. (do_t_mov16): Ditto. Use Thumb reloc numbers. (insns): Replace Iffff with HALF. (md_apply_fix): Add MOVW and MOVT relocs. (tc_gen_reloc): Ditto. * doc/c-arm.texi: Document relocation operators ld/testsuite/ * ld-arm/arm-elf.exp: Add arm-movwt. * ld-arm/arm-movwt.d: New test. * ld-arm/arm-movwt.s: New test. * ld-arm/arm.ld: Add .far.
2006-05-11 * elf.c (_bfd_elf_init_private_section_data): Don't changeAlan Modra2-1/+7
section type if already set.
2006-05-11PR ld/2607Nick Clifton2-9/+30
* elfcode.h (valid_section_index_p): New function: Checks for a valid section index. Allows indicies in the range SHN_LOPROC to SHN_HIOS. (elf_object_p): Use valid_section_index_p.
2006-05-11Apply fixes to allow arm WinCE toolchain to produce working executables.Nick Clifton2-6/+15
2006-05-11daily updateAlan Modra1-1/+1
2006-05-10 PR 2342Alan Modra2-1/+6
* elflink.c (_bfd_elf_default_action_discarded): Revert 2006-02-16.
2006-05-10daily updateAlan Modra1-1/+1