aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2010-12-03daily updateAlan Modra1-1/+1
2010-12-02daily updateAlan Modra1-1/+1
2010-12-02bfd/Richard Sandiford2-109/+98
* elf32-arm.c (elf32_arm_link_hash_table): Remove sgot, sgotplt, srelgot, splt, srelplt. (create_got_section, elf32_arm_link_hash_table_create): Don't set them. (elf32_arm_create_dynamic_sections): Likewise. Use htab->root fields instead. (arm_type_of_stub): Use the root fields instead of the removed ones. (cortex_a8_erratum_scan, elf32_arm_size_stubs): Likewise. (bfd_elf32_arm_process_before_allocation): Likewise. (elf32_arm_check_relocs, allocate_dynrelocs): Likewise. (elf32_arm_size_dynamic_sections): Likewise. (elf32_arm_output_arch_local_syms): Likewise. (elf32_arm_final_link_relocate): Set sgot, splt and srelgot from the htab fields instead of looking them up by name. Consistently use these local variables instead of htab fields. (elf32_arm_finish_dynamic_symbol): Likewise sgot, splt and srel. Use srelbss instead of looking it up by name. (elf32_arm_finish_dynamic_sections): Use sgotplt, splt and srelplt instead of looking up the symbols by name. Use the root fields instead of the removed ones.
2010-12-02bfd/Richard Sandiford2-71/+58
* elf32-arm.c (elf32_arm_relocs_copied): Delete. (elf32_arm_link_hash_entry): Replace relocs_copied with dyn_relocs. (elf32_arm_link_hash_newfunc): Update accordingly. (elf32_arm_copy_indirect_symbol, elf32_arm_gc_sweep_hook): Likewise. (elf32_arm_check_relocs, allocate_dynrelocs): Likewise. (elf32_arm_readonly_dynrelocs): Likewise. (elf32_arm_size_dynamic_sections): Likewise.
2010-12-02* pdp11.c (aout_link_add_symbols): Ignore debug symbols.Paul Koning2-1/+7
2010-12-01daily updateAlan Modra1-1/+1
2010-11-30daily updateAlan Modra1-1/+1
2010-11-30Add sparc64-rtems.Alan Modra2-2/+6
2010-11-29daily updateAlan Modra1-1/+1
2010-11-28daily updateAlan Modra1-1/+1
2010-11-27daily updateAlan Modra1-1/+1
2010-11-26daily updateAlan Modra1-1/+1
2010-11-25daily updateAlan Modra1-1/+1
2010-11-25Update translationsAlan Modra6-4319/+11892
2010-11-25Add rs6000-core.c/.o to the list of optional backend files...Joel Brobecker3-0/+11
This makes sure that rs6000-core.c gets recompiled whenever any of its dependencies get changed. bfd/ChangeLog: * Makefile.am (OPTIONAL_BACKENDS): Add rs6000-core.lo. (OPTIONAL_BACKENDS_CFILES): Add rs6000-core.c. * Makefile.in: Regenerate.
2010-11-24daily updateAlan Modra1-1/+1
2010-11-23 PR ld/12253Alan Modra2-4/+37
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct DW_EH_PE_datarel handling. Truncate .eh_frame_hdr address to ptr_size.
2010-11-23daily updateAlan Modra1-1/+1
2010-11-23 * mips.h (INSN_CHIP_MASK): Update according to INSN_LOONGSON_3A.Nick Clifton2-4/+9
(INSN_LOONGSON_3A): Clear bit 31. * elfxx-mips.c (mips_set_isa_flags): Move bfd_mach_loongson_3a after bfd_mach_mips_sb1. * config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1.
2010-11-22daily updateAlan Modra1-1/+1
2010-11-21daily updateAlan Modra1-1/+1
2010-11-20daily updateAlan Modra1-1/+1
2010-11-19daily updateAlan Modra1-1/+1
2010-11-18daily updateAlan Modra1-1/+1
2010-11-17daily updateAlan Modra1-1/+1
2010-11-172010-11-17 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-19/+26
* vms-lib.c (vms_write_index): Add comments. Partially revert previous patch. Free blocks later.
2010-11-17 PR ld/12161Nick Clifton2-43/+6
* elf32-avr.c (elf32_avr_check_relocs): Delete. (elf_backend_check_relocs): Delete.
2010-11-17oops - acccidentally omitted from loongson 3a check-in.Nick Clifton1-0/+2
2010-11-16daily updateAlan Modra1-1/+1
2010-11-15daily updateAlan Modra1-1/+1
2010-11-15blackfin: add support for L1 code/data flagsMike Frysinger2-0/+25
Add new linker options for marking programs to load into L1 memory at runtime. This needs new EF flag bits, so declare them. Signed-off-by: Jie Zhang <jie.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-11-15bfd: bfin: drop needless symbol flag handling imported from FRVMike Frysinger2-6/+5
The Blackfin bfd merged some FRV code recently, and then removed pieces that didn't make sense. In the FRV code, it outputs a "_gp" symbol in its BFD whereas in the Blackfin code, we don't. So while on the FRV side it fiddles with the "flags" variable (sometimes using it for section flags and sometimes using it for symbol flags), we don't need any of that. This lead to BZ 12177 where the Blackfin code is a bit confusing. So to fix things up, remove more stuff we don't need. Shouldn't change the behavior at all. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-11-14daily updateAlan Modra1-1/+1
2010-11-13daily updateAlan Modra1-1/+1
2010-11-12daily updateAlan Modra1-1/+1
2010-11-12Properly copy BFD_COMPRESS and BFD_DECOMPRESS to archive element.H.J. Lu2-9/+10
2010-11-12 H.J. Lu <hongjiu.lu@intel.com> * archive.c (_bfd_get_elt_at_filepos): Copy BFD_COMPRESS and BFD_DECOMPRESS. (bfd_openr_next_archived_file): Revert the last change.
2010-11-11daily updateAlan Modra1-1/+1
2010-11-11 bfd/Nick Clifton4-0/+20
* archures.c (bfd_mach_mips_loongson_3a): Defined. * bfd-in2.h (bfd_mach_mips_loongson_3a): Defined. * cpu-mips.c (I_loongson_3a): New add. (arch_info_struct): Add loongson_3a. * elfxx-mips.c (_bfd_elf_mips_mach): Add loongson_3a. (mips_set_isa_flags): Add loongson_3a. (mips_mach_extensions): Add loongson_3a in MIPS64 extensions. binutils/ * readelf.c (get_machine_flags): Add loongson-3a. gas/ * config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64. * doc/c-mips.texi (MIPS cpu): Add loongson3a. include/ * elf/mips.h (E_MIPS_MACH_LS3A): Defined. * opcode/mips.h (INSN_LOONGSON_3A): Defined. (CPU_LOONGSON_3A): Defined. (OPCODE_IS_MEMBER): Add LOONGSON_3A. opcodes/ * mips-dis.c (mips_arch_choices): Add loongson3a. * mips-opc.c (IL3A): Defined as INSN_LOONGSON_3A. (mips_builtin_opcodes): Modify some instructions' membership from IL2F to IL2F|IL3A, since these instructions are supported by Loongson_3A.
2010-11-10daily updateAlan Modra1-1/+1
2010-11-10bfd/Richard Sandiford2-7/+5
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Remove unused variables.
2010-11-10Updated translations.Nick Clifton3-1218/+3103
2010-11-09daily updateAlan Modra1-1/+1
2010-11-08daily updateAlan Modra1-1/+1
2010-11-08Updated Japanese translations.Nick Clifton2-1592/+3280
2010-11-08bfd/Alan Modra8-30/+120
* hash.c (bfd_hash_hash): Extract from.. (bfd_hash_lookup): ..here. (bfd_hash_rename): New function. * section.c (bfd_rename_section): New function. * bfd-in.h (bfd_hash_rename): Declare. * bfd-in2.h: Regenerate. * elf.c (_bfd_elf_make_section_from_shdr): Rename input sections when compressing or decompressing. Don't assert name match. * elf64-hppa.c (get_reloc_section): Don't assert name match. * elfxx-ia64.c (get_reloc_section): Likewise. binutils/ * objcopy.c (copy_main): No need to rename sections when compressing or decompressing. binutils/testsuite/ * binutils-all/objdump.W: Adjust expected result for debug section rename.
2010-11-07daily updateAlan Modra1-1/+1
2010-11-06daily updateAlan Modra1-1/+1
2010-11-05daily updateAlan Modra1-1/+1
2010-11-05bfd:Joseph Myers2-0/+37
* elf32-tic6x.c (elf32_tic6x_obj_attrs_handle_unknown): New. (elf32_tic6x_merge_attributes): Use _bfd_elf_merge_unknown_attribute_low and _bfd_elf_merge_unknown_attribute_list. (elf_backend_obj_attrs_handle_unknown): Define. ld/testsuite: * ld-tic6x/attr-unknown-1.d, ld-tic6x/attr-unknown-1000-1.s, ld-tic6x/attr-unknown-1000-2.s, ld-tic6x/attr-unknown-1024-1.s, ld-tic6x/attr-unknown-2.d, ld-tic6x/attr-unknown-3.d, ld-tic6x/attr-unknown-4.d, ld-tic6x/attr-unknown-5.d, ld-tic6x/attr-unknown-54-1.s, ld-tic6x/attr-unknown-55-a.s, ld-tic6x/attr-unknown-6.d, ld-tic6x/attr-unknown-7.d, ld-tic6x/attr-unknown-71-a.s, ld-tic6x/attr-unknown-71-b.s: New tests.
2010-11-05 * elf-attrs.c (_bfd_elf_merge_unknown_attribute_low,Joseph Myers2-2/+8
_bfd_elf_merge_unknown_attribute_list): Correct test for matching string attributes.