summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * language.h (struct language_defn): Remove SYMTAB parameter fromUlrich Weigand2008-05-1914-198/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | la_lookup_symbol_nonlocal callback function pointer. * ada-lang.h (ada_lookup_encoded_symbol): Remove SYMTAB parameter. (ada_lookup_encoded_symbol): Likewise. * ada-lang.c (ada_lookup_encoded_symbol): Remove SYMTAB parameter. Always call fixup_symbol_section. (ada_lookup_symbol): Remove SYMTAB parameter. (ada_lookup_symbol_nonlocal): Likewise. * ada-exp.y (write_object_renaming): Update. (find_primitive_type): Likewise. * cp-support.h (cp_lookup_symbol_nonlocal): Remove SYMTAB parameter. (cp_lookup_symbol_namespace): Likewise. * cp-namespace.c (lookup_namespace_scope): Remove SYMTAB parameter. (lookup_symbol_file): Likewise. (lookup_possible_namespace_symbol): Likewise. (cp_lookup_symbol_nonlocal): Likewise. (cp_lookup_symbol_namespace): Likewise. (cp_lookup_nested_type): Update. * scm-valprint.c (scm_inferior_print): Update. * valops.c (value_maybe_namespace_elt): Update. * solist.h (struct target_so_ops): Remove SYMTAB parameter from lookup_lib_global_symbol callback function pointer. (solib_global_lookup): Remove SYMTAB parameter. * solib.c (solib_global_lookup): Remove SYMTAB parameter. * solib-svr4.c (elf_lookup_lib_symbol): Likewise. * symtab.h (basic_lookup_symbol_nonlocal): Remove SYMTAB parameter. (lookup_symbol_static): Likewise. (lookup_symbol_global): Likewise. (lookup_symbol_aux_block): Likewise. (lookup_global_symbol_from_objfile): Likewise. * symtab.c (lookup_symbol_aux): Remove SYMTAB parameter. (lookup_symbol_aux_local): Likewise. (lookup_symbol_aux_block): Likewise. (lookup_symbol_aux_symtabs): Likewise. (lookup_symbol_aux_psymtabs): Likewise. (lookup_global_symbol_from_objfile): Likewise. (basic_lookup_symbol_nonlocal): Likewise. (lookup_symbol_static): Likewise. (lookup_symbol_global): Likewise. (lookup_symbol_in_language): Do not pass SYMTAB to lookup_symbol_aux.
* PR 2995, PR 6473Alan Modra2008-05-192-1/+21
| | | | | | * elf.c (_bfd_elf_make_section_from_shdr): Leave lma equal to vma when all p_paddr fields are zero and there is more than one PT_LOAD header.
* *** empty log message ***gdbadmin2008-05-191-1/+1
|
* daily updateAlan Modra2008-05-191-1/+1
|
* daily updateAlan Modra2008-05-181-1/+1
|
* *** empty log message ***gdbadmin2008-05-181-1/+1
|
* * remote.c (init_extended_remote_ops): Fix typo.Pedro Alves2008-05-172-2/+6
|
* *** empty log message ***gdbadmin2008-05-171-1/+1
|
* daily updateAlan Modra2008-05-171-1/+1
|
* * output.cc (Output_segment::add_output_section): Remove frontIan Lance Taylor2008-05-164-23/+15
| | | | | | | | | | parameter. * output.h (class Output_segment): Remove add_initial_output_section and overloaded add_output_section. Update declaration of remaining add_output_section. * layout.cc (Layout::create_interp): Call add_output_section rather than add_initial_output_section. (Layout::finish_dynamic_section): Likewise.
* * i386.cc (Target_i386::Relocate::relocate_tls): Set dynamic typeIan Lance Taylor2008-05-163-4/+36
| | | | | | | | | | | for TLS_GOTDESC and TLS_DESC_CALL. Only optimize TLS_LDO_32 if we know the dynamic type. * x86_64.cc (Target_x86_64::Relocate): Add saw_tls_block_reloc_ field. Initialize it in constructor. (Target_x86_64::Relocate::relocate_tls): Record that we saw a TLS block reloc for TLSGD, GOTPC32_TLSDESC, TLSDESC_CALL, and TLSLD. Only optimize DTPOFF32 and DTPOFF64 if we have seen a TLS block reloc.
* * NEWS: Mention new DICOS x86 target configuration.Pedro Alves2008-05-162-0/+8
|
* * output.cc (Output_reloc::get_address): Change return type toIan Lance Taylor2008-05-164-9/+19
| | | | | | | Elf_Addr. * output.h (class Output_reloc): Update get_address declaration. * x86_64.cc (Output_data_plt_x86_64::do_write): Use 64-bit types for section addresses.
* gdb/Ulrich Weigand2008-05-169-14/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-15 Pedro Alves <pedro@codesourcery.com> Ulrich Weigand <uweigand@de.ibm.com> * minsyms.c (lookup_minimal_symbol_by_pc_name): New function. * symtab.h (lookup_minimal_symbol_by_pc_name): Add prototype. * symtab.c (fixup_section): Remove prototype. Add ADDR parameter; use it instead of ginfo->value.address. Look up minimal symbol by address and name. Assume OBJFILE is non-NULL. (fixup_symbol_section): Ensure we always have an objfile to look into. Extract and pass to fixup_section the symbol's address that will match the minimal symbol's address. (fixup_psymbol_section): Likewise. (find_pc_sect_psymtab): Fall back to non-addrmap case when debugging overlays and the addrmap returned the wrong section. * dwarf2read.c (var_decode_location): Set SYMBOL_CLASS before calling fixup_symbol_section. gdb/testsuite/ 2008-05-15 Pedro Alves <pedro@codesourcery.com> * gdb.base/fixsection.exp: New file. * gdb.base/fixsection0.c: New file. * gdb.base/fixsection1.c: New file.
* * minsyms.c: Include "target.h".Ulrich Weigand2008-05-164-16/+165
| | | | | | | | | | | | | | | | | | | (find_solib_trampoline_target): Handle minimal symbols pointing to function descriptors as well. * Makefile.in (minsyms.o): Update dependencies. * ppc-linux-tdep.c (ppc64_standard_linkage): Rename to ... (ppc64_standard_linkage1): ... this. Fix optional instructions. (PPC64_STANDARD_LINKAGE_LEN): Rename to ... (PPC64_STANDARD_LINKAGE1_LEN): ... this. (ppc64_standard_linkage2, ppc64_standard_linkage3): New. (PPC64_STANDARD_LINKAGE2_LEN, PPC64_STANDARD_LINKAGE3_LEN): New. (ppc64_standard_linkage_target): Rename to ... (ppc64_standard_linkage1_target): ... this. (ppc64_standard_linkage2_target, ppc64_standard_linkage3_target): New. (ppc64_skip_trampoline_code): Support three variants of standard linkage stubs. Call find_solib_trampoline_target to handle glink stubs.
* * ppc-linux-tdep.c (ppc_linux_init_abi): Do not installUlrich Weigand2008-05-164-29/+7
| | | | | | ppc64_sysv_abi_adjust_breakpoint_address. * ppc-sysv-tdep.c (ppc64_sysv_abi_adjust_breakpoint_address): Remove. * ppc-tdep.h (ppc64_sysv_abi_adjust_breakpoint_address): Remove.
* * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Remove.Ulrich Weigand2008-05-162-111/+7
| | | | | (ppc_linux_init_abi): Install find_solib_trampoline_target instead of ppc_linux_skip_trampoline_code.
* * gdb.base/annota1.exp: Accept printf@... in place of printf.Ulrich Weigand2008-05-163-4/+9
| | | | * gdb.base/annota3.exp: Likewise.
* * src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS,Daniel Jacobowitz2008-05-162-5/+10
| | | | | | README-maintainer-mode, lt~obsolete.m4, ltgcc.m4, depcomp, mkdep, and compile. Update comments. (ETC_SUPPORT): Add ChangeLog and update comments.
* * gdbarch.sh: Delete dwarf_reg_to_regnum.Daniel Jacobowitz2008-05-1617-54/+18
| | | | | | | | | | * gdbarch.c, gdbarch.h: Regenerated. * amd64-tdep.c, arm-tdep.c, h8300-tdep.c, hppa-linux-tdep.c, hppa-tdep.c, i386-tdep.c, m32c-tdep.c, m68k-tdep.c, mips-tdep.c, s390-tdep.c, xtensa-tdep.c: Do not set dwarf_reg_to_regnum. * gdbint.texinfo (Target Conditionals): Delete entry for gdbarch_dwarf_reg_to_regnum.
* daily updateAlan Modra2008-05-161-1/+1
|
* *** empty log message ***gdbadmin2008-05-161-1/+1
|
* * linux-nat.c (trap_ptid): Delete.Pedro Alves2008-05-153-19/+9
| | | | | | (linux_nat_detach, linux_nat_wait, linux_nat_mourn_inferior): Adjust. * linux-thread-db.c (thread_db_wait): Adjust.
* * linespec.c (decode_line_1): Fix a couple of comments.Joel Brobecker2008-05-152-2/+6
|
* bfd/Nick Clifton2008-05-1535-369/+2363
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf32-arm.c (THM2_MAX_FWD_BRANCH_OFFSET): Define. (THM2_MAX_BWD_BRANCH_OFFSET): Define. (ARM_MAX_FWD_BRANCH_OFFSET): Define. (ARM_MAX_BWD_BRANCH_OFFSET): Define. (THM_MAX_FWD_BRANCH_OFFSET): Define. (THM_MAX_BWD_BRANCH_OFFSET): Define. (arm_long_branch_stub): Define. (arm_pic_long_branch_stub): Define. (arm_thumb_v4t_long_branch_stub): Define. (arm_thumb_thumb_long_branch_stub): Define. (arm_thumb_arm_v4t_long_branch_stub): Define. (STUB_SUFFIX): Define. (elf32_arm_stub_type): Define. (elf32_arm_stub_hash_entry): Define. (elf32_arm_link_hash_entry): Add stub_cache field. (arm_stub_hash_lookup): Define. (elf32_arm_link_hash_table): Add stub_hash_table, stub_bfd, add_stub_section, layout_sections_again, stub_group, bfd_count, top_index, input_list fields. (elf32_arm_link_hash_newfunc): Init new field. (stub_hash_newfunc): New function. (elf32_arm_link_hash_table_create): Init stub_hash_table. (elf32_arm_hash_table_free): New function. (arm_type_of_stub): New function. (elf32_arm_stub_name): New function. (elf32_arm_get_stub_entry): New function. (elf32_arm_stub_add_mapping_symbol): New function. (elf32_arm_add_stub): New function. (arm_build_one_stub): New function. (arm_size_one_stub): New function. (elf32_arm_setup_section_lists): New function. (elf32_arm_next_input_section): New function. (group_sections): New function. (elf32_arm_size_stubs): New function. (elf32_arm_build_stubs): New function. (bfd_elf32_arm_add_glue_sections_to_bfd): Skip stub sections. (bfd_elf32_arm_process_before_allocation): No longer handle R_ARM_CALL and R_ARM_THM_CALL. (using_thumb_only): New function. (elf32_arm_final_link_relocate): Redirect calls to stub if range exceeds encoding capabilities. (bfd_elf32_bfd_link_hash_table_free): Define. * bfd-in.h (R_ARM_max): Fix value to 130. (elf32_arm_setup_section_lists): Protype. (elf32_arm_next_input_section): Protype. (elf32_arm_size_stubs): Protype. (elf32_arm_build_stubs): Protype. ld/ * emultempl/armelf.em (build_section_lists): New function. (stub_file): Define. (need_laying_out): Define. (group_size): Define. (hook_stub_info): Define. (hook_in_stub): New function. (elf32_arm_add_stub_section): New function. (gldarm_layout_sections_again): New function. (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate stubs for long calls if needed. (arm_elf_create_output_section_statements): create stub_file bfd. (arm_for_each_input_file_wrapper): New function. (arm_lang_for_each_input_file): New function. (lang_for_each_input_file): Define. (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE. (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size. (PARSE_AND_LIST_OPTIONS): Add option stub-group-size. (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case. (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish. * ld/lang.c (print_input_statement): Skip if bfd has BFD_LINKER_CREATED. ld/testsuite * ld-arm/arm-elf.exp (armelftests): Add farcall-arm-arm, farcall-arm-arm-pic-veneer, farcall-arm-arm-be8 farcall-arm-thumb, farcall-arm-thumb-blx, farcall-arm-thumb-pic-veneer, farcall-arm-thumb-blx-pic-veneer, farcall-thumb-thumb, farcall-thumb-thumb-pic-veneer, farcall-thumb-thumb-blx, farcall-thumb-thumb-m, farcall-thumb-thumb-m-pic-veneer, farcall-thumb-thumb-blx-pic-veneer, farcall-thumb-arm, farcall-thumb-arm-pic-veneer, farcall-thumb-arm-blx, farcall-thumb-arm-blx-pic-veneer. Change thumb2-bl-as-thumb1-bad, thumb2-bl-bad. * ld-arm/thumb2-bl-as-thumb1-bad.d: Reflects farcall stub generation. * ld-arm/thumb2-bl-bad.d: Likewise. * ld-arm/thumb2-bl-as-thumb1-bad.s: Update comments. * ld-arm/thumb2-bl-bad.s: Likewise.
* * dbxread.c: Formatting.Alan Modra2008-05-152-19/+26
| | | | | | (INTERNALIZE_SYMBOL): Init n_other. (set_namestring): Take pointer to nlist arg rather than struct copy. Update all callers.
* (dwarf2loc.o): Remove $(addrmap_h).Andreas Schwab2008-05-152-3/+7
| | | | (dwarf2read.o): Add $(addrmap_h).
* *** empty log message ***gdbadmin2008-05-151-1/+1
|
* daily updateAlan Modra2008-05-151-1/+1
|
* * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Rename ...Ulrich Weigand2008-05-142-42/+19
| | | | | | | (ppc64_linux_convert_from_func_ptr_addr): ... to this. No longer try to handle ppc32 PLT entries. (ppc_linux_init_abi): Install ppc64_linux_convert_from_func_ptr_addr only on ppc64.
* * elfread.c (elf_symtab_read): Create trampolines for @plt symbols.Daniel Jacobowitz2008-05-143-4/+79
| | | | | | | | * minsyms.c (lookup_minimal_symbol_by_pc_section_1): Renamed from lookup_minimal_symbol_by_pc_section. Prefer trampolines if requested. (lookup_minimal_symbol_by_pc_section): Use lookup_minimal_symbol_by_pc_section_1. (lookup_solib_trampoline_symbol_by_pc): Likewise.
* * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.Ulrich Weigand2008-05-143-3/+8
| | | | * elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
* update dependenciesAlan Modra2008-05-1420-146/+201
|
* * findcmd.c: Add #include "gdb_stdint.h".Joel Brobecker2008-05-143-1/+7
| | | | * Makefile.in (findcmd.o): Update dependencies.
* * elf32-ppc.c (section_covers_vma): New function.Alan Modra2008-05-143-5/+371
| | | | | | | | | (ppc_elf_get_synthetic_symtab): New function. (bfd_elf32_get_synthetic_symtab): Define. * elf64-ppc.c (section_covers_vma): New function. (ppc64_elf_get_synthetic_symtab): Generate sym@plt on glink branch table entries, and __glink_PLTresolve on resolver stub. (ppc64_elf_build_stubs): Rename __glink sym to __glink_PLTresolve.
* *** empty log message ***gdbadmin2008-05-141-1/+1
|
* daily updateAlan Modra2008-05-141-1/+1
|
* * gdb.base/watch_thread_num.exp: Don't run tests that requireNathan Froyd2008-05-132-4/+15
| | | | watchpoints if the target doesn't support them.
* *** empty log message ***gdbadmin2008-05-131-1/+1
|
* daily updateAlan Modra2008-05-131-1/+1
|
* * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.Doug Evans2008-05-122-0/+9
|
* 2008-05-12 Samuel Tardieu <sam@rfc1149.net>Paolo Bonzini2008-05-122-2/+9
| | | | | | | Paolo Bonzini <bonzini@gnu.org> PR ada/36001 * acx.m4: Add optional parameter to ACX_PROG_GNAT.
* PR 6443Alan Modra2008-05-123-45/+126
| | | | | | | | | | | | | | | | * elf32-ppc.c (MUST_BE_DYN_RELOC): Delete. (must_be_dyn_reloc): New function. (ppc_elf_check_relocs): Don't set DF_STATIC_TLS for tprel relocs in pies. (ppc_elf_tls_optimize): Optimise pies. (ppc_elf_relocate_section): Use a section symbol rather than no symbol if possible for LD->IE TLS sequence, but don't error if we must use no symbol. * elf64-ppc.c (MUST_BE_DYN_RELOC): As for elf32-ppc.c. (must_be_dyn_reloc): Likewise. (ppc64_elf_check_relocs): Likewise. (ppc64_elf_tls_optimize): Likewise. (ppc64_elf_relocate_section): Likewise.
* * embedspu.sh: Test for presence of ._ea by looking at sectionAlan Modra2008-05-122-4/+8
| | | | table rather than looking at relocs. Correct toe_addr substitution.
* * elf32-spu.c (spu_elf_relocate_section): Rename is_ea to is_ea_sym.Alan Modra2008-05-122-6/+11
|
* * src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.Ian Lance Taylor2008-05-122-1/+5
|
* *** empty log message ***gdbadmin2008-05-121-1/+1
|
* daily updateAlan Modra2008-05-121-1/+1
|
* * sparc-linux-tdep.c (sparc32_linux_init_abi): RemoveDavid S. Miller2008-05-112-4/+3
| | | | long double size override, Linux does use 128-bit now.
* * sparc-linux-tdep.c (PSR_SYSCALL): Define.David S. Miller2008-05-113-0/+63
| | | | | | | | (sparc_linux_write_pc): New function. (sparc32_linux_init_abi): Register it. * sparc64-linux-tdep.c (TSTATE_SYSCALL): Define. (sparc64_linux_write_pc): New function. (sparc64_linux_init_abi): Register it.