aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2004-11-302004-11-30 Paul Brook <paul@codesourcery.com>Paul Brook4-82/+37
bfd/ * elf32-arm.c (struct elf32_arm_link_hash_table): Remove no_pipeline_knowledge (elf32_arm_link_hash_table_create): Ditto. (bfd_elf32_arm_process_before_allocation): Ditto. (elf32_arm_final_link_relocate): Ditto. Remove oabi relocation handling. * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update prototype. * bfd-in2.h: Regenerate. ld/ * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
2004-11-30 * elf32-hppa.c (elf32_hppa_grok_prstatus): New function.Alan Modra2-0/+70
(elf32_hppa_grok_psinfo): New function. (elf_backend_grok_prstatus): Define. (elf_backend_grok_psinfo): Define.
2004-11-29daily updateAlan Modra1-1/+1
2004-11-28daily updateAlan Modra1-1/+1
2004-11-27daily updateAlan Modra1-1/+1
2004-11-26daily updateAlan Modra1-1/+1
2004-11-25daily updateAlan Modra1-1/+1
2004-11-252004-11-24 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+8
PR 574: * elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.
2004-11-252004-11-24 Paul Brook <paul@codesourcery.com>Paul Brook2-4/+25
bfd/ * elf.c (assign_section_numbers): Number SHT_GROUP sections first. gas/testsuite/ * gas/elf/group0a.d: Adjust expected secion ordering. * gas/elf/group1a.d: Ditto. * gas/elf/section4.d: Ditto.
2004-11-24daily updateAlan Modra1-1/+1
2004-11-242004-11-24 Paul Brook <paul@codesourcery.com>Paul Brook2-0/+84
bfd/ * elf32-arm.c (elf32_arm_swap_symbol_in): New function. (elf32_arm_swap_symbol_out): New function. (elf32_arm_size_info): Add. (elf_backend_size_info): Define. ld/testsuite/ * ld-arm/mixed-lib.sym: Update for THUMB_FUNC change.
2004-11-23daily updateAlan Modra1-1/+1
2004-11-22daily updateAlan Modra1-1/+1
2004-11-21daily updateAlan Modra1-1/+1
2004-11-20daily updateAlan Modra1-1/+1
2004-11-20 * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls toDave Anglin2-9/+17
make_bfd_asection.
2004-11-19daily updateAlan Modra1-1/+1
2004-11-19 * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.Alan Modra4-6/+11
* elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl. * nlmcode.h (nlm_write_object_contents): Warning fix.
2004-11-19 * elf32-xtensa.c (ebb_propose_action): Fix argument order.Bob Wilson2-1/+5
2004-11-18daily updateAlan Modra1-1/+1
2004-11-17daily updateAlan Modra1-1/+1
2004-11-17bfd/Daniel Jacobowitz2-36/+206
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define. (elf32_arm_plt_thumb_stub): New. (struct elf32_arm_link_hash_entry): Add plt_thumb_refcount and plt_got_offset. (elf32_arm_link_hash_traverse): Fix typo. (elf32_arm_link_hash_table): Add obfd. (elf32_arm_link_hash_newfunc): Initialize new fields. (elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount. (elf32_arm_link_hash_table_create): Initialize obfd. (record_arm_to_thumb_glue): Mark the glue as a local ARM function. (record_thumb_to_arm_glue): Mark the glue as a local Thumb function. (bfd_elf32_arm_get_bfd_for_interworking): Verify that the interworking BFD is not dynamic. (bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do not emit glue for PLT references. (elf32_arm_final_link_relocate): Handle Thumb functions. Do not emit glue for PLT references. Support the Thumb PLT prefix. (elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and plt_thumb_refcount. (elf32_arm_check_relocs): Likewise. (elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and plt_thumb_refcount. (allocate_dynrelocs): Handle Thumb PLT references. (elf32_arm_finish_dynamic_symbol): Likewise. (elf32_arm_symbol_processing): New function. (elf_backend_symbol_processing): Define. opcodes/ * arm-dis.c (WORD_ADDRESS): Define. (print_insn): Use it. Correct big-endian end-of-section handling. gas/testsuite/ * gas/arm/mapping.d: Expect F markers for Thumb code. * gas/arm/unwind.d: Update big-endian pattern. ld/ * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use a dynamic object for stubs. ld/testsuite/ * ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s, ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r, ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld, ld-arm/arm-lib.ld: New files. * ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d, ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r, ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d, ld-arm/arm-static-app.r: Update for big-endian. * ld-arm/arm-elf.exp: Run the new tests.
2004-11-16daily updateAlan Modra1-1/+1
2004-11-16 * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size andRichard Sandiford3-55/+184
add_fde_encoding. Remove need_relative. * elf-eh-frame.c (extra_augmentation_string_bytes) (extra_augmentation_data_bytes, size_of_output_cie_fde): New functions. (_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding in cases where the CIE has no existing 'R' augmentation. Use size_of_output_cie_fde when assigning offsets. Use the final offset as the new section size. (_bfd_elf_eh_frame_section_offset): Remove need_relative handling. Account for any extra augmentation bytes in the returned offset. (_bfd_elf_write_section_eh_frame): Rework so that the entries are moved before being modified. Pad growing entries with DW_CFA_nops. Add 'z' and 'R' augmentations as directed by add_augmentation_size and add_fde_encoding.
2004-11-16 * elf32-arm.c (elf32_arm_relocate_section): UseMark Mitchell2-1/+9
arm_real_reloc_type.
2004-11-16 * elfxx-mips.c (mips_elf_create_dynamic_relocation): Return earlyRichard Sandiford2-100/+96
for discard relocations; don't add an R_MIPS_NONE to the main body of .rel.dyn.
2004-11-15bfd/Paul Brook5-156/+227
* elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype. * elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument. (_bfd_elf_slurp_version_tables): Add extra argument. Create extra default version definition for unversioned symbols. * elfcode.h (elf_slurp_symbol_table): Pass extra argument. * elflink.c (elf_link_add_object_symbols): Pass extra argument to _bfd_elf_slurp_version_tables. Set default version for unversioned imported symbols. include/ * bfdlink.h (bfd_link_info): Add default_imported_symver. ld/ * ld.texinfo: Document --default-imported-symver. * ldmain.c (main): Set link_info.default_imported_symver. * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER. (ld_options): Add --default-imported-symver. (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
2004-11-15daily updateAlan Modra1-1/+1
2004-11-15 * elflink.c (elf_link_add_object_symbols): Don't assume versionPaul Brook2-7/+15
indices are consecutive.
2004-11-15 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal withRichard Sandiford2-1/+9
composite relocations against the personality data.
2004-11-14daily updateAlan Modra1-1/+1
2004-11-13daily updateAlan Modra1-1/+1
2004-11-13 * bfd/elf32-arm.c (elf32_arm_final_link_relocate): ResolvePaul Brook2-16/+13
R_ARM_PREL31 relocations to PLT entries. (elf32_arm_relocate_section, elf32_arm_gc_sweep_hook): Ditto. (elf32_arm_check_relocs): Ditto.
2004-11-12daily updateAlan Modra1-1/+1
2004-11-122004-11-12 Bob Wilson <bob.wilson@acm.org>Bob Wilson2-0/+13
include/ChangeLog * xtensa-isa-internal.h (xtensa_interface_internal): Add class_id. * xtensa-isa.h (xtensa_interface_class_id): New prototype. bfd/ChangeLog * xtensa-isa.c (xtensa_interface_class_id): New. gas/ChangeLog * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if there is a conflict. (check_t1_t2_reads_and_writes): Check for both reads and writes to interfaces that are related as determined by xtensa_interface_class_id.
2004-11-11 * elf32-xtensa.c (property_table_compare): Remove assertion aboutBob Wilson2-7/+26
entries with the same address and non-zero size. (xtensa_read_table_entries): Report such entries as errors.
2004-11-11daily updateAlan Modra1-1/+1
2004-11-11 * elf32-arm.c (elf32_arm_final_link_relocate): Correct logic forMark Mitchell2-9/+17
R_ARM_RELATIVE on Symbian OS.
2004-11-10daily updateAlan Modra1-1/+1
2004-11-09daily updateAlan Modra1-1/+1
2004-11-09 * som.c (som_bfd_print_private_bfd_data): New function.Mark Mitchell2-30/+92
(som_object_setup): Save the auxiliary header. Don't assume that zero is an invalid entry point for a shared library. (som_object_p): Allocate the auxiliary header on the heap.
2004-11-09 * elf32-arm.c (elf32_arm_begin_write_processing): Do not use a K&RMark Mitchell2-13/+12
declaration. (elf32_arm_symbian_modify_segment_map): Likewise.
2004-11-09 From David Poole <daveml@mbuf.com>:Daniel Jacobowitz2-0/+41
* elf32-arm.c (elf32_arm_readonly_dynrelocs): New function. (elf32_arm_size_dynamic_sections): Call it.
2004-11-09 * Makefile.am (SOURCE_HFILES): Remove elf32-arm.h.Alan Modra4-18/+25
(ALL_MACHINES_CFILES): Fix typo. * Makefile.in: Regenerate. * po/SRC-POTFILES.in: Regenerate.
2004-11-08daily updateAlan Modra1-1/+1
2004-11-08 * elf32-arm.c (elf32_arm_final_link_relocate): When generating anMark Mitchell2-1/+24
R_ARM_RELATIVE relocation for Symbian OS, mention the section symbol in the relocation.
2004-11-08Add support fpr MAXQ processorNick Clifton13-92/+741
2004-11-08oops - omitted fom previous deltaNick Clifton1-13/+21
2004-11-08Fix support for PECOFF weak symbolsNick Clifton2-12/+22
2004-11-07daily updateAlan Modra1-1/+1