aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2007-11-01daily updateAlan Modra1-1/+1
2007-11-01bfd:Joseph Myers2-5/+33
* merge.c (sec_merge_hash_lookup): Add parameter sec_end. Check for unterminated strings. All callers changed. (record_section): Add parameter abfd. Give error message for unterminated strings. (_bfd_merge_sections): Update call to record_section. (_bfd_write_merged_section, _bfd_merged_section_offset): Handle NULL secinfo from merge failures. ld/testsuite: * ld-elf/merge3.d, ld-elf/merge3.s: New.
2007-10-31daily updateAlan Modra1-1/+1
2007-10-31* elf-m10300.c (mn10300_elf_relax_delete_bytes): Do not look for alignNick Clifton2-17/+25
relocs when there are no relocs attached to the section.
2007-10-31 * elf-bfd.h (bfd_elf_match_symbols_in_sections): Don't declare.Alan Modra3-20/+7
* elflink.c (bfd_elf_match_symbols_in_sections): Make static. Remove section name comparisons.
2007-10-30daily updateAlan Modra1-1/+1
2007-10-30* mn10300.h (R_MN10300_ALIGN): Define.Nick Clifton5-9/+81
* reloc.c (BFD_RELOC_MN10300_ALIGN): Add. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf-m10300.h: Handle R_MN10300_ALIGN relocs. * mn10300_elf_relax_delete_bytes): Honour R_MN10300_ALIGN relocs. Re-fix off by one error in comparisons. * config/tc-mn10300.c (tc_gen_reloc): Fix test that decides when sym_diff relocs should be generated. (md_apply_fix): Skip R_MN10300_ALIGN relocs. (mn10300_fix_adjustable): Do not adjust R_MN10300_ALIGN relocs. (mn10300_handle_align): New function. Generate R_MN10300_ALIGN relocs to record alignment requests. * config/tc-mn10300.h (TC_FORCE_RELOCATION_SUB_SAME): Also force R_MN10300_ALIGN relocs. (HANDLE_ALIGN): Define. Call mn10300_handle_align. * gas/all/gas.exp: Do not run diff1.s test for mn10300. * ld-mn10300/mn10300.exp: Run new tests. Skip i126256 test if a compiler is not available. * ld-mn10300/i112045-3.s: New test. * ld-mn10300/i112045-3.d: Expected disassembly. * ld-mn10300/i135409.s: Rename to i135409-1.s. * ld-mn10300/i135409.d: Rename to i135409-1.d * ld-mn10300/i135409-2.s: New test. * ld-mn10300/i135409-2.d: Expected symbol table. * ld-mn10300/i36434.d: Adjust expected disassembly.
2007-10-29daily updateAlan Modra1-1/+1
2007-10-28daily updateAlan Modra1-1/+1
2007-10-27daily updateAlan Modra1-1/+1
2007-10-27daily updateAlan Modra1-1/+1
2007-10-26daily updateAlan Modra1-1/+1
2007-10-25 bfd/Pedro Alves3-6/+9
* bfd-in.h (STRING_COMMA_LEN): Don't handle NULL STR case. * bfd-in2.h: Regenerate. ld/ * pe-dll.c (autofilter_symbollist_generic) (autofilter_symbollist_i386, autofilter_liblist) (autofilter_objlist, autofilter_symbolprefixlist) (autofilter_symbolsuffixlist): Don't use STRING_COMMA_LEN with NULL.
2007-10-25 * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support forDaniel Jacobowitz2-16/+72
Tag_GNU_Power_ABI_Vector. * readelf.c (display_power_gnu_attribute): Add support for Tag_GNU_Power_ABI_Vector. * ppc.h (Tag_GNU_Power_ABI_Vector): New. * ld-powerpc/attr-gnu-8-1.s, ld-powerpc/attr-gnu-8-11.d, ld-powerpc/attr-gnu-8-2.s, ld-powerpc/attr-gnu-8-23.d, ld-powerpc/attr-gnu-8-3.s, ld-powerpc/attr-gnu-8-31.d: New. * ld-powerpc/powerpc.exp: Run new tests.
2007-10-25 * elfxx-mips.c (_bfd_mips_elf_modify_segment_map): Do not addJoseph Myers2-3/+12
PT_NULL header when not linking.
2007-10-25 * elf.c (elfcore_grok_ppc_vmx): New function.Alan Modra3-0/+35
(elfcore_grok_note): Handle NT_PPC_VMX. (elfcore_write_ppc_vmx): New function. * elf-bfd.h (elfcore_write_ppc_vmx): Declare.
2007-10-25daily updateAlan Modra1-1/+1
2007-10-24 * Makefile.am: Run "make dep-am".Alan Modra4-20/+29
* Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate.
2007-10-24daily updateAlan Modra1-1/+1
2007-10-23 * elf64-ppc.c (ppc_build_one_stub): Don't duplicate relocsAlan Modra2-45/+60
emitted for ".brlt" entries. (toc_adjusting_stub_needed): Don't treat ".fixup" specially here.. (ppc64_elf_next_input_section): ..instead do so here.
2007-10-23daily updateAlan Modra1-1/+1
2007-10-22daily updateAlan Modra1-1/+1
2007-10-21daily updateAlan Modra1-1/+1
2007-10-20daily updateAlan Modra1-1/+1
2007-10-19Add MN10300 linker relaxation support for symbol differencesNick Clifton6-51/+219
2007-10-19* elf-m10300.c: Convert to ISO C.Nick Clifton2-502/+397
* tc-mn10300.c: Convert to ISO C.
2007-10-19daily updateAlan Modra1-1/+1
2007-10-18 PR ld/4424Alan Modra9-7/+84
* config.bfd (targ_selvecs): Add bfd_elf64_alpha_vec for alpha/FreeBSD. Add bfd_elf64_sparc_vec for sparc64/FreeBSD. Add bfd_elf32_i386_vec and bfd_efi_app_ia32_vec for i386/FreeBSD. (targ64_selvecs): Set for i386/FreeBSD. * elf-bfd.h (elf_backend_data): Add relocs_compatible. (_bfd_elf_default_relocs_compatible): Declare. (_bfd_elf_relocs_compatible): Declare. * elfxx-target.h (elf_backend_relocs_compatible): Define. (elfNN_bed): Init new relocs_compatible field. * elflink.c (_bfd_elf_default_relocs_compatible): New function. (_bfd_elf_relocs_compatible): New function. (elf_link_add_object_symbols): Call bed->relocs_compatible. * elf32-i386.c (elf_backend_relocs_compatible): Define. * elf64-alpha.c: Likewise. * elf64-sparc.c: Likewise. * elf64-x86-64.c: Likewise.
2007-10-18daily updateAlan Modra1-1/+1
2007-10-17 * elf32-xtensa.c (relax_section): Check for a reference to a discardedBob Wilson2-1/+54
DWARF section and anticipate its replacement with the kept section.
2007-10-17daily updateAlan Modra1-1/+1
2007-10-16 * elf32-xtensa.c (elf_xtensa_discard_info_for_section): RemoveBob Wilson2-19/+25
unnecessary size variables. Set sec->rawsize. (relax_section, relax_property_section): Likewise.
2007-10-16 * section.c (struct bfd_section): Clarify comment for rawsize field.Bob Wilson3-14/+19
* bfd-in2.h: Regenerate.
2007-10-16 * elflink.c (_bfd_elf_check_kept_section): Use the section rawsizeBob Wilson2-1/+8
values if they are set.
2007-10-16PR 5146Nick Clifton6-12/+69
* configure.in (AC_CHECK_HEADERS): Add alloca.h * configure: Regenerate. * config.in: Regenerate. * som.c: Replace alloca-conf.h inclusion with code recommended in autoconf documentation. * elf64-hppa.c: Likewise.
2007-10-16Support the use of the STT_COMMON type. (In source and object files only at ↵Nick Clifton6-19/+98
the moment)
2007-10-16daily updateAlan Modra1-1/+1
2007-10-15 * chew.c (write_buffer): Check fwrite return value.Alan Modra2-1/+8
2007-10-15 * coff-arm.c (arm_emit_base_file_entry): Check fwrite return value.Alan Modra6-58/+91
Return status. Adjust callers. * coff-mcore.c (mcore_emit_base_file_entry): Likewise. * coff-ppc.c (write_base_file_entry): New function. (coff_ppc_relocate_section): Use it. * elf32-arm.c (find_thumb_glue): Check asprintf return status. (find_arm_glue): Likewise. * vms-misc.c (_bfd_vms_output_flush): Check fwrite return value.
2007-10-15daily updateAlan Modra1-1/+1
2007-10-14daily updateAlan Modra1-1/+1
2007-10-13daily updateAlan Modra1-1/+1
2007-10-12PR 5160Nick Clifton2-6/+11
* elflink.c (eval_symbol): Remove bufsz variable and use sizeof(symbuf) where necessary.
2007-10-12* elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.Nick Clifton2-1/+5
* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.
2007-10-12 * elfxx-mips.c (mips_elf_sort_hash_table_f): Handle forcedDaniel Jacobowitz2-2/+10
local symbols specially. (mips_elf_set_global_got_offset): Skip forced local symbols.
2007-10-12 * elf.c (elfcore_grok_prxfpreg): Fix comment typo.Alan Modra2-1/+5
2007-10-12daily updateAlan Modra1-1/+1
2007-10-112007-10-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-19/+42
* elf.c (get_program_header_size): Always add a PT_GNU_RELRO segment for -z relro. (_bfd_elf_map_sections_to_segments): Make a PT_GNU_RELRO segment only when needed.
2007-10-11daily updateAlan Modra1-1/+1
2007-10-10daily updateAlan Modra1-1/+1