aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-02-08bfd/David S. Miller3-151/+138
* elfxx-sparc.h (struct _bfd_sparc_elf_link_hash_table): Remove sgot, srelgot, splt, srelplt, and sgotplt members in favor of generic copies. * elfxx-sparc.c (create_got_section): Delete. (_bfd_sparc_elf_create_dynamic_sections): Don't call, the dynamic section creator does that work for us. Use ->elf.foo instead of ->foo where applicable. (_bfd_sparc_elf_check_relocs): Use ->elf.foo instead of ->foo where applicable. (allocate_dynrelocs): Likewise. (_bfd_sparc_elf_size_dynamic_sections): Likewise. (_bfd_sparc_elf_relocate_section): Likewise. (sparc_vxworks_build_plt_entry): Likewise. (_bfd_sparc_elf_finish_dynamic_symbol): Likewise. (sparc_finish_dyn): Likewise. (sparc_vxworks_finish_exec_plt): Likewise. (sparc_vxworks_finish_shared_plt): Likewise. (_bfd_sparc_elf_finish_dynamic_sections): Likewise. * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Use the SYMBOL_* macros for visibilty and locality checks. (_bfd_sparc_elf_adjust_dynamic_symbol): Likewise. (allocate_dynrelocs): Likewise. (_bfd_sparc_elf_relocate_section): Likewise. (_bfd_sparc_elf_finish_dynamic_symbol):Likewise. * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_symbol): Remove set but never used local var 'dynobj'. * elfxx-sparc.c (_bfd_sparc_elf_adjust_dynamic_symbol): Handle nocopyreloc.
2010-02-08bfd/Richard Sandiford2-4/+13
* xcofflink.c (_bfd_xcoff_bfd_final_link): When calculating max_contents_size, only consider sections whose contents must be swapped in.
2010-02-08 * infrun.c (handle_inferior_event): Do not look up regcacheUlrich Weigand2-9/+16
for exited processes.
2010-02-08Document i386 XML target features.H.J. Lu2-0/+44
2010-02-08 H.J. Lu <hongjiu.lu@intel.com> * gdb.texinfo: Document i386 target features.
2010-02-08* dwarf.c (display_debug_frames): Skip the 'S' character in CFIJim Blandy2-0/+7
'z' augmentation strings.
2010-02-082010-02-08 Sterling Augustine <sterling@tensilica.com>Sterling Augustine2-137/+113
* config/tc-xtensa.c (frag_format_size): Generalize logic to handle more instruction sizes and fetch widths. (branch_align_power): Likewise. (text_align_power): Likewise. (bytes_to_stretch): Likewise.
2010-02-08PR gdb/10728Chris Moller8-1/+117
* valarith.c (value_ptrdiff): Added a test for a zero type length, warn if found, and assume length = 1. * gdb.cp/pr10728-x.h: New file. * gdb.cp/pr10728-x.cc: New file. * gdb.cp/pr10728-y.cc: New file. * gdb.cp/pr10728.exp: New file. * gdb.cp/Makefile.in (EXECUTABLES): Add pr10728
2010-02-08PR gdb/9067Chris Moller6-17/+92
* cp-valprint.c (cp_print_value_fields) Fix use of obstacks. cp_print_static_field) Fix use of obstacks. * gdb.cp/pr9067.exp: New * gdb.cp/pr9067.cc: New * gdb.cp/Makefile.in (EXECUTABLES): Add pr9067
2010-02-08 * linux-nat.c (linux_nat_resume): In non-stop, also only tagPedro Alves2-21/+118
resumed LWPs as resumed. (linux_nat_wait_1): If there's no resumed LWP in the set of LWPs we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead of throwing an internal error. If an LWP of a process we're not waiting for reports a signal, don't force collecting a SIGSTOP, and if it was breakpoint hit in non-stop mode, cancel it. Don't go through all LWPs cancelling breakpoints in non-stop mode. (resume_stopped_resumed_lwps): New. (linux_nat_wait): Use it.
2010-02-08 * objdump.c (disassemble_bytes): Clear aux->reloc before printingNick Clifton8-35/+49
a new address, so as not to reuse a previous, non-related reloc. * gas/arm/arm-it-auto.d, gas/arm/bl-local-v4t.d, gas/arm/blx-local.d, gas/arm/thumb-w-good.d: Update expected results.
2010-02-08 * elf64-ppc.c (allocate_dynrelocs): Remove unused got structs here..Alan Modra2-32/+30
(ppc64_elf_size_dynamic_sections): ..and here.. (merge_got_entries): ..rather than here.
2010-02-08bfd/Alan Modra5-20/+56
* elf64-ppc.c (struct ppc_link_hash_table): Add do_multi_toc. (has_small_toc_reloc): Define. (ppc64_elf_check_relocs): Set the above flags. (ppc64_elf_edit_opd): Delete obfd param. (ppc64_elf_tls_optimize): Likewise. (ppc64_elf_edit_toc): Likewise. (ppc64_elf_tls_setup): Likewise. Add no_multi_toc param. * elf64-ppc.h: Update prototypes. ld/ * emultempl/ppc64elf.em (ppc_before_allocation): Update for changed function parameters.
2010-02-08update copyright dateAlan Modra1-1/+1
2010-02-08 * section.c (struct bfd_section): Delete has_tls_reloc,Alan Modra8-58/+82
has_tls_get_addr_call, has_gp_reloc, need_finalize_relax, reloc_done. Add sec_flg0 thru sec_flg5. (BFD_FAKE_SECTION): Update for changed flags. * ecoff.c (bfd_debug_section): Likewise. * elf32-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define. * elf64-ppc.c (has_tls_reloc, has_tls_get_addr_call): Define. (has_toc_reloc, makes_toc_func_call, call_check_in_progress): Update. * elf32-xtensa.c (reloc_done): Define. * elfxx-ia64.c (skip_relax_pass_0, skip_relax_pass_1): Update. * bfd-in2.h: Regenerate.
2010-02-08 * lib/gdb.exp (gdb_test_timeout): New global variable.Joel Brobecker2-0/+21
Set it to timeout if not already set. (gdb_init): Reset the value of timeout to gdb_test_timeout.
2010-02-082010-02-08 Tristan Gingold <gingold@adacore.com>Tristan Gingold2-1/+10
* mach-o.c (bfd_mach_o_canonicalize_one_reloc): Set reloc.r_extern for non-scattered relocations.
2010-02-08bfd/Nathan Sidwell7-70/+63
* elf32-ppc.c (ppc_elf_begin_write_processing): Allow empty apuinfo sections, only scan input sections once and reuse the buffer. ld/testsuite/ * ld-powerpc/apuinfo-nul.s: New. * ld-powerpc/apuinfo.rd: Add it. * ld-powerpc/powerpc.exp: Likewise.
2010-02-08Add x86 XML target description files.H.J. Lu16-0/+733
2010-02-07 H.J. Lu <hongjiu.lu@intel.com> * features/Makefile (WHICH): Add i386/i386, i386/i386-linux, i386/amd64 and i386/amd64-linux. (i386/i386-expedite): New. (i386/i386-linux-expedite): Likewise. (i386/amd64-expedite):Likewise. (i386/amd64-linux-expedite): Likewise. ($(outdir)/i386/i386-linux.dat): Likewise. ($(outdir)/i386/amd64.dat): Likewise. ($(outdir)/i386/amd64-linux.dat): Likewise. * features/i386/32bit-core.xml: New. * features/i386/32bit-linux.xml: Likewise. * features/i386/32bit-sse.xml: Likewise. * features/i386/64bit-core.xml: Likewise. * features/i386/64bit-linux.xml: Likewise. * features/i386/64bit-sse.xml: Likewise. * features/i386/i386-linux.xml: Likewise. * features/i386/i386.xml: Likewise. * features/i386/amd64-linux.xml: Likewise. * features/i386/amd64.xml: Likewise. * features/i386/i386-linux.c: Likewise. * features/i386/i386.c: Likewise. * features/i386/amd64-linux.c: Likewise. * features/i386/amd64.c: Likewise.
2010-02-08missed from last commitAlan Modra1-0/+4
2010-02-08include/Alan Modra15-189/+791
* opcode/ppc.h (PPC_OPCODE_TITAN): Define. bfd/ * archures.c (bfd_mach_ppc_titan): Define. * bfd-in2.h: Regenerate. * cpu-powerpc.c (bfd_powerpc_archs): Add titan entry. opcodes/ * ppc-dis.c (ppc_opts): Add titan entry. * ppc-opc.c (TITAN, MULHW): Define. (powerpc_opcodes): Support AppliedMicro Titan core (APM83xxx). gas/ * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs. (ppc_mach): Handle titan. * doc/c-ppc.texi: Mention -mtitan. gas/testsuite/ * gas/ppc/titan.d, * gas/ppc/titan.s: New test. * gas/ppc/ppc.exp: Run it.
2010-02-08 * elf32-ppc.c (ppc_elf_check_relocs): Remove dead ifunc code.Alan Modra2-34/+29
2010-02-08*** empty log message ***gdbadmin1-1/+1
2010-02-07daily updateAlan Modra1-1/+1
2010-02-07Move entry for elf/s390.h to elf/ChangeLog.H.J. Lu2-4/+4
2010-02-07*** empty log message ***gdbadmin1-1/+1
2010-02-06daily updateAlan Modra1-1/+1
2010-02-06 * configure.ac: Rewrite targetobjs duplicate removal code to useIan Lance Taylor3-2/+22
only shell constructs. * configure: Rebuild.
2010-02-062010-02-05 Doug Kwan <dougkwan@google.com>Doug Kwan2-28/+61
PR 11247 * arm.cc (Arm_relobj::section_is_scannable): New method. (Arm_relobj::section_needs_reloc_stub_scanning): Use it. (Arm_relobj::section_needs_cortex_a8_stub_scanning): Same.
2010-02-06*** empty log message ***gdbadmin1-1/+1
2010-02-05daily updateAlan Modra1-1/+1
2010-02-05 testsuite/Doug Evans4-1/+37
* lib/gdb.exp (INTERNAL_GDBFLAGS): Don't override value provided by user. doc/ * gdbint.texinfo (Testsuite): Document INTERNAL_GDBFLAGS.
2010-02-052010-02-05 Sami Wagiaalla <swagiaal@redhat.com>Sami Wagiaalla6-23/+77
PR c++/7935: * gdb.cp/namespace-using.exp: Removed kfail; bug has been fixed. 2010-02-05 Sami Wagiaalla <swagiaal@redhat.com> PR c++/7935: * cp-support.h: Added char* alias element to using_direct data struct. (cp_add_using): Added char* alias argument. (cp_add_using_directive): Ditto. * cp-namespace.c: Updated with the above changes. (cp_lookup_symbol_imports): Check for aliases. * dwarf2read.c (read_import_statement): Figure out local alias for the import and pass it on to cp_add_using. (read_namespace): Pass alias argument to cp_add_using.
2010-02-0510-02-05 Sterling Augustine <sterling@tensilica.com>Sterling Augustine1-7/+5
* config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and replace with... (xtensa_fetch_width) ...this.
2010-02-05 * gdbint.texinfo (Testsuite): Add a new section to document theDoug Evans2-0/+51
various DejaGnu variables that may be overridden.
2010-02-05Update Changelog entry to include bug number. Checked in as obvious.Sterling Augustine1-0/+5
2010-02-052010-02-05 Sterling Augustine <sterling@tensilica.com>Sterling Augustine1-0/+16
* elf.c (assign_file_positions_for_load_sections) Update lma of section if necessary.
2010-02-05* ppc-instructions: Fix aliasing bugs when callingAndreas Schwab2-8/+28
invalid_arithemetic_operation.
2010-02-05Remove trailing white spaces.H.J. Lu3-10/+15
2010-02-05 H.J. Lu <hongjiu.lu@intel.com> * elf32-i386.c: Remove trailing white spaces. * elf64-x86-64.c: Likewise.
2010-02-05 * configure.in (ALL_LIBGUAS): Add bg.Nick Clifton4-2/+2151
* configure: Regenerate. * po/bg.po: New Bulgarian translation.
2010-02-05 * emultempl/armelf.em (PARSE_AND_LIST_OPTIONS): Fix help forNick Clifton2-2/+7
--target1-abs and --target1-rel options.
2010-02-05 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,Joseph Myers3-272/+6
MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove. * Makefile.in: Regenerate.
2010-02-052010-02-05 Hui Zhu <teawater@gmail.com>Hui Zhu4-2/+60
* defs.h (gdb_bfd_errmsg): New extern. * exec.c (exec_file_attach): Change bfd_errmsg to gdb_bfd_errmsg. * utils.c (AMBIGUOUS_MESS1): New macro. (AMBIGUOUS_MESS2): New macro. (gdb_bfd_errmsg): New function.
2010-02-052010-02-04 Doug Kwan <dougkwan@google.com>Doug Kwan5-6/+21
PR 11247 * arm-reloc-property.cc (cstdio): Include. * configure.ac (targetobjs): Remove duplicates. * configure: Regenerate. * resolve.cc (Symbol_table::resolve): Explicit instantiate both big and little endian version for a given address size.
2010-02-05*** empty log message ***gdbadmin1-1/+1
2010-02-04daily updateAlan Modra1-1/+1
2010-02-04 * solib-svr4.c (enable_break): Add comment.Doug Evans2-0/+23
2010-02-04sim-model.c: Include sim-model.hMike Frysinger2-0/+5
2010-02-04sime-base.h: fix typos in STATE_CPU() examplesMike Frysinger2-3/+8
2010-02-04Fix prolog analyzerAnthony Green2-0/+7
2010-02-04gdbTom Tromey4-17/+21
* valops.c (search_struct_field): Account for value_embedded_offset. Fix check for virtual base past the end of the object. Use value_copy when making a slice of the value. gdb/testsuite * gdb.cp/virtbase.exp: Make test case names unique.