summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* daily updateAlan Modra2007-06-061-1/+1
|
* daily updateAlan Modra2007-06-051-1/+1
|
* daily updateAlan Modra2007-06-041-1/+1
|
* daily updateAlan Modra2007-06-031-1/+1
|
* daily updateAlan Modra2007-06-021-1/+1
|
* daily updateAlan Modra2007-06-011-1/+1
|
* bfd/Richard Sandiford2007-05-312-2/+11
| | | | | | * elfxx-mips.c (mips_elf_initialize_tls_index): When processing a type (3) single-GOT entry, read tls_type from the hash table entry rather than the GOT entry.
* include/Alan Modra2007-05-312-0/+6
| | | | | | | | | | | * bfdlink.h (struct bfd_link_info): Add input_bfds_tail. bfd/ * simple.c (bfd_simple_get_relocated_section_content): Init input_bfds_tail. ld/ * ldlang.c (ldlang_add_file): Use input_bfds_tail. * ldmain.c (main): Init input_bfds_tail. Sort link_info initialization.
* daily updateAlan Modra2007-05-311-1/+1
|
* bfd/Alan Modra2007-05-302-10/+10
| | | | | | | | | | | | | | * elf.c (elf_fake_sections): Adjust test for SHT_NOBITS sections created by objcopy --only-keep-debug. (_bfd_elf_init_private_section_data): Only change elf_section_type if it is SHT_NULL. binutils/ * objcopy.c (copy_object): Revert 2007-05-11 change. Don't avoid calling bfd_copy_private_bfd_data for ELF STRIP_NONDEBUG. (setup_section): Don't modify flags, and don't avoid calling bfd_copy_private_section_data for ELF STRIP_NONDEBUG. * readelf.c (process_program_headers): Ignore .dynamic of type SHT_NOBITS.
* * elf.c (assign_file_positions_for_load_sections): Correct sh_typeAlan Modra2007-05-302-61/+45
| | | | | | to SHT_NOBITS earlier. Base actions in rest of function on sh_type and sh_flags instead of bfd section flags. Delete voff and code keeping nobits segments aligned.
* daily updateAlan Modra2007-05-301-1/+1
|
* daily updateAlan Modra2007-05-291-1/+1
|
* daily updateAlan Modra2007-05-281-1/+1
|
* daily updateAlan Modra2007-05-271-1/+1
|
* daily updateAlan Modra2007-05-261-1/+1
|
* 2007-05-25 Eric Christopher <echristo@apple.com>Eric Christopher2007-05-252-8/+14
| | | | | * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Check that sym_sec isn't NULL before accessing.
* daily updateAlan Modra2007-05-251-1/+1
|
* * regenerated files from updating libtool.Steve Ellcey2007-05-244-1059/+13139
|
* * ltmain.sh: Update from GCC.Steve Ellcey2007-05-241-0/+7
| | | | | | | | | | | | | | | * libtool.m4: Update from GCC. * ltsugar.m4: New. Update from GCC. * ltversion.m4: New. Update from GCC. * ltoptions.m4: New. Update from GCC. * ltconfig: Remove. * ltcf-c.sh: Remove. * ltcf-cxx.sh: Remove. * ltcf-gcj.sh: Remove. * src-release: Update with new libtool file list. * newlib/*/configure.in: invoke _LD_DECL_SED. * newlib/*/Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS. * Regenerate subdirectories
* daily updateAlan Modra2007-05-241-1/+1
|
* daily updateAlan Modra2007-05-231-1/+1
|
* 2007-05-22 Paul Brook <paul@codesourcery.com>Paul Brook2007-05-222-12/+66
| | | | | | | | | | | | | ld/testsuite/ * ld-arm/arm-pic-veneer.d: Update expected output. * ld-arm/arm-call.d: Ditto. bfd/ * elf32-arm.c (output_arch_syminfo): Replace plt_shndx and plt_offset with sec and sec_shndx. (elf32_arm_ouput_plt_map_sym): Use them. (elf32_arm_output_arch_local_syms): Output mapping symbols for interworking glue.
* Use @copying around copyright noticesNick Clifton2007-05-223-35/+46
|
* daily updateAlan Modra2007-05-221-1/+1
|
* * bfdint.texi: Add GNU Free Documentation License notice.Nick Clifton2007-05-212-0/+28
|
* daily updateAlan Modra2007-05-211-1/+1
|
* daily updateAlan Modra2007-05-201-1/+1
|
* daily updateAlan Modra2007-05-191-1/+1
|
* 2007-05-18 Paul Brook <paul@codesourcery.com>Paul Brook2007-05-182-0/+29
| | | | | | | | | | | bfd/ * elf32-arm.c (ARM2THUMB_V5_STATIC_GLUE_SIZE): Define. (a2t1v5_ldr_insn, a2t1v5_ldr_insn): New. (record_arm_to_thumb_glue): Add v5t non-pic glue. (elf32_arm_create_thumb_stub): Ditto. ld/testsuite/ * ld-arm/arm-call.d: Update expected output.
* daily updateAlan Modra2007-05-181-1/+1
|
* daily updateAlan Modra2007-05-171-1/+1
|
* 2007-05-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-05-162-16/+22
| | | | | | | Alan Modra <amodra@bigpond.net.au> * elflink.c (_bfd_elf_adjust_dynamic_copy): Align dynamic bss section to the minimum alignment.
* daily updateAlan Modra2007-05-161-1/+1
|
* 2007-05-15 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2007-05-1521-412/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Alan Modra <amodra@bigpond.net.au> PR ld/4504 * elf-bfd.h (_bfd_elf_adjust_dynamic_copy): New. * elflink.c (_bfd_elf_adjust_dynamic_copy): New. * elf-m10300.c (_bfd_mn10300_elf_adjust_dynamic_symbol): Call _bfd_elf_adjust_dynamic_copy to adjust for the copy in dynamic bss section. * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Likewise. * elf32-cris.c (elf_cris_adjust_dynamic_symbol): Likewise. * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Likewise. * elf32-i370.c (i370_elf_adjust_dynamic_symbol): Likewise. * elf32-i386.c (elf_i386_adjust_dynamic_symbol): Likewise. * elf32-m32r.c (m32r_elf_adjust_dynamic_symbol): Likewise. * elf32-m68k.c (elf_m68k_adjust_dynamic_symbol): Likewise. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Likewise. * elf32-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf32-sh.c (sh_elf_adjust_dynamic_symbol): Likewise. * elf32-vax.c (elf_vax_adjust_dynamic_symbol): Likewise. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. * elf64-s390.c (elf_s390_adjust_dynamic_symbol): Likewise. * elf64-sh64.c (sh64_elf64_adjust_dynamic_symbol): Likewise. * elf64-x86-64.c (elf64_x86_64_adjust_dynamic_symbol): Likewise. * elfxx-mips.c (_bfd_mips_vxworks_adjust_dynamic_symbol): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise.
* bfd/Richard Sandiford2007-05-152-41/+35
| | | | | | | | | | | | | | | * elfxx-mips.c (mips_elf_create_local_got_entry): Remove input_section argument. Create .rela.dyn relocations against symbol 0 rather than the section symbol. (mips_elf_local_got_index): Remove input_section argument. Update call to mips_elf_create_local_got_entry. (mips_elf_got_page, mips_elf_got16_entry): Likewise. (mips_elf_calculate_relocation): Update calls to mips_elf_local_got_index, mips_elf_got16_entry and mips_elf_got_page. ld/testsuite/ * ld-mips-elf/vxworks1-lib.rd: Expect the GOT relocation to be against symbol 0.
* bfd/Mark Shinwell2007-05-152-18/+13
| | | | | | | | | | * elf32-arm.c (elf32_arm_final_link_relocate): Correctly handle the Thumb-2 JUMP19 relocation. ld/testsuite/ * ld-arm/arm-elf.exp: Add jump19 testcase. * ld-arm/jump19.d: New. * ld-arm/jump19.s: New.
* PR 4479Alan Modra2007-05-153-11/+19
| | | | | | | * elf.c (elf_fake_sections): Don't allow backend to change SHT_NOBITS if called for strip/objcopy --only-keep-debug. * elfxx-mips.c (_bfd_mips_elf_fake_sections): Remove similar fix from here.
* daily updateAlan Modra2007-05-151-1/+1
|
* * elf.c (bfd_elf_string_from_elf_section): Return NULL onAlan Modra2007-05-142-1/+12
| | | | | invalid shstrndx. (bfd_elf_get_str_section): Likewise.
* daily updateAlan Modra2007-05-141-1/+1
|
* daily updateAlan Modra2007-05-131-1/+1
|
* PR 4497Alan Modra2007-05-122-27/+40
| | | | | | | | | | * elf-eh-frame.c (struct cie): Add "local_personality". Make "personality" a union. (cie_eq): Compare local_personality too. Adjust personality comparison. (_bfd_elf_discard_section_eh_frame): Check binding on personality reloc sym to allow for bad symtab. Use stashed local syms rather than reading personality local sym. Handle discarded sections.
* include/elf/Alan Modra2007-05-122-0/+7
| | | | | | | * spu.h (R_SPU_ADDR16X): Define. (R_SPU_PPU32, R_SPU_PPU64): Renumber. bfd/ * elf32-spu.c (elf_howto_table): Add howto for R_SPU_ADDR16X.
* daily updateAlan Modra2007-05-121-1/+1
|
* bfd/Alan Modra2007-05-113-32/+93
| | | | | | | | | | | | | | | | | | | | | | | | * elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype. (enum ppc_elf_plt_type): Move from.. * elf32-ppc.c: ..here. (struct ppc_elf_obj_tdata): Add makes_plt_call and has_rel16. (struct ppc_elf_link_hash_table): Reorder. Add old_bfd. Delete can_use_new_plt. Make is_vxworks a bitfield. (ppc_elf_link_hash_table_create): Don't clear is_vxworks (again). (ppc_elf_check_relocs): Update setting of reloc flags. Set old_bfd. (ppc_elf_select_plt_layout): Modify parameters. Use bfd reloc flags to better detect object files needing old bss-style plt. Allow secure plt to be used without rel16 relocs being detected. Warn if secure plt request cannot be allowed. ld/ * emultempl/ppc32elf.em (plt_style): New variable. (old_plt): Delete. (ppc_after_open): Adjust ppc_elf_select_plt_layout call. (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT. * ld.texinfo (--secure-plt): Document.
* include/elf/Alan Modra2007-05-117-11/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * spu.h (R_SPU_PPU32, R_SPU_PPU64): Define. bfd/ * reloc.c (BFD_RELOC_SPU_PPU32, BFD_RELOC_SPU_PPU64): Define. * elf-bfd.h (struct elf_backend_data): Change return type of elf_backend_relocate_section to int. * elf32-spu.c (elf_howto_table): Add howtos for R_SPU_PPU32 and R_SPU_PPU64. (spu_elf_bfd_to_reloc_type): Convert new relocs. (spu_elf_count_relocs): New function. (elf_backend_count_relocs): Define. (spu_elf_relocate_section): Arrange to emit R_SPU_PPU32 and R_SPU_PPU64 relocs. * elflink.c (elf_link_input_bfd): Emit relocs if relocate_section returns 2. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. gas/ * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call spu_cons for word. (md_assemble): Tidy use of insn.flag. (get_imm): Likewise. Handle uppercase input too. (spu_cons): New function. * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs. (TC_FORCE_RELOCATION): Don't resolve them either. binutils/ * embedspu.sh (find_prog): Prefer prog in same dir as embedspu over one found on the users path. (main): Generate .reloc for each R_SPU_PPU* reloc.
* daily updateAlan Modra2007-05-111-1/+1
|
* bfd/Richard Sandiford2007-05-102-2/+10
| | | | | | | | | | | | | | * elf32-arm.c (elf32_arm_check_relocs): Don't create PLT entries for R_ARM_ABS12 relocs. (elf32_arm_finish_dynamic_symbol): Fix the loop that creates non-shared VxWorks PLT entries. ld/testsuite/ * ld-arm/vxworks1-lib.dd: Expect "push" instead of stmdb and "pop" instead of ldmia. Don't require specific symbolic addresses for in-text addresses. Expect data to be rendered as .words rather than disassembled. * ld-arm/vxworks1.dd: Likewise.
* PR 4454Alan Modra2007-05-102-2/+36
| | | | | | * elf-eh-frame.c (struct cie): Make "personality" a bfd_vma. (_bfd_elf_discard_section_eh_frame): Handle local syms on personality relocation.