summaryrefslogtreecommitdiffstats
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* PR ld/11217Alan Modra2010-01-255-11/+116
| | | | | | | | | | | | * elf64-ppc.c (ppc64_elf_tls_optimize): Optimize tls sequences with relocations against undefined weak symbols. (ppc64_elf_relocate_section): Don't optimize calls to undefined weak functions if the symbol is dynamic. (ppc64_elf_relocate_section): Edit tprel tls sequences. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. (_bfd_elf_ppc_at_tprel_transform): New function. * bfd-in.h (_bfd_elf_ppc_at_tprel_transform): Declare. * bfd-in2.h: Regenerate.
* daily updateAlan Modra2010-01-241-1/+1
|
* daily updateAlan Modra2010-01-231-1/+1
|
* bfd/Richard Sandiford2010-01-233-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * coff-rs6000.c (xcoff_howto_table): Change size to 0 and bitsize to 1. (_bfd_xcoff_reloc_type_lookup): Handle BFD_RELOC_NONE. * coff64-rs6000.c (xcoff64_howto_table): Change size to 0 and bitsize to 1. (xcoff64_reloc_type_lookup): Handle BFD_RELOC_NONE. gas/ * write.h (fix_at_start): Declare. * write.c (fix_new_internal): Add at_beginning parameter. Use it instead of REVERSE_SORT_RELOCS. Fix the handling of seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case. (fix_new, fix_new_exp): Update accordingly. (fix_at_start): New function. * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section. (ppc_ref): New function, for OBJ_XCOFF. (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF. * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef. gas/testsuite/ * gas/ppc/xcoff-ref-1.s, gas/ppc/xcoff-ref-1.l: New test. * gas/ppc/aix.exp: Run it. ld/testsuite/ * ld-powerpc/aix-ref-1-32.od, ld-powerpc/aix-ref-1-64.od, ld-powerpc/aix-ref-1.s: New tests. * ld-powerpc/aix52.exp: Run them.
* daily updateAlan Modra2010-01-221-1/+1
|
* daily updateAlan Modra2010-01-211-1/+1
|
* * elflink.c (elf_link_add_object_symbols): Look up name ofNick Clifton2010-01-212-10/+31
| | | | | undefined symbol both before and after versioning has been applied. Do not bother with symbols that are weakly undefined.
* 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel2010-01-212-0/+14
| | | | | | | | | | | | | | | | | | | * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390.h (EF_S390_HIGH_GPRS): Added macro definition. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * config/tc-s390.c (s390_elf_final_processing): New function. * config/tc-s390.h (elf_tc_final_processing): New macro definition. (s390_elf_final_processing): Added prototype. 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * elf32-s390.c (elf32_s390_merge_private_bfd_data): New function. (bfd_elf32_bfd_merge_private_bfd_data): New macro definition.
* daily updateAlan Modra2010-01-201-1/+1
|
* * dwarf2.c (read_attribute_value): Add DW_FORM_ref_sig8.Cary Coutant2010-01-192-0/+8
|
* daily updateAlan Modra2010-01-191-1/+1
|
* * elfcode.h (elf_swap_ehdr_out): Handle e_phnum > 0xffff.Alan Modra2010-01-193-3/+80
| | | | | | | (elf_object_p): Read e_phnum extension. (elf_write_shdrs_and_ehdr): Write e_phnum extension. * elfcore.h (elf_core_file_p): Read e_phnum extension. Sanity check that we can read last program header.
* * elf32-arm.c (elf32_arm_howto_table_1): Correct bitsize ofAlan Modra2010-01-192-3/+11
| | | | | | | R_ARM_THM_CALL entry. (elf32_arm_final_link_relocate): Correct calculation of reloc_signed_max when doing a R_ARM_THM_CALL, R_ARM_THM_XPC22, or R_ARM_THM_JUMP24 relocation.
* daily updateAlan Modra2010-01-181-1/+1
|
* PR 11168Alan Modra2010-01-182-24/+37
| | | | | | * coffcode.h (coff_compute_section_file_positions): Move Rs6000COFF_C block past vars in COFF_IMAGE_WITH_PE block. Report error on more than 32k sections.
* daily updateAlan Modra2010-01-171-1/+1
|
* daily updateAlan Modra2010-01-161-1/+1
|
* daily updateAlan Modra2010-01-151-1/+1
|
* bfd/Jan Kratochvil2010-01-152-2/+8
| | | | | | Fix compilation warning on gcc-3.4. * vms-tir.c (start_etir_record, sto_imm): Rename the prototype parameter index to sec_index according to the function definition.
* daily updateAlan Modra2010-01-141-1/+1
|
* daily updateAlan Modra2010-01-131-1/+1
|
* 2010-01-13 Chao-ying Fu <fu@mips.com>Chao-ying Fu2010-01-132-19/+60
| | | | | | | | | | | | | | | | | | | * elfxx-mips.c (JR_TO_B_P): New define to transform JR to B. It is true for all CPUs. (jal_reloc_p): New function. (mips_elf_calculate_relocation): Rename require_jalxp to cross_mode_jump_p. Update comment for CROSS_MODE_JUMP_P. Set up cross_mode_jump_p based on the mode change. (mips_elf_perform_relocation): Rename require_jalx to cross_mode_jump_p. Update comment for CROSS_MODE_JUMP_P. Test cross_mode_jump_p and jal_reloc_p to turn jal to jalx. Use !cross_mode_jump_p to guard conversion. Convert "jr t9" to "b", if possible. (_bfd_mips_elf_relocate_section): Rename require_jalx to cross_mode_jump_p. Pass &cross_mode_jump_p to call mips_elf_calculate_relocation. Pass cross_mode_jump_p to call mips_elf_perform_relocation.
* * cpu-m32c.c (m32c_scan): New function. Ensures that a scan forNick Clifton2010-01-132-2/+23
| | | | | | | "m32c" returns the m32c arch_info_struct and not the m16c arch_info_struct. (arch_info_struct): Use the new scan function. (bfd_m32c_arch): Likewise.
* 2010-01-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-138-5/+309
| | | | | | | | | | | | | * config.bfd: Remove duplicated target vector for i386-*-darwin. Appends new arch instead of overriding. Use mach_o_x86_64_vec for x86_64-*-darwin. * configure.in: Add mach_o_x86_64_vec. * configure: Regenerate. * targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector. * Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo (BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c * Makefile.in: Regenerate. * mach-o-x86-64.c: New file.
* 2010-01-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-134-6/+85
| | | | | | * reloc.c: Add MACH_O_X86_64 relocations. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate.
* 2010-01-13 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-132-53/+10
| | | | | | * archive.c (normalize): Use lbasename. (bfd_bsd_truncate_arname): Ditto. (bfd_gnu_truncate_arname): Ditto.
* daily updateAlan Modra2010-01-121-1/+1
|
* bfd/Tristan Gingold2010-01-122-1/+6
| | | | | | | | | | | 2010-01-12 Tristan Gingold <gingold@adacore.com> * makefile.vms (CFLAGS): Turns warnings into informational messages. binutils/ 2010-01-12 Tristan Gingold <gingold@adacore.com> * makefile.vms (CFLAGS): Turns warnings into informational messages.
* daily updateAlan Modra2010-01-111-1/+1
|
* 2010-01-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-112-0/+15
| | | | * mach-o.h: Add x86-64 relocation types.
* 2010-01-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-115-2/+64
| | | | | | | | | | | | | * mach-o.h (bfd_mach_o_backend_data): Add arch field. (bfd_mach_o_set_arch_mach): New prototype. * mach-o.c (bfd_mach_o_mkobject): Define with bfd_mach_o_gen_mkobject. (bfd_mach_o_set_arch_mach): New function. (bfd_mach_o_gen_mkobject): New function. Set TARGET_ARCHITECTURE for the generic back-ends. * mach-o-target.c (bfd_mach_o_set_arch_mach): Remove define. Check that TARGET_ARCHITECTURE is defined. Add TARGET_ARCHITECTURE in TARGET_NAME_BACKEND structure. * mach-o-i386.c (TARGET_ARCHITECTURE): Define.
* 2010-01-11 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-112-0/+22
| | | | * archive.c (bfd_slurp_armap): Also check for Mach-O sorted armap.
* * elf32-v850.c (v850_elf_perform_relocation): Fix overflowNick Clifton2010-01-112-1/+6
| | | | handling of R_V850_HI16_S relocation.
* PR 11103Alan Modra2010-01-112-3/+8
| | | | * dwarf1.c (parse_die): Correct FORM_STRING data pointer increment.
* update copyright dateAlan Modra2010-01-111-1/+1
|
* PR 6832Alan Modra2010-01-112-1/+12
| | | | | | * dwarf2.c (struct comp_unit): Add sec_info_ptr. (find_abstract_instance_name): Use it. (parse_comp_unit): Set it.
* daily updateAlan Modra2010-01-101-1/+1
|
* daily updateAlan Modra2010-01-091-1/+1
|
* Sync Libtool from GCC.Ralf Wildenhues2010-01-095-435/+566
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /: * libtool.m4: Sync from git Libtool. * ltmain.sh: Likewise. * ltoptions.m4: Likewise. * ltversion.m4: Likewise. * lt~obsolete.m4: Likewise. sim/iq2000/: * configure: Regenerate. sim/d10v/: * configure: Regenerate. sim/m32r/: * configure: Regenerate. sim/frv/: * configure: Regenerate. sim/: * avr/configure: Regenerate. * cris/configure: Regenerate. * microblaze/configure: Regenerate. sim/h8300/: * configure: Regenerate. sim/mn10300/: * configure: Regenerate. sim/erc32/: * configure: Regenerate. sim/arm/: * configure: Regenerate. sim/m68hc11/: * configure: Regenerate. sim/lm32/: * configure: Regenerate. sim/sh64/: * configure: Regenerate. sim/v850/: * configure: Regenerate. sim/cr16/: * configure: Regenerate. sim/moxie/: * configure: Regenerate. sim/m32c/: * configure: Regenerate. sim/mips/: * configure: Regenerate. sim/mcore/: * configure: Regenerate. sim/sh/: * configure: Regenerate. gprof/: * Makefile.in: Regenerate. * configure: Regenerate. opcodes/: * Makefile.in: Regenerate. * configure: Regenerate. gas/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. ld/: * configure: Regenerate. gdb/testsuite/: * gdb.cell/configure: Regenerate. binutils/: * Makefile.in: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. bfd/: * Makefile.in: Regenerate. * configure: Regenerate. bfd/doc/: * Makefile.in: Regenerate.
* daily updateAlan Modra2010-01-081-1/+1
|
* 2010-01-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2010-01-082-17/+5
| | | | * archive.c: Remove bfd_special_undocumented_glue.
* PR ld/11133Alan Modra2010-01-084-49/+24
| | | | | | * elf32-cr16.c (elf32_cr16_gc_mark_hook): Call _bfd_elf_gc_mark_hook. * elf32-microblaze.c (microblaze_elf_gc_mark_hook): Likewise. * elf64-ppc.c (ppc64_elf_gc_mark_hook): Likewise.
* Fix PR ld/11138H.J. Lu2010-01-082-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | bfd/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11138 * elflink.c (elf_link_check_versioned_symbol): Don't abort if a symbol referenced by DSO is is defined in a non-shared object and forced local. ld/testsuite/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11138 * ld-elf/pr11138-1.c: New. * ld-elf/pr11138-1.map: Likewise. * ld-elf/pr11138-2.c: Likewise. * ld-elf/pr11138-2.map: Likewise. * ld-elf/pr11138.out: Likewise. * ld-elf/shared.exp (build_tests): Add libpr11138-1.so and libpr11138-2.o. (run_tests): Add 2 tests for PR ld/11138.
* Set SEC_KEEP on section XXX for undefined __start_XXX/__stop_XXXH.J. Lu2010-01-082-0/+36
| | | | | | | | | | | | | | | | | | | | | bfd/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11133 * elflink.c (_bfd_elf_gc_mark_hook): Check section XXX for undefined __start_XXX/__stop_XXX in all input files and set SEC_KEEP. ld/testsuite/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11133 * ld-gc/gc.exp: Run start. * ld-gc/start.d: New. * ld-gc/start.s: Likewise.
* daily updateAlan Modra2010-01-071-1/+1
|
* Always keep SHT_NOTE sectionsH.J. Lu2010-01-072-3/+9
| | | | | | | | | | | | | | | | | | | bfd/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11143 * elflink.c (elf_gc_sweep): Keep SHT_NOTE section. ld/testsuite/ 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11143 * ld-gc/gc.exp: Run abi-note. * ld-gc/abi-note.d: New. * ld-gc/abi-note.s: Likewise.
* daily updateAlan Modra2010-01-061-1/+1
|
* daily updateAlan Modra2010-01-051-1/+1
|
* 2010-01-04 Daniel Gutson <dgutson@codesourcery.com>Daniel Gutson2010-01-056-0/+89
| | | | | | | | | | * bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC before including procfs.h. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise. * configure.in: Added autoconf probe for the pr_fpreg member. * configure: Regenerated. * config.in: Regenerated. * elf.c: Define _STRUCTURE_PROC before including procfs.h.
* daily updateAlan Modra2010-01-041-1/+1
|
OpenPOWER on IntegriCloud