aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-05-16 * output.cc (Output_segment::add_output_section): Remove frontIan Lance Taylor4-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.
2008-05-16 * i386.cc (Target_i386::Relocate::relocate_tls): Set dynamic typeIan Lance Taylor3-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.
2008-05-16 * NEWS: Mention new DICOS x86 target configuration.Pedro Alves2-0/+8
2008-05-16 * output.cc (Output_reloc::get_address): Change return type toIan Lance Taylor4-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.
2008-05-16gdb/Ulrich Weigand9-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.
2008-05-16 * minsyms.c: Include "target.h".Ulrich Weigand4-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.
2008-05-16 * ppc-linux-tdep.c (ppc_linux_init_abi): Do not installUlrich Weigand4-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.
2008-05-16 * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Remove.Ulrich Weigand2-111/+7
(ppc_linux_init_abi): Install find_solib_trampoline_target instead of ppc_linux_skip_trampoline_code.
2008-05-16 * gdb.base/annota1.exp: Accept printf@... in place of printf.Ulrich Weigand3-4/+9
* gdb.base/annota3.exp: Likewise.
2008-05-16 * src-release (DEVO_SUPPORT): Add ChangeLog, MAINTAINERS,Daniel Jacobowitz2-5/+10
README-maintainer-mode, lt~obsolete.m4, ltgcc.m4, depcomp, mkdep, and compile. Update comments. (ETC_SUPPORT): Add ChangeLog and update comments.
2008-05-16 * gdbarch.sh: Delete dwarf_reg_to_regnum.Daniel Jacobowitz17-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.
2008-05-16daily updateAlan Modra1-1/+1
2008-05-16*** empty log message ***gdbadmin1-1/+1
2008-05-15 * linux-nat.c (trap_ptid): Delete.Pedro Alves3-19/+9
(linux_nat_detach, linux_nat_wait, linux_nat_mourn_inferior): Adjust. * linux-thread-db.c (thread_db_wait): Adjust.
2008-05-15 * linespec.c (decode_line_1): Fix a couple of comments.Joel Brobecker2-2/+6
2008-05-15 bfd/Nick Clifton35-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.
2008-05-15 * dbxread.c: Formatting.Alan Modra2-19/+26
(INTERNALIZE_SYMBOL): Init n_other. (set_namestring): Take pointer to nlist arg rather than struct copy. Update all callers.
2008-05-15(dwarf2loc.o): Remove $(addrmap_h).Andreas Schwab2-3/+7
(dwarf2read.o): Add $(addrmap_h).
2008-05-15*** empty log message ***gdbadmin1-1/+1
2008-05-15daily updateAlan Modra1-1/+1
2008-05-14 * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Rename ...Ulrich Weigand2-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.
2008-05-14 * elfread.c (elf_symtab_read): Create trampolines for @plt symbols.Daniel Jacobowitz3-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.
2008-05-14 * elf32-ppc.c (ppc_elf_get_synthetic_symtab): Fix memset calls.Ulrich Weigand3-3/+8
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Likewise.
2008-05-14update dependenciesAlan Modra20-146/+201
2008-05-14 * findcmd.c: Add #include "gdb_stdint.h".Joel Brobecker3-1/+7
* Makefile.in (findcmd.o): Update dependencies.
2008-05-14 * elf32-ppc.c (section_covers_vma): New function.Alan Modra3-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.
2008-05-14*** empty log message ***gdbadmin1-1/+1
2008-05-14daily updateAlan Modra1-1/+1
2008-05-13 * gdb.base/watch_thread_num.exp: Don't run tests that requireNathan Froyd2-4/+15
watchpoints if the target doesn't support them.
2008-05-13*** empty log message ***gdbadmin1-1/+1
2008-05-13daily updateAlan Modra1-1/+1
2008-05-12 * lib/gdbserver-support.exp (find_gdbserver): Use $GDBSERVER if set.Doug Evans2-0/+9
2008-05-122008-05-12 Samuel Tardieu <sam@rfc1149.net>Paolo Bonzini2-2/+9
Paolo Bonzini <bonzini@gnu.org> PR ada/36001 * acx.m4: Add optional parameter to ACX_PROG_GNAT.
2008-05-12 PR 6443Alan Modra3-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.
2008-05-12 * embedspu.sh: Test for presence of ._ea by looking at sectionAlan Modra2-4/+8
table rather than looking at relocs. Correct toe_addr substitution.
2008-05-12 * elf32-spu.c (spu_elf_relocate_section): Rename is_ea to is_ea_sym.Alan Modra2-6/+11
2008-05-12 * src-release (BINUTILS_SUPPORT_DIRS): Add elfcpp and gold.Ian Lance Taylor2-1/+5
2008-05-12*** empty log message ***gdbadmin1-1/+1
2008-05-12daily updateAlan Modra1-1/+1
2008-05-11 * sparc-linux-tdep.c (sparc32_linux_init_abi): RemoveDavid S. Miller2-4/+3
long double size override, Linux does use 128-bit now.
2008-05-11 * sparc-linux-tdep.c (PSR_SYSCALL): Define.David S. Miller3-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.
2008-05-11 * sparc-linux-tdep.c, sparc64-linux-tdep.c: UseDavid S. Miller3-2/+7
dwarf2_append_unwinders(), not dwarf2_frame_sniffer.
2008-05-11 * rs6000-tdep.c (rs6000_gdbarch_init): Set up info.target_descUlrich Weigand2-0/+7
and info.tdep_info before calling gdbarch_init_osabi.
2008-05-11*** empty log message ***gdbadmin1-1/+1
2008-05-11daily updateAlan Modra1-1/+1
2008-05-10 * elfcore.h (elf_core_file_p): Warn about core truncation.Alan Modra2-2/+32
2008-05-10daily updateAlan Modra1-1/+1
2008-05-10*** empty log message ***gdbadmin1-1/+1
2008-05-09 * gdb.ada/assign_1.exp: New testcase.Joel Brobecker2-0/+40
2008-05-09 * ada-lang.c (ada_evaluate_subexp) [BINOP_ASSIGN]: Do not forceJoel Brobecker2-1/+15
the type of the right hand side of the assignment to the type of the left hand side if the left hand side is a convenience variable.