From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5476 invoked by alias); 22 Dec 2008 16:36:17 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 5372 invoked by uid 306); 22 Dec 2008 16:36:12 -0000 Date: Mon, 22 Dec 2008 16:36:00 -0000 Message-ID: <20081222163612.5356.qmail@sourceware.org> From: tromey@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] master: gdb X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 17ec07b78f28e400d2e839d732abc94a6cb3ae2f X-Git-Newrev: f2f03a7b81be57219bb881817eadbcdfa0ef22ca X-SW-Source: 2008-q4/txt/msg00230.txt.bz2 List-Id: The branch, master has been updated via f2f03a7b81be57219bb881817eadbcdfa0ef22ca (commit) via ee5c26141772582db315f9be9f472be50d450599 (commit) via 94923161f4aa9c75a27c8f56a68662cef6695713 (commit) via 6d5935ce5358685aebb1f3c0717208dfe2bef69c (commit) via 11f72c470e70fa4ee116167c5ce66d8b03894c2d (commit) via f89f82d14b41e6a3e1dc549d3bfe693c52033df6 (commit) via de7b18543b60d144347b0a5833eaa06d1142f508 (commit) via 01af8f937b250e70a9cbcaac1f4a8081c1310774 (commit) via 54cc2aff242becc8a9e18f996f312e037cec1b5e (commit) via a798d62bb189a020d54a39a585f389a9ee2af1f9 (commit) via 9ba29a21ccba2a171ace841b92b58bd36373ea8b (commit) via b5d1a9c84a4ed43405660142002ab3cbd7a7b474 (commit) via 5485f078197d2218972b39e59f281e3f7d68b6af (commit) via 894c4d3cfa4c945504748f7d367ba2d9066d0510 (commit) via 6fd0f5e0007de75291ffb509bb484edb668b5fec (commit) via 04ffa34daa9ec5479dc309ec31a1b06fc6d9ea10 (commit) via dbec8bd1c21893318cdf3a1f106e1f97c6cc9b7a (commit) via d7cfbc2bb9dbfbfdae0c37b81d1b7ec396a3460e (commit) via 2e5763547fb65a9eb02002fb66a27d21f82190fc (commit) via 3cfef389e20fdd1681cb58fa3d7106bc88123426 (commit) via 46cbdd91e10b097b82869b02c7ecac42b18111c3 (commit) via bb468712c6f3fdd9c273874e266a564152628c92 (commit) via 00e185f44528b17369b1a4d43b6b90ceb9d95303 (commit) via 2c38a42f5c1db3bfc6c4d92ea5e51e780eba109a (commit) via 372545781586f5d9cff43b2026d17c457c17fb31 (commit) via 2f9349947773bb6f823ab29b072332596e2d0586 (commit) via 6bf4fc327768f938a688a38419411c6bbd92f6da (commit) via 9862c7aa88705cd9df15d5b8939ab397c09752b7 (commit) via 9afa43afc50c92b23e53f9b9572745e71a0f62bc (commit) via 18d5bf202d84cb59601a5c187f92690507758b6c (commit) via d0690d9940e725aab88f7d6159217002dafab60f (commit) via e07cde57529cf055bc33fb56df9ed23e9f621ad2 (commit) via bfc8bde3ca5ed5e461bf3e34f7aa2247ad48fb79 (commit) via 695adac1eccc081d2ce31c319b71a0e3df946f5e (commit) via 1600c45345cb1439b677b98613d46be3aa85ba9e (commit) via c7aaa97e0a3c0cce11e0f6ba306d5da88c023f1d (commit) via e0f87abb998c458c5387b3ad8e0eeccd57044b28 (commit) via 25a94ecf3c8a5bddd5bad79ea9c57fa01b649f27 (commit) via c66188244654f137d2ceacce47b32695e4d7d8e9 (commit) via 96ca222c623d0d1542519d28294e6dc70d6ef249 (commit) via 4c1258818cbb8f5b63e00d23def80077c950e713 (commit) via 6e85aa313469d4d12a7002990bd0066c19380767 (commit) via 87f807a8ce30125c9fdcb1dabfad0c518e5594cd (commit) via 9fb1647d68ae93c6cd5ef3fb7ba296919a5d06b2 (commit) via 24988cb3edc09fa6c3d69947bd59ceaa127cab60 (commit) via bebc621bcc4373d65ff0dc26fda563411621f7e9 (commit) via 668893b18357f1ff5c2a52bbfcbe1db5ff51b74f (commit) via 5c896fb3370431afa9c7d98a82fae8178865a1c7 (commit) via 011395def22c679506b483de9aa8f68e02178fb7 (commit) via 645c834f57c6117eb381fd6c781d4de54918675f (commit) via 49b0e175117b79282d73a007e858747dce1352df (commit) via 9e3c9b86cf7b0713cf1480d0c6488f5051425f0a (commit) via 6b96c9a3f78b7128e397bcfde4bc6e5501344eba (commit) via 39f8b9ff6c5208a54f765b19b4a1738b9c237182 (commit) via a5a60c19055838698f459f03715ca1ba6a9ccfc1 (commit) via 772c9c1d0a70440295c6cf1e21be494c7b797ea8 (commit) via 25071386e8e8db4c93075249ef221c98f3298e9f (commit) via 159545d661ac64df03fb89d90db249ce48dc0a0b (commit) via 3ee2fe6b0783da17e2b0b58304fac41a9027945b (commit) via b7681b5e27511b6e714c253ab8a8381eaff0052d (commit) via 12827e561be554ec5830e0e5eb96d129c25afb71 (commit) via 994251cd6164ec4fac1927eb8dcb513eded00fb5 (commit) via ee45b7b81717a8f9b521a11b6d67377b2a12b5f1 (commit) via d2700f1acc567abf034abb6a683a8782478ca4af (commit) via 002164ed870bff432669d55d4456eeeccbd2857b (commit) via 2f3a28dafacdd658ddf59bb7312a32645dc91a2d (commit) via 377ea3da879c2ac8b4d33137ac8f40804feeb2da (commit) via 2b9474d6a76d1fcc9fde5198f48967f96b251a1a (commit) via a875acb4a45b744d5354f7aa4aea08be4f456357 (commit) via f196d76fae27a6d88832743e28c7a7bf9c8abff7 (commit) via ad845052245e1306347274daeed5874ca90f8c4c (commit) via ee42d69e173ca6f58594c3b16a1ce00bf6a5fffa (commit) via 56f6e3676173c9a41dc4ed227a8450550cec718c (commit) from 17ec07b78f28e400d2e839d732abc94a6cb3ae2f (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit f2f03a7b81be57219bb881817eadbcdfa0ef22ca Author: Tom Tromey Date: Mon Dec 22 14:20:59 2008 +0000 gdb * c-exp.y (ident_tokens): New global. (struct token) : New field. (tokentab3): Update. (tokentab2): Update. (yylex): Use ident_tokens. gdb/testsuite * gdb.cp/punctuator.exp: New file. commit ee5c26141772582db315f9be9f472be50d450599 Author: Tom Tromey Date: Mon Dec 22 14:06:25 2008 +0000 2008-12-22 Adam Denton PR gdb/8307: * environ.c (free_environ): Free e->vector. commit 94923161f4aa9c75a27c8f56a68662cef6695713 Author: Jan Kratochvil Date: Mon Dec 22 13:19:28 2008 +0000 gdb/ Fix memory double-free. * completer.c (line_completion_function): Clear LIST after called xfree. gdb/testsuite/ * gdb.base/completion.exp (Completing non-existing component): New test. commit 6d5935ce5358685aebb1f3c0717208dfe2bef69c Author: Joel Brobecker Date: Mon Dec 22 04:37:37 2008 +0000 * breakpoint.c (update_watchpoint): Adjust and extend the description of this function. Fix one error message accordingly. commit 11f72c470e70fa4ee116167c5ce66d8b03894c2d Author: Alan Modra Date: Mon Dec 22 00:00:05 2008 +0000 daily update commit f89f82d14b41e6a3e1dc549d3bfe693c52033df6 Author: gdbadmin Date: Mon Dec 22 00:00:03 2008 +0000 *** empty log message *** commit de7b18543b60d144347b0a5833eaa06d1142f508 Author: Jan Kratochvil Date: Sun Dec 21 17:38:55 2008 +0000 Fix for PR gdb/8648. * gdb.arch/ppc-fp.exp, gdb.arch/vsx-regs.exp, gdb.base/watchpoint-hw.c, gdb.gdbtk/browser.test, gdb.gdbtk/console.test, gdb.gdbtk/srcwin.test, gdb.gdbtk/srcwin2.test, gdb.gdbtk/srcwin3.test, gdb.gdbtk/windows.test, gdb.threads/tls2.c: Remove reference to bug-gdb@prep.ai.mit.edu . commit 01af8f937b250e70a9cbcaac1f4a8081c1310774 Author: Jan Kratochvil Date: Sun Dec 21 15:01:30 2008 +0000 gdb/ Fix hw watchpoints created before the inferior was started. * breakpoint.c (update_watchpoint): Convert the bp_watchpoint and bp_hardware_watchpoint types according to the current runtime state. gdb/testsuite/ * gdb.base/watchpoint-hw.exp, gdb.base/watchpoint-hw.c: New. commit 54cc2aff242becc8a9e18f996f312e037cec1b5e Author: Ralf Wildenhues Date: Sun Dec 21 12:45:51 2008 +0000 Add missing ChangeLog entries for my last commit. commit a798d62bb189a020d54a39a585f389a9ee2af1f9 Author: gdbadmin Date: Sun Dec 21 00:00:35 2008 +0000 *** empty log message *** commit 9ba29a21ccba2a171ace841b92b58bd36373ea8b Author: Alan Modra Date: Sun Dec 21 00:00:07 2008 +0000 daily update commit b5d1a9c84a4ed43405660142002ab3cbd7a7b474 Author: H.J. Lu Date: Sat Dec 20 17:40:51 2008 +0000 gas/ 2008-12-20 H.J. Lu * config/tc-i386.c (_i386_insn): Add swap_operand. (parse_insn): Handle ".s". (match_template): Handle swap_operand. * doc/c-i386.texi: Document .s suffix. gas/testsuite/ 2008-12-20 H.J. Lu * gas/i386/i386.exp: Run opts, opts-intel, sse2avx-opts, sse2avx-opts-intel, x86-64-opts, x86-64-opts-intel, x86-64-sse2avx-opts and x86-64-sse2avx-opts-intel. * gas/i386/opts.d: New. * gas/i386/opts-intel.d: Likewise. * gas/i386/opts.s: Likewise. * gas/i386/sse2avx-opts.d: Likewise. * gas/i386/sse2avx-opts-intel.d: Likewise. * gas/i386/x86-64-opts.d: Likewise. * gas/i386/x86-64-opts-intel.d: Likewise. * gas/i386/x86-64-opts.s: Likewise. * gas/i386/x86-64-sse2avx-opts.d: Likewise. * gas/i386/x86-64-sse2avx-opts-intel.d: Likewise. opcodes/ 2008-12-20 H.J. Lu * i386-dis.c (EbS): New. (EvS): Likewise. (EMS): Likewise. (EXqS): Likewise. (EXxS): Likewise. (b_swap_mode): Likewise. (v_swap_mode): Likewise. (q_swap_mode): Likewise. (x_swap_mode): Likewise. (v_mode): Updated. (w_mode): Likewise. (t_mode): Likewise. (xmm_mode): Likewise. (swap_operand): Likewise. (dis386): Use EbS on movB. Use EvS on moveS. (dis386_twobyte): Use EXxS on movapX. (prefix_table): Use EXxS on movups, movupd, movdqu, movdqa, vmovups, vmovdqu, vmovdqa. Use EMS and EXqS on movq. (vex_table): Use EXxS on vmovapX. (vex_len_table): Use EXqS on vmovq. (intel_operand_size): Handle b_swap_mode, v_swap_mode, q_swap_mode and x_swap_mode. (OP_E_register): Handle b_swap_mode and v_swap_mode. (OP_EM): Handle v_swap_mode. (OP_EX): x_swap_mode and q_swap_mode. * i386-gen.c (opcode_modifiers): Add S. * i386-opc.h (S): New. (Modrm): Updated. (i386_opcode_modifier): Add s. * i386-opc.tbl: Add S to movapd, movaps, movdqa, movdqu, movq, movupd, movups, vmovapd, vmovaps, vmovdqa, vmovdqu and vmovq. * i386-tbl.h: Regenerated. commit 5485f078197d2218972b39e59f281e3f7d68b6af Author: Hans-Peter Nilsson Date: Sat Dec 20 00:26:35 2008 +0000 * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE. (cris_reloc_map): Similarly. (cris_elf_relocate_section, cris_elf_gc_sweep_hook) (cris_elf_check_relocs): Handle R_CRIS_32_IE. * reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE. * bfd-in2.h, libbfd.h: Regenerate. commit 894c4d3cfa4c945504748f7d367ba2d9066d0510 Author: Hans-Peter Nilsson Date: Sat Dec 20 00:24:16 2008 +0000 * cris.h (R_CRIS_32_IE): New relocation. commit 6fd0f5e0007de75291ffb509bb484edb668b5fec Author: gdbadmin Date: Sat Dec 20 00:00:33 2008 +0000 *** empty log message *** commit 04ffa34daa9ec5479dc309ec31a1b06fc6d9ea10 Author: Alan Modra Date: Sat Dec 20 00:00:05 2008 +0000 daily update commit dbec8bd1c21893318cdf3a1f106e1f97c6cc9b7a Author: gdbadmin Date: Fri Dec 19 00:00:33 2008 +0000 *** empty log message *** commit d7cfbc2bb9dbfbfdae0c37b81d1b7ec396a3460e Author: Alan Modra Date: Fri Dec 19 00:00:05 2008 +0000 daily update commit 2e5763547fb65a9eb02002fb66a27d21f82190fc Author: H.J. Lu Date: Thu Dec 18 22:47:32 2008 +0000 gas/testsuite/ 2008-12-18 H.J. Lu * gas/i386/intel.d: Remove trailing white spaces after nop. * gas/i386/intelpic.d: Likewise. * gas/i386/nops16-1.d: Likewise. * gas/i386/nops-1-i686.d: Likewise. * gas/i386/nops-3.d: Likewise. * gas/i386/nops-3-i386.d: Likewise. * gas/i386/nops-3-i686.d: Likewise. * gas/i386/nops-4.d: Likewise. * gas/i386/nops-4-i386.d: Likewise. * gas/i386/nops-4-i686.d: Likewise. * gas/i386/opcode.d: Likewise. * gas/i386/opcode-suffix.d: Likewise. * gas/i386/reloc.d: Likewise. * gas/i386/tlsnopic.d: Likewise. * gas/i386/x86-64-nops-1.d: Likewise. * gas/i386/x86-64-nops-1-nocona.d: Likewise. * gas/i386/x86-64-nops-2.d: Likewise. * gas/i386/x86-64-nops-3.d: Likewise. * gas/i386/x86-64-nops-4-core2.d: Likewise. * gas/i386/x86-64-nops-4.d: Likewise. * gas/i386/x86-64-nops-4-k8.d: Likewise. * gas/i386/x86-64-opcode.d: Likewise. ld/testsuite/ 2008-12-18 H.J. Lu * ld-i386/tlsld1.dd: Remove trailing white spaces after nop. opcodes/ 2008-12-18 H.J. Lu * i386-dis.c (mnemonicendp): New. (op): Likewise. (print_insn): Use mnemonicendp. (OP_3DNowSuffix): Likewise. (CMP_Fixup): Likewise. (CMPXCHG8B_Fixup): Likewise. (CRC32_Fixup): Likewise. (OP_DREX_FCMP): Likewise. (OP_DREX_ICMP): Likewise. (VZERO_Fixup): Likewise. (VCMP_Fixup): Likewise. (PCLMUL_Fixup): Likewise. (VPERMIL2_Fixup): Likewise. (MOVBE_Fixup): Likewise. (putop): Update mnemonicendp. (oappend): Use stpcpy. (simd_cmp_op): Changed to struct op. (vex_cmp_op): Likewise. (pclmul_op): Likewise. (vpermil2_op): Likewise. commit 3cfef389e20fdd1681cb58fa3d7106bc88123426 Author: Ralf Wildenhues Date: Thu Dec 18 21:36:44 2008 +0000 Backport link test fix from upstream Libtool: * libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): Add cache variables to tests that require the linker to work. For shlibpath_overrides_runpath, this also changes the semantics to let the result from the C compiler take precedence. compiler take precedence. binutils/ * configure: Regenerate. opcodes/ * configure: Regenerate. bfd/ * configure: Regenerate. gas/ * configure: Regenerate. gprof/ * configure: Regenerate. ld/ * configure: Regenerate. commit 46cbdd91e10b097b82869b02c7ecac42b18111c3 Author: Pedro Alves Date: Thu Dec 18 21:35:22 2008 +0000 * linux-nat.c (linux_child_follow_fork): If following the child, and not detaching the parent, also add the child fork to the fork list. * linux-fork.c (linux_fork_context): Remove dead error call. Assert that the incoming newfp argument is not null. Do not add a new fork for inferior_ptid. Assert that there is one already. commit bb468712c6f3fdd9c273874e266a564152628c92 Author: DJ Delorie Date: Thu Dec 18 15:56:12 2008 +0000 merge from gcc commit 00e185f44528b17369b1a4d43b6b90ceb9d95303 Author: Ben Elliston Date: Thu Dec 18 03:26:46 2008 +0000 * config.sub, config.guess: Update from upstream sources. commit 2c38a42f5c1db3bfc6c4d92ea5e51e780eba109a Author: gdbadmin Date: Thu Dec 18 00:00:32 2008 +0000 *** empty log message *** commit 372545781586f5d9cff43b2026d17c457c17fb31 Author: Alan Modra Date: Thu Dec 18 00:00:05 2008 +0000 daily update commit 2f9349947773bb6f823ab29b072332596e2d0586 Author: Jeff Johnston Date: Wed Dec 17 23:16:07 2008 +0000 2008-12-17 Jeff Johnston * COPYING.NEWLIB: Updated. * COPYING.LIBGLOSS: Ditto. commit 6bf4fc327768f938a688a38419411c6bbd92f6da Author: Hans-Peter Nilsson Date: Wed Dec 17 02:31:16 2008 +0000 (cris_elf_relocate_section) : Add missing gate h != NULL for h->def_regular test. commit 9862c7aa88705cd9df15d5b8939ab397c09752b7 Author: Hans-Peter Nilsson Date: Wed Dec 17 02:14:30 2008 +0000 * elf32-cris.c (elf_cris_copy_indirect_symbol): Return without action for symbols other than bfd_link_hash_indirect. commit 9afa43afc50c92b23e53f9b9572745e71a0f62bc Author: Alan Modra Date: Wed Dec 17 00:00:05 2008 +0000 daily update commit 18d5bf202d84cb59601a5c187f92690507758b6c Author: gdbadmin Date: Wed Dec 17 00:00:03 2008 +0000 *** empty log message *** commit d0690d9940e725aab88f7d6159217002dafab60f Author: Denis Pilat Date: Tue Dec 16 13:15:50 2008 +0000 2008-12-16 Christophe Lyon * gdb.base/expand-psymtabs.c: Insert code in foo so that the compiler actually generate code at the expected line number. commit e07cde57529cf055bc33fb56df9ed23e9f621ad2 Author: Paolo Bonzini Date: Tue Dec 16 12:31:18 2008 +0000 2008-12-16 Paolo Bonzini Sync with GCC: 2008-12-12 Sebastian Pop * configure.ac (ppllibs): Add by default the lib flags. * configure: Regenerate. 2008-12-04 Jack Howarth * configure.ac: Add double brackets on darwin[912]. * configure: Regenerate. 2008-12-02 Jack Howarth * configure.ac: Expand to darwin10 and later. * configure: Regenerate. commit bfc8bde3ca5ed5e461bf3e34f7aa2247ad48fb79 Author: Tristan Gingold Date: Tue Dec 16 11:15:57 2008 +0000 2008-12-16 Tristan Gingold * inflow.c: Remove old_sigio, handle_sigio, old_fcntl_flags, set_sigio_trap, clear_sigio_trap definitions. * inferior.h: Remove set_sigio_trap and clear_sigio_trap declarations. * inf-ptrace.c (inf_ptrace_wait): Remove call to set_sigio_trap and clear_sigio_trap. * inf-ttrace.c (inf_ttrace_wait): Ditto. * linux-nat.c (linux_nat_wait): Ditto. * spu-linux-nat.c (spu_child_wait): Ditto. * rs6000-nat.c (rs6000_wait): Ditto. * target.c: Remove target_activity_function and target_activity_fd. * target.h: Remove target_activity_function and target_activity_fd declarations. commit 695adac1eccc081d2ce31c319b71a0e3df946f5e Author: Joel Brobecker Date: Tue Dec 16 06:14:00 2008 +0000 * gdb.texinfo (Omissions from Ada): Add missing GDB prompt in examples. (Additions to Ada): Likewise. Add the missing opening and closing parenthesis of the GDB prompt in one of the examples. commit 1600c45345cb1439b677b98613d46be3aa85ba9e Author: Paul Pluzhnikov Date: Tue Dec 16 05:06:02 2008 +0000 2008-12-15 Paul Pluzhnikov * dbxread.c (read_ofile_symtab): Sign-extend 32-bit N_LSYM and N_PSYM STABS values for 64-bit GDB. commit c7aaa97e0a3c0cce11e0f6ba306d5da88c023f1d Author: gdbadmin Date: Tue Dec 16 00:00:33 2008 +0000 *** empty log message *** commit e0f87abb998c458c5387b3ad8e0eeccd57044b28 Author: Alan Modra Date: Tue Dec 16 00:00:05 2008 +0000 daily update commit 25a94ecf3c8a5bddd5bad79ea9c57fa01b649f27 Author: Joel Sherrill Date: Mon Dec 15 19:48:06 2008 +0000 2008-12-15 Joel Sherrill * ppc-instructions, ppc-spr-table: Add ability to read tbrl and tbru special registers. commit c66188244654f137d2ceacce47b32695e4d7d8e9 Author: Richard Earnshaw Date: Mon Dec 15 17:24:13 2008 +0000 opcodes: * arm-dis.c (coprocessor_opcodes): Disassemble VFP instructions using unified syntax. gas/testsuite: * gas/arm/group-reloc-ldc.d: Disassembly of VFP instructions now uses unified syntax. * gas/arm/vfp-non-overlap.d: Likewise. * gas/arm/vfp-neon-syntax.d: Likewise. * gas/arm/vfp-neon-syntax_t2.d: Likewise. * gas/arm/vfp1.d: Likewise. * gas/arm/vfp1_t2.d: Likewise. * gas/arm/vfp1xD.d: Likewise. * gas/arm/vfp1xD_t2.d: Likewise. * gas/arm/vfp2.d: Likewise. * gas/arm/vfp2_t2.d: Likewise. * gas/arm/vfpv3-32drs.d: Likewise. * gas/arm/vfpv3-const-conv.d: Likewise. ld/testsuite: * ld-arm/vfp11-fix-scalar.d: Disassembly of VFP instructions now uses unified syntax. * ld-arm/vfp11-fix-vector.d: Likewise. commit 96ca222c623d0d1542519d28294e6dc70d6ef249 Author: Jie Zhang Date: Mon Dec 15 13:04:56 2008 +0000 * gdb.base/consecutive.exp: Don't use global in gdb_expect. commit 4c1258818cbb8f5b63e00d23def80077c950e713 Author: Tristan Gingold Date: Mon Dec 15 11:32:08 2008 +0000 2008-12-15 Tristan Gingold * dwarf2expr.c (execute_stack_op): Handle DW_OP_swap. commit 6e85aa313469d4d12a7002990bd0066c19380767 Author: Jerome Guitton Date: Mon Dec 15 10:40:27 2008 +0000 * ada-lang.c (ada_value_slice_ptr): Rename to... (ada_value_slice_from_ptr): ... this. Return a lazy value instead of a reference. Update comment. (ada_value_struct_elt): Ditto if arg is a pointer or a reference. Update comment as well. (ada_evaluate_subexp): Update use of ada_value_slice_ptr. commit 87f807a8ce30125c9fdcb1dabfad0c518e5594cd Author: Hans-Peter Nilsson Date: Mon Dec 15 03:17:49 2008 +0000 * elf32-cris.c (elf_cris_copy_indirect_symbol): New function. (elf_backend_copy_indirect_symbol): Define to above. commit 9fb1647d68ae93c6cd5ef3fb7ba296919a5d06b2 Author: Hans-Peter Nilsson Date: Mon Dec 15 02:32:22 2008 +0000 * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member r_type. Fix formatting. (cris_elf_relocate_section) : Also break early if the symbol doesn't get emitted as a dynamic one. (cris_elf_check_relocs) : Fork from PCREL relocs code and simplify; don't fall through. : Simplify for pcrel only. For non-local or overridable symbols in a DSO, always keep count of relocs, not just when -Bsymbolic. Don't emit message nor mark as TEXTREL here. (elf_cris_discard_excess_dso_dynamics): Emit warning and mark as TEXTREL here, if there are nondiscarded pcrel relocs. commit 24988cb3edc09fa6c3d69947bd59ceaa127cab60 Author: Hans-Peter Nilsson Date: Mon Dec 15 02:10:26 2008 +0000 * elf32-cris.c (elf_cris_got_elt_size) : Initialize using ibfd, not abfd. commit bebc621bcc4373d65ff0dc26fda563411621f7e9 Author: Alan Modra Date: Mon Dec 15 00:00:45 2008 +0000 daily update commit 668893b18357f1ff5c2a52bbfcbe1db5ff51b74f Author: gdbadmin Date: Mon Dec 15 00:00:32 2008 +0000 *** empty log message *** commit 5c896fb3370431afa9c7d98a82fae8178865a1c7 Author: Doug Evans Date: Sun Dec 14 20:51:04 2008 +0000 * utils.c (xmalloc,xcalloc,xstrdup): New fns. * server.h (ATTR_MALLOC): New macro. (xmalloc,xcalloc,xstrdup): Declare. * hostio.c: Replace malloc,calloc,strdup with xmalloc,xcalloc,xstrdup. * inferiors.c: Ditto. * linux-low.c: Ditto. * mem-break.c: Ditto. * regcache.c: Ditto. * remote-utils.c: Ditto. * server.c: Ditto. * target.c: Ditto. * win32-low.c: Ditto. commit 011395def22c679506b483de9aa8f68e02178fb7 Author: Joel Brobecker Date: Sun Dec 14 18:30:25 2008 +0000 * gdb.texinfo (Omissions from Ada): Remove incorrect documentation about the result of 'Address not being of type System.Address. This problem has been fixed a while ago. commit 645c834f57c6117eb381fd6c781d4de54918675f Author: gdbadmin Date: Sun Dec 14 00:00:33 2008 +0000 *** empty log message *** commit 49b0e175117b79282d73a007e858747dce1352df Author: Alan Modra Date: Sun Dec 14 00:00:05 2008 +0000 daily update commit 9e3c9b86cf7b0713cf1480d0c6488f5051425f0a Author: Kevin Buettner Date: Sat Dec 13 00:39:52 2008 +0000 * gnu-v3-abi.c (vtable_ptrdiff_type): New function. (gnuv3_decode_method_ptr, gnuv3_print_method_ptr) (gnuv3_method_ptr_to_value): Use a better approximation for `ptrdiff_t' instead of `long'. * m32c-tdep.c (m32c_gdbarch_init): Call set_gdbarch_vbit_in_delta(). (m32c_push_dummy_call): Dereference pointer type. commit 6b96c9a3f78b7128e397bcfde4bc6e5501344eba Author: gdbadmin Date: Sat Dec 13 00:00:33 2008 +0000 *** empty log message *** commit 39f8b9ff6c5208a54f765b19b4a1738b9c237182 Author: Alan Modra Date: Sat Dec 13 00:00:09 2008 +0000 daily update commit a5a60c19055838698f459f03715ca1ba6a9ccfc1 Author: Doug Evans Date: Fri Dec 12 23:14:28 2008 +0000 * linux-low.c (linux_wait_for_process): Don't clobber current_inferior in debugging printf. commit 772c9c1d0a70440295c6cf1e21be494c7b797ea8 Author: Doug Evans Date: Fri Dec 12 23:13:20 2008 +0000 * linux-low.c (handle_extended_wait): Simplify, use my_waitpid. commit 25071386e8e8db4c93075249ef221c98f3298e9f Author: Tom Tromey Date: Fri Dec 12 17:58:47 2008 +0000 gdb PR cli/2563: * cli/cli-decode.c (delete_cmd): Add hook-related out parameters. (add_cmd): Update. Install hooks into new command. (add_alias_cmd): Update. gdb/testsuite * gdb.base/commands.exp (redefine_hook_test): New proc. Call it. commit 159545d661ac64df03fb89d90db249ce48dc0a0b Author: Tom Tromey Date: Fri Dec 12 17:03:36 2008 +0000 gdb * macroexp.c (get_pp_number): Require digit after leading ".". Correctly handle suffixes. gdb/testsuite * gdb.base/macscp.exp: New regression test. commit 3ee2fe6b0783da17e2b0b58304fac41a9027945b Author: Tom Tromey Date: Fri Dec 12 16:58:45 2008 +0000 * macrocmd.c (macro_define_command): Skip whitespace after macro name. (print_one_macro): Print space after macro name. commit b7681b5e27511b6e714c253ab8a8381eaff0052d Author: Pedro Alves Date: Fri Dec 12 14:20:48 2008 +0000 * infrun.c (handle_inferior_event): Correctly tag non-executing threads in multi-process. (normal_stop): Correctly tag stopped threads in multi-process. commit 12827e561be554ec5830e0e5eb96d129c25afb71 Author: Pedro Alves Date: Fri Dec 12 13:45:41 2008 +0000 * remote.c (extended_remote_mourn_1): Always call generic_mourn_inferior. commit 994251cd6164ec4fac1927eb8dcb513eded00fb5 Author: Pedro Alves Date: Fri Dec 12 01:08:28 2008 +0000 * remote.c (remote_detach_1): Don't delete the inferior here. (process_stop_reply): Ditto. (extended_remote_kill): Ditto. commit ee45b7b81717a8f9b521a11b6d67377b2a12b5f1 Author: Pedro Alves Date: Fri Dec 12 00:12:02 2008 +0000 * remote.c (read_ptid): If we don't know about any inferior yet, use the pid of magic_null_ptid. (remote_start_remote): In the non-stop mode case, don't set inferior_ptid to magic_null_ptid here. commit d2700f1acc567abf034abb6a683a8782478ca4af Author: gdbadmin Date: Fri Dec 12 00:00:33 2008 +0000 *** empty log message *** commit 002164ed870bff432669d55d4456eeeccbd2857b Author: Alan Modra Date: Fri Dec 12 00:00:05 2008 +0000 daily update commit 2f3a28dafacdd658ddf59bb7312a32645dc91a2d Author: Pedro Alves Date: Thu Dec 11 20:34:18 2008 +0000 * infcmd.c (step_1): Use step_once in the synchronous case too. (step_1_continuation): Wrap line. (step_once): Adjust comment. Only install the continuation in async mode. commit 377ea3da879c2ac8b4d33137ac8f40804feeb2da Author: Pedro Alves Date: Thu Dec 11 19:19:11 2008 +0000 * infrun.c (handle_inferior_event): On a TARGET_WAITKIND_EXITED or TARGET_WAITKIND_SIGNALLED, switch inferior_ptid to the event ptid. * linux_thread_db.c (thread_db_wait): On a TARGET_WAITKIND_EXITED or TARGET_WAITKIND_SIGNALLED, return the ptid the beneath target returned. * inf-ptrace.c (inf_ptrace_wait): Return inferior_ptid instead of minus_one_ptid if the inferior disappeared. * rs6000-nat.c (rs6000_wait): Likewise. * spu-linux-nat.c (spu_child_wait): Likewise. commit 2b9474d6a76d1fcc9fde5198f48967f96b251a1a Author: Tom Tromey Date: Thu Dec 11 18:30:26 2008 +0000 gdb PR macros/2564: * c-exp.y (macro_original_text, expansion_obstack, expression_macro_scope): New globals. (scan_macro_expansion): New function. (scanning_macro_expansion): Likewise. (finished_macro_expansion): Likewise. (scan_macro_cleanup): Likewise. (c_parse): Find macro scope. Initialize obstack. * c-lang.h (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, expression_macro_lookup_func, expression_macro_lookup_baton): Remove. * c-lang.c (scan_macro_expansion, scanning_macro_expansion, finished_macro_expansion, expression_macro_lookup_func, expression_macro_lookup_baton): Remove. (macro_original_text, macro_expanded_text, c_preprocess_and_parse): Remove. (c_language_defn, cplus_language_defn, asm_language_defn, minimal_language_defn): Use c_parse. gdb/testsuite * gdb.base/macscp.exp: Print "address.addr". * gdb.base/macscp1.c (struct outer): New struct. (address): New global. commit a875acb4a45b744d5354f7aa4aea08be4f456357 Author: Alan Modra Date: Thu Dec 11 10:14:40 2008 +0000 PR 7041 * elf64-ppc.c (func_desc_adjust): Correct logic making fake function descriptors. Similarly correct making function descriptors dynamic. commit f196d76fae27a6d88832743e28c7a7bf9c8abff7 Author: gdbadmin Date: Thu Dec 11 00:00:33 2008 +0000 *** empty log message *** commit ad845052245e1306347274daeed5874ca90f8c4c Author: Alan Modra Date: Thu Dec 11 00:00:09 2008 +0000 daily update commit ee42d69e173ca6f58594c3b16a1ce00bf6a5fffa Author: DJ Delorie Date: Wed Dec 10 23:28:15 2008 +0000 merge from gcc commit 56f6e3676173c9a41dc4ed227a8450550cec718c Author: Pedro Alves Date: Wed Dec 10 21:32:14 2008 +0000 * infcmd.c (until_next_command, finish_backward): Use get_frame_pc instead of read_pc. ----------------------------------------------------------------------- Summary of changes: COPYING.LIBGLOSS | 24 + COPYING.NEWLIB | 129 + ChangeLog | 38 + bfd/ChangeLog | 48 + bfd/bfd-in2.h | 1 + bfd/configure | 93 +- bfd/elf32-cris.c | 273 +- bfd/elf64-ppc.c | 4 +- bfd/libbfd.h | 1 + bfd/reloc.c | 2 + bfd/version.h | 2 +- config.guess | 4 +- config.sub | 10 +- configure | 4 +- configure.ac | 4 +- gdb/ChangeLog | 171 + gdb/ada-lang.c | 25 +- gdb/breakpoint.c | 36 +- gdb/c-exp.y | 269 +- gdb/c-lang.c | 113 +- gdb/c-lang.h | 7 - gdb/cli/cli-decode.c | 48 +- gdb/completer.c | 4 +- gdb/dbxread.c | 13 + gdb/doc/ChangeLog | 13 + gdb/doc/gdb.texinfo | 31 +- gdb/dwarf2expr.c | 14 + gdb/environ.c | 1 + gdb/gdbserver/ChangeLog | 22 + gdb/gdbserver/hostio.c | 6 +- gdb/gdbserver/inferiors.c | 8 +- gdb/gdbserver/linux-low.c | 21 +- gdb/gdbserver/mem-break.c | 2 +- gdb/gdbserver/regcache.c | 4 +- gdb/gdbserver/remote-utils.c | 12 +- gdb/gdbserver/server.c | 32 +- gdb/gdbserver/server.h | 11 + gdb/gdbserver/target.c | 4 +- gdb/gdbserver/utils.c | 57 + gdb/gdbserver/win32-low.c | 2 +- gdb/gnu-v3-abi.c | 16 +- gdb/inf-ptrace.c | 4 +- gdb/inf-ttrace.c | 2 - gdb/infcmd.c | 119 +- gdb/inferior.h | 4 - gdb/inflow.c | 62 - gdb/infrun.c | 46 +- gdb/linux-fork.c | 9 +- gdb/linux-nat.c | 12 +- gdb/linux-thread-db.c | 4 +- gdb/m32c-tdep.c | 14 + gdb/macrocmd.c | 10 +- gdb/macroexp.c | 18 +- gdb/remote.c | 64 +- gdb/rs6000-nat.c | 4 +- gdb/spu-linux-nat.c | 4 +- gdb/target.c | 4 - gdb/target.h | 9 - gdb/testsuite/ChangeLog | 44 + gdb/testsuite/gdb.arch/ppc-fp.exp | 3 - gdb/testsuite/gdb.arch/vsx-regs.exp | 3 - gdb/testsuite/gdb.base/commands.exp | 35 + gdb/testsuite/gdb.base/completion.exp | 18 + gdb/testsuite/gdb.base/consecutive.exp | 5 - gdb/testsuite/gdb.base/expand-psymtabs.c | 7 +- gdb/testsuite/gdb.base/macscp.exp | 12 + gdb/testsuite/gdb.base/macscp1.c | 14 + .../{expand-psymtabs.c => watchpoint-hw.c} | 21 +- gdb/testsuite/gdb.base/watchpoint-hw.exp | 52 + gdb/testsuite/gdb.cp/punctuator.exp | 52 + gdb/testsuite/gdb.gdbtk/browser.test | 3 - gdb/testsuite/gdb.gdbtk/console.test | 3 - gdb/testsuite/gdb.gdbtk/srcwin.test | 3 - gdb/testsuite/gdb.gdbtk/srcwin2.test | 3 - gdb/testsuite/gdb.gdbtk/srcwin3.test | 3 - gdb/testsuite/gdb.gdbtk/windows.test | 3 - gdb/testsuite/gdb.threads/tls2.c | 5 +- gdb/version.in | 2 +- include/ChangeLog | 5 + include/demangle.h | 13 + include/elf/ChangeLog | 4 + include/elf/cris.h | 5 + libiberty/ChangeLog | 18 + libiberty/cp-demangle.c | 41 +- libtool.m4 | 85 +- opcodes/ChangeLog | 70 + opcodes/arm-dis.c | 183 +- opcodes/configure | 93 +- opcodes/i386-dis.c | 253 +- opcodes/i386-gen.c | 1 + opcodes/i386-opc.h | 5 +- opcodes/i386-opc.tbl | 56 +- opcodes/i386-tbl.h |14852 ++++++++++---------- sim/ppc/ChangeLog | 5 + sim/ppc/ppc-instructions | 8 + sim/ppc/ppc-spr-table | 2 + 96 files changed, 9523 insertions(+), 8435 deletions(-) copy gdb/testsuite/gdb.base/{expand-psymtabs.c => watchpoint-hw.c} (79%) create mode 100644 gdb/testsuite/gdb.base/watchpoint-hw.exp create mode 100644 gdb/testsuite/gdb.cp/punctuator.exp First 500 lines of diff: diff --git a/COPYING.LIBGLOSS b/COPYING.LIBGLOSS index bc64c24..b4d657e 100644 --- a/COPYING.LIBGLOSS +++ b/COPYING.LIBGLOSS @@ -204,3 +204,27 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +(12) Jon Beniston (only lm32-* targets) + + Contributed by Jon Beniston + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB index 24c34cb..b3cccd8 100644 --- a/COPYING.NEWLIB +++ b/COPYING.NEWLIB @@ -637,4 +637,133 @@ SUCH DAMAGE. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +(30) - Alex Tatmanjants (targets using libc/posix) + Copyright (c) 1995 Alex Tatmanjants + at Electronni Visti IA, Kiev, Ukraine. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +(31) - M. Warner Losh (targets using libc/posix) + + Copyright (c) 1998, M. Warner Losh + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +(32) - Andrey A. Chernov (targets using libc/posix) + + Copyright (C) 1996 by Andrey A. Chernov, Moscow, Russia. + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + +(33) - Daniel Eischen (targets using libc/posix) + + Copyright (c) 2001 Daniel Eischen . + All rights reserved. + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. + + +(34) - Jon Beniston (only lm32-* targets) + + Contributed by Jon Beniston + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + SUCH DAMAGE. diff --git a/ChangeLog b/ChangeLog index 382c2ba..9ee88bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,41 @@ +2008-12-18 Ralf Wildenhues + + Backport link test fix from upstream Libtool: + + * libltdl.m4 (_LT_SYS_DYNAMIC_LINKER, _LT_LINKER_SHLIBS): + Add cache variables to tests that require the linker to work. + For shlibpath_overrides_runpath, this also changes the semantics + to let the result from the C compiler take precedence. + compiler take precedence. + +2008-12-02 Ben Elliston + + * config.sub, config.guess: Update from upstream sources. + +2008-12-17 Jeff Johnston + + * COPYING.NEWLIB: Updated. + * COPYING.LIBGLOSS: Ditto. + +2008-12-16 Paolo Bonzini + + Sync with GCC: + + 2008-12-12 Sebastian Pop + + * configure.ac (ppllibs): Add by default the lib flags. + * configure: Regenerate. + + 2008-12-04 Jack Howarth + + * configure.ac: Add double brackets on darwin[912]. + * configure: Regenerate. + + 2008-12-02 Jack Howarth + + * configure.ac: Expand to darwin10 and later. + * configure: Regenerate. + 2008-12-02 Andreas Schwab * Makefile.def: configure-target-boehm-gc depends on diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 704a418..6cd350f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,51 @@ +2008-12-20 Hans-Peter Nilsson + + * elf32-cris.c (cris_elf_howto_table): Add entry for R_CRIS_32_IE. + (cris_reloc_map): Similarly. + (cris_elf_relocate_section, cris_elf_gc_sweep_hook) + (cris_elf_check_relocs): Handle R_CRIS_32_IE. + * reloc.c (bfd_reloc_code_type): Add entry for R_CRIS_32_IE. + * bfd-in2.h, libbfd.h: Regenerate. + +2008-12-18 Ralf Wildenhues + + * configure: Regenerate. + +2008-12-17 Hans-Peter Nilsson + + * elf32-cris.c (elf_cris_copy_indirect_symbol): Return without + action for symbols other than bfd_link_hash_indirect. + (cris_elf_relocate_section) : Add missing + gate h != NULL for h->def_regular test. + +2008-12-15 Hans-Peter Nilsson + + * elf32-cris.c (elf_cris_copy_indirect_symbol): New function. + (elf_backend_copy_indirect_symbol): Define to above. + + * elf32-cris.c (struct elf_cris_pcrel_relocs_copied): New member + r_type. Fix formatting. + (cris_elf_relocate_section) + : Also break early if the symbol doesn't get + emitted as a dynamic one. + (cris_elf_check_relocs) : Fork + from PCREL relocs code and simplify; don't fall through. + : Simplify for + pcrel only. For non-local or overridable symbols in a DSO, always + keep count of relocs, not just when -Bsymbolic. Don't emit + message nor mark as TEXTREL here. + (elf_cris_discard_excess_dso_dynamics): Emit warning and mark as + TEXTREL here, if there are nondiscarded pcrel relocs. + + * elf32-cris.c (elf_cris_got_elt_size) : Initialize + using ibfd, not abfd. + +2008-12-11 Alan Modra + + PR 7041 + * elf64-ppc.c (func_desc_adjust): Correct logic making fake function + descriptors. Similarly correct making function descriptors dynamic. + 2008-12-10 Alan Modra * elf32-spu.h (struct spu_elf_params): Add num_regions. diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index b1451c9..37c24b7 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -4213,6 +4213,7 @@ This is the 5 bits of a value. */ BFD_RELOC_CRIS_32_TPREL, BFD_RELOC_CRIS_16_TPREL, BFD_RELOC_CRIS_DTPMOD, + BFD_RELOC_CRIS_32_IE, /* Intel i860 Relocations. */ BFD_RELOC_860_COPY, diff --git a/bfd/configure b/bfd/configure index 8ff1234..0a1ce6c 100755 --- a/bfd/configure +++ b/bfd/configure @@ -9824,44 +9824,50 @@ x|xyes) # to ld, don't add -lc before -lgcc. echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 - $RM conftest* - echo "$lt_simple_compile_test_code" > conftest.$ac_ext +if test "${lt_cv_archive_cmds_need_lc+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext - if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then - soname=conftest - lib=conftest - libobjs=conftest.$ac_objext - deplibs= - wl=$lt_prog_compiler_wl - pic_flag=$lt_prog_compiler_pic - compiler_flags=-v - linker_flags=-v - verstring= - output_objdir=. - libname=conftest - lt_save_allow_undefined_flag=$allow_undefined_flag - allow_undefined_flag= - if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext + deplibs= + wl=$lt_prog_compiler_wl + pic_flag=$lt_prog_compiler_pic + compiler_flags=-v + linker_flags=-v + verstring= + output_objdir=. + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= + if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } - then - archive_cmds_need_lc=no - else - archive_cmds_need_lc=yes - fi - allow_undefined_flag=$lt_save_allow_undefined_flag - else - cat conftest.err 1>&5 - fi - $RM conftest* - echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 -echo "${ECHO_T}$archive_cmds_need_lc" >&6 + then + lt_cv_archive_cmds_need_lc=no + else + lt_cv_archive_cmds_need_lc=yes + fi + allow_undefined_flag=$lt_save_allow_undefined_flag + else + cat conftest.err 1>&5 + fi + $RM conftest* + +fi +echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 +echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 + archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi @@ -10441,12 +10447,17 @@ linux* | k*bsd*-gnu) finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no + # Some binutils ld are patched to set DT_RUNPATH - save_LDFLAGS=$LDFLAGS - save_libdir=$libdir - eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ - LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" - cat >conftest.$ac_ext <<_ACEOF + if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then + echo $ECHO_N "(cached) $ECHO_C" >&6 +else + lt_cv_shlibpath_overrides_runpath=no + save_LDFLAGS=$LDFLAGS + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" + cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext @@ -10484,7 +10495,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then - shlibpath_overrides_runpath=yes + lt_cv_shlibpath_overrides_runpath=yes fi else @@ -10494,8 +10505,12 @@ sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext - LDFLAGS=$save_LDFLAGS - libdir=$save_libdir + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +fi + + shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install @@ -11455,7 +11470,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11458 "configure" +#line 11473 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11551,7 +11566,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11554 "configure" +#line 11569 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/bfd/elf32-cris.c b/bfd/elf32-cris.c index 72916f2..c297689 100644 --- a/bfd/elf32-cris.c +++ b/bfd/elf32-cris.c @@ -436,7 +436,8 @@ static reloc_howto_type cris_elf_howto_table [] = TLSHOWTO16S (R_CRIS_16_GOT_TPREL), TLSHOWTO32 (R_CRIS_32_TPREL), TLSHOWTO16S (R_CRIS_16_TPREL), - TLSHOWTO32 (R_CRIS_DTPMOD) + TLSHOWTO32 (R_CRIS_DTPMOD), + TLSHOWTO32 (R_CRIS_32_IE) }; /* Map BFD reloc types to CRIS ELF reloc types. */ @@ -479,7 +480,8 @@ static const struct cris_reloc_map cris_reloc_map [] = { BFD_RELOC_CRIS_16_GOT_TPREL, R_CRIS_16_GOT_TPREL }, { BFD_RELOC_CRIS_32_TPREL, R_CRIS_32_TPREL }, { BFD_RELOC_CRIS_16_TPREL, R_CRIS_16_TPREL }, - { BFD_RELOC_CRIS_DTPMOD, R_CRIS_DTPMOD } + { BFD_RELOC_CRIS_DTPMOD, R_CRIS_DTPMOD }, + { BFD_RELOC_CRIS_32_IE, R_CRIS_32_IE } }; static reloc_howto_type * @@ -794,10 +796,15 @@ struct elf_cris_pcrel_relocs_copied { /* Next section. */ struct elf_cris_pcrel_relocs_copied *next; + /* A section in dynobj. */ asection *section; + /* Number of relocs copied in this section. */ bfd_size_type count; + + /* Example of reloc being copied, for message. */ + enum elf_cris_reloc_type r_type; }; /* CRIS ELF linker hash entry. */ @@ -1474,7 +1481,8 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section, case R_CRIS_16_PCREL: case R_CRIS_32_PCREL: /* If the symbol was local, we need no shlib-specific handling. */ - if (h == NULL || ELF_ST_VISIBILITY (h->other) != STV_DEFAULT) + if (h == NULL || ELF_ST_VISIBILITY (h->other) != STV_DEFAULT + || h->dynindx == -1) break; /* Fall through. */ @@ -1488,7 +1496,7 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section, && r_type != R_CRIS_16_PCREL && r_type != R_CRIS_32_PCREL) || (!info->symbolic - || !h->def_regular))) + || (h != NULL && !h->def_regular)))) { Elf_Internal_Rela outrel; bfd_byte *loc; @@ -1826,6 +1834,17 @@ cris_elf_relocate_section (output_bfd, info, input_bfd, input_section, the GOT entry. */ break; + case R_CRIS_32_IE: + if (info->shared) + { + bfd_set_error (bfd_error_invalid_operation); hooks/post-receive -- Repository for Project Archer.