From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32003 invoked by alias); 22 Dec 2008 18:33:59 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 31839 invoked by uid 9674); 22 Dec 2008 18:33:56 -0000 Date: Mon, 22 Dec 2008 18:33:00 -0000 Message-ID: <20081222183356.31815.qmail@sourceware.org> From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-type-refcount: Merge commit 'origin/master' into archer-jankratochvil-type-refcount X-Git-Refname: refs/heads/archer-jankratochvil-type-refcount X-Git-Reftype: branch X-Git-Oldrev: 2e8f00516f29f4ffed5da535bd71a7d5d85a9723 X-Git-Newrev: d5cfcbafc9b74ab21f215585aab411c6b43f5620 X-SW-Source: 2008-q4/txt/msg00233.txt.bz2 List-Id: The branch, archer-jankratochvil-type-refcount has been updated via d5cfcbafc9b74ab21f215585aab411c6b43f5620 (commit) 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 2e8f00516f29f4ffed5da535bd71a7d5d85a9723 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit d5cfcbafc9b74ab21f215585aab411c6b43f5620 Merge: 2e8f00516f29f4ffed5da535bd71a7d5d85a9723 f2f03a7b81be57219bb881817eadbcdfa0ef22ca Author: Jan Kratochvil Date: Mon Dec 22 19:18:00 2008 +0100 Merge commit 'origin/master' into archer-jankratochvil-type-refcount ----------------------------------------------------------------------- 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.