aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2010-12-08daily updateAlan Modra1-1/+1
2010-12-07daily updateAlan Modra1-1/+1
2010-12-06daily updateAlan Modra1-1/+1
2010-12-06Use putchar for the trailing `\n' in plugin message.H.J. Lu2-0/+6
bfd/ 2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> PR ld/12288 * plugin.c (message): Add putchar for the trailing `\n'. ld/ 2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> PR ld/12288 * plugin.c (message): Use putchar for the trailing `\n'.
2010-12-05daily updateAlan Modra1-1/+1
2010-12-04daily updateAlan Modra1-1/+1
2010-12-04bfd: install plugin-api.h as neededMike Frysinger3-3/+15
Since people need plugin-api.h in order to build linker plugins, install the header with the other library headers when plugin support is enabled. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-12-04 PR ld/12277Alan Modra2-18/+33
* elflink.c (elf_link_output_extsym): Set bfd_error on symbol and section errors. Allow better translation of error messages.
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