summaryrefslogtreecommitdiffstats
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* [include/elf]DJ Delorie2009-04-085-1/+12
| | | | | | | | | | | | | | | * mep.h (EF_MEP_CPU_C5): New. [bfd] * archures.c: Add bfd_mach_mep_c5. * bfd-in2.h: Likewise. * cpu-mep.c: Add bfd_c5_arch. * elf32-mep.c: Support it. [gas] * config/tc-mep.c: Add UCI/DSP instruction support. Add C5 support. (md_show_usage): Change default endian to little. * config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little. [ld] * emulparams/elf32mep.sh: Change default endian to little.
* daily updateAlan Modra2009-04-081-1/+1
|
* 2009-04-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-04-073-2/+8
| | | | | | * elflink.c (_bfd_elf_section_already_linked): Add `\n' for info->callbacks->einfo. * linker.c (_bfd_generic_section_already_linked): Likewise.
* [bfd]DJ Delorie2009-04-072-1/+97
| | | | | | | | | | * elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes. [gas] * tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA immediates. (build_bytes): Pass insn to do_a_fix_imm. [include/opcode] * h8300.h: Add relaxation attributes to MOVA opcodes.
* daily updateAlan Modra2009-04-071-1/+1
|
* 2009-04-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-04-064-3/+23
| | | | | | | | | | | | * coff-x86_64.c (bfd_pe_print_pdata): Defined to _bfd_pex64_print_pdata only if PE is defined. * libpei.h (_bfd_pep_print_x64_pdata): Renamed to ... (_bfd_pex64_print_pdata): This. * peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ... (_bfd_pex64_print_pdata): This. Defined only if COFF_WITH_pex64 is defined.
* daily updateAlan Modra2009-04-061-1/+1
|
* 2009-04-05 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2009-04-054-3/+90
| | | | | | | * coff-x86_64.c (bfd_pe_print_pdata): Define as _bfd_pep_print_x64_pdata. * libpei.h (_bfd_pep_print_x64_pdata): Add prototype. * peXXigen.c (_bfd_pep_print_x64_pdata): New.
* daily updateAlan Modra2009-04-051-1/+1
|
* daily updateAlan Modra2009-04-041-1/+1
|
* 2009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com>Sterling Augustine2009-04-032-6/+6
| | | | | * elf32-xtensa.c (relax_property_section): Always set r_offset to zero.
* daily updateAlan Modra2009-04-031-1/+1
|
* 2009-04-02 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon2009-04-022-8/+47
| | | | | | | | | | | | | | | bfd/ * elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb, elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long branch stubs. (elf32_arm_stub_type): New enum values for the two new stubs. (arm_type_of_stub): Make use of the two new stubs. (arm_size_one_stub): Handle the two new stubs. testsuite/ * ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected results. * ld-arm/farcall-thumb-thumb.d: Likewise.
* 2009-04-01 Matt Thomas <matt@netbsd.org>Matt Thomas2009-04-022-19/+32
| | | | | | | * elf32-vax.c (elf_vax_check_relocs): Do not put relocations against hidden symbols into the GOT or PLT.GOT. (elf_vax_relocate_section): Do not emit a PCREL reloc into a shared object if it is against a hidden symbol.
* daily updateAlan Modra2009-04-021-1/+1
|
* bfd/Richard Sandiford2009-04-012-9/+36
| | | | | | | | | | | * xcofflink.c (xcoff_archive_info): Add contains_shared_object_p and know_contains_shared_object_p. (xcoff_archive_contains_shared_object_p): Add an "info" parameter. Cache the result in the archive_info table. (xcoff_auto_export_p): Add an "info" parameter and update the call to xcoff_archive_contains_shared_object_p. (xcoff_mark_auto_exports): Update accordingly. (xcoff_post_gc_symbol): Likewise.
* bfd/Richard Sandiford2009-04-012-0/+17
| | | | | | | | | * xcofflink.c (bfd_link_input_bfd): Treat __rtinit as C_HIDEXT rather than C_EXT. ld/testsuite/ * ld-powerpc/aix-gc-1.nd: New test. * ld-powerpc/aix52.exp: Run it.
* bfd/Richard Sandiford2009-04-012-262/+259
| | | | | | | | | | | | | | | | | * coff-rs6000.c (member_layout): New structure. (archive_iterator): Likewise. (member_layout_init): New function. (archive_iterator_begin): Likewise. (archive_iterator_next): Likewise. (xcoff_write_armap_old): Use the new iterator functions. (do_shared_object_padding): Delete. (xcoff_write_armap_big): Use the new iterator functions. Simplify handling of arch_info. (xcoff_write_archive_contents_old): Allocate arelt_data in the first loop rather than the second. Allocate a member header if there isn't one, then work out the stat information and length in the first loop too. Use the new iterators for the second loop. (xcoff_write_archive_contents_big): Likewise.
* bfd/Richard Sandiford2009-04-014-68/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd-in.h (bfd_xcoff_split_import_path): Declare. (bfd_xcoff_set_archive_import_path): Likewise. * bfd-in2.h: Regenerate. * xcofflink.c: Include libiberty.h. (xcoff_archive_info): New structure. (xcoff_archive_info_hash): New function. (xcoff_archive_info_eq): Likewise. (xcoff_get_archive_info): Likewise. (_bfd_xcoff_bfd_link_hash_table_create): Initialize archive_info. (bfd_xcoff_split_import_path): New function. (bfd_xcoff_set_archive_import_path): Likewise. (xcoff_set_import_path): Move earlier in file. (xcoff_link_add_dynamic_symbols): Set the import path of a non-archive object to the the directory part of the bfd's filename. Get the import path and filename of an archive object from the archive's xcoff_tdata, initializing it if necessary. Update use of import_file_id. (bfd_link_input_bfd): Update use of import_file_id. (xcoff_write_global_symbol): Likewise. ld/ * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New function. (ld_${EMULATION_NAME}_emulation): Use it.
* include/coff/Richard Sandiford2009-04-012-0/+90
| | | | | | | * xcoff.h (xcoff_link_hash_table): Move to bfd/xcofflink.c. bfd/ * xcofflink.c (xcoff_link_hash_table): Moved from include/coff/xcoff.h.
* bfd/Richard Sandiford2009-04-011-407/+387
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xcofflink.c (xcoff_link_create_extra_sections): Don't create a .loader section for relocatable links. (xcoff_need_ldrel_p): New function. (xcoff_mark): Use it. (bfd_xcoff_link_count_reloc): Only count loader relocs if there's a loader section. (xcoff_build_ldsym): New function, split out from... (xcoff_build_ldsyms): ...here. Rename to... (xcoff_post_gc_symbol): ...this. Only export symbols, and only call xcoff_build_ldsym, if there's a loader section. (xcoff_build_loader_section): New function, extracted verbatim from... (bfd_xcoff_size_dynamic_sections): ...here. Only call it if there's a loader section. Only add an __rtinit loader symbol if there's a loader section. Update after above name change. (xcoff_symbol_section, xcoff_create_ldrel): New functions. (bfd_link_input_bfd): Use xcoff_need_ldrel_p, xcoff_symbol_section and xcoff_create_ldrel. (xcoff_write_global_symbol): Use xcoff_create_ldrel. (xcoff_reloc_link_order): Likewise, but only call it if there's a loader section. Use xcoff_symbol_section. (_bfd_xcoff_bfd_final_link): Only use fdinfo.ldrel and fdinfo.ldsym if there's a loader section. ld/testsuite/ * ld-powerpc/aix-rel-1.s, ld-powerpc/aix-rel-1.od: New test. * ld-powerpc/aix52.exp: Run it.
* bfd/Richard Sandiford2009-04-012-2/+5
| | | | * xcofflink.c (bfd_link_input_bfd): Fix buffer overrun.
* 2009-04-01 Christophe Lyon <christophe.lyon@st.com>Christophe Lyon2009-04-012-33/+31
| | | | | | bfd/ * elf32-arm.c (group_sections): Rewrite loops for better readability.
* daily updateAlan Modra2009-04-011-1/+1
|
* * elflink.c (elf_link_input_bfd): Don't try to resolve complexDJ Delorie2009-03-312-1/+7
| | | | relocs when doing a relocatable link.
* daily updateAlan Modra2009-03-311-1/+1
|
* daily updateAlan Modra2009-03-301-1/+1
|
* daily updateAlan Modra2009-03-291-1/+1
|
* * coff-arm.c (coff_arm_merge_private_bfd_data): Use "error:", notMark Mitchell2009-03-285-29/+39
| | | | | | | | | "ERROR:", in error messages. * cpu-arm.c (bfd_arm_merge_machines): Likewise. * elf-attrs.c (_bfd_elf_merge_object_attributes): Likewise. * elf32-arm.c (tag_cpu_arch_combine): Likewise. (elf32_arm_merge_eabi_attributes): Likewise. (elf32_arm_merge_private_bfd_data): Likewise.
* daily updateAlan Modra2009-03-281-1/+1
|
* * section.c (bfd_get_section_contents): Detect and handle the caseNick Clifton2009-03-272-0/+16
| | | | | where a section has the SEC_IN_MEMORY flag set but no actual contents allocated.
* daily updateAlan Modra2009-03-271-1/+1
|
* PR 6494Alan Modra2009-03-262-6/+11
| | | | | | | * elf.c (copy_elf_program_header): Do not check that PT_GNU_RELRO p_filesz and p_memsz are equal. Use p_memsz as the segment size. (assign_file_positions_for_non_load_sections): Zap PT_GNU_RELRO if we don't find matching PT_LOAD when copying.
* daily updateAlan Modra2009-03-261-1/+1
|
* 2009-03-25 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy2009-03-251-0/+5
| | | | | * elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of the reloc descriptions.
* 2009-03-25 M R Swami Reddy <MR.Swami.Reddy@nsc.com>M R Swami Reddy2009-03-251-20/+20
| | | | | * elf32-crx.c (crx_elf_howto_table): Zero the src_mask field of the reloc descriptions.
* * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>Hans-Peter Nilsson2009-03-252-2/+9
| | | | | <R_CRIS_16_GOT_GD, case R_CRIS_32_GOT_GD>: Handle COMMON symbols. <case R_CRIS_16_TPREL, R_CRIS_32_TPREL>: Ditto.
* daily updateAlan Modra2009-03-251-1/+1
|
* 2009-03-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-03-242-4/+11
| | | | | | | * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static. (bfd_i386_arch_intel_syntax): Likewise. (i8086_arch): Likewise. (bfd_x86_64_arch): Likewise.
* * elf32-cris.c (cris_elf_relocate_section): <caseHans-Peter Nilsson2009-03-242-6/+31
| | | | | | | | | R_CRIS_16_DTPREL, R_CRIS_32_DTPREL>: Allow use of non-local symbols for non-allocated sections. Don't check whether to generate R_CRIS_DTPMOD for non-allocated sections. (cris_elf_gc_sweep_hook) <case R_CRIS_32_DTPREL>: Don't handle relocation GC:ing if applied to non-allocated section. (cris_elf_check_relocs): Similar.
* * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_32_GD>Hans-Peter Nilsson2009-03-242-2/+7
| | | | | <R_CRIS_16_GOT_GD, R_CRIS_32_GOT_GD>: Don't include the TLS size when emitting a known TP offset in the GOT.
* daily updateAlan Modra2009-03-241-1/+1
|
* * elf64-ppc.c (synthetic_opd): Delete.Alan Modra2009-03-232-6/+12
| | | | | (compare_symbols): Look for .opd name rather than section match. (ppc64_elf_get_synthetic_symtab): Likewise.
* daily updateAlan Modra2009-03-231-1/+1
|
* daily updateAlan Modra2009-03-221-1/+1
|
* * elf32-ppc.c (is_pic_glink_stub): Delete.Alan Modra2009-03-212-21/+18
| | | | | | | (is_nonpic_glink_stub): New function. (ppc_elf_get_synthetic_symtab): Check for last non-pic stub rather than first pic one. (struct ppc_elf_link_hash_table <glink_pltresolve>): Comment fix.
* daily updateAlan Modra2009-03-211-1/+1
|
* 2009-03-20 Martin Schwidefsky <schwidefsky@de.ibm.com>Andreas Krebbel2009-03-203-42/+39
| | | | | | | | | | | | | | | | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * elf32-s390.c (elf_s390_check_relocs): Use the SYMBOL_* macros for visibilty and locality checks. (elf_s390_adjust_dynamic_symbol): Likewise. (allocate_dynrelocs): Likewise. (elf_s390_relocate_section): Likewise. (elf_s390_finish_dynamic_symbol): Likewise. * elf64-s390.c (elf_s390_check_relocs): Likewise. (elf_s390_adjust_dynamic_symbol): Likewise. (allocate_dynrelocs): Likewise. (elf_s390_relocate_section): Likewise. (elf_s390_finish_dynamic_symbol): Likewise.
* daily updateAlan Modra2009-03-201-1/+1
|
* 2009-03-19 Kai Tietz <kai.tietz@onevision.com>Kai Tietz2009-03-194-15/+32
| | | | | | | | | | * bfd-in2.h: Regenerated. * coffcode.h (sec_to_styp_flags): For pe-coff add SEC_READONLY for debugging sections and map memory read/write dependent on SEC_COFF_NOREAD. (styp_to_sec_flags): Set SEC_COFF_NOREAD for sections without memory read flags set. * section.c: Add SEC_COFF_NOREAD to section flags.
OpenPOWER on IntegriCloud