public inbox for archer-commits@sourceware.org help / color / mirror / Atom feed
From: jkratoch@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-jankratochvil-autoload: Merge branch 'secmove-misc2-warn-safepath-debug' into secmove-misc2-warn-safepath-debug-warnlocal Date: Sat, 24 Mar 2012 09:09:00 -0000 [thread overview] Message-ID: <20120324090904.28527.qmail@sourceware.org> (raw) The branch, archer-jankratochvil-autoload has been updated via 311969c984352ae38e3ff4d43492396015315e6a (commit) via 6a1f18459e4faf17356d44e7e8269de7f9d8c8ec (commit) via ec62212449b4f70e43a04d8076cd1c4c568d02a7 (commit) via 011d4d2334b36d8cfaf01bdefbcf33f054ce3b90 (commit) via c9b472987e839614da74f92cf5abebbf67dc94ea (commit) via 2099d4372ee9e6eca329f224d94cc5a33880da2f (commit) via f7937a6f8f317213e5300be25b17e1142451d123 (commit) via 459eec9c21505a409c6690859acf90abc2153762 (commit) via de93e87120921ca5bbad92bc7a26fab0af3a0ebd (commit) via ad47fa6c6663bf108f196ed4c5fd06c06ea39d32 (commit) via 5f6c0ae84097c3c0aa617fccf546efcd22309e55 (commit) via c680a2e2992722985043ab1ec3cbfe93d22483a4 (commit) via 12d2615ce8aaa8e7bb1a8e9bd8026fdbb0dca1d8 (commit) via 68c4998cf419703473c5985f99aee1715c92d5e4 (commit) via 5e92d838c0cd75ff9755f144aa84a1fb7d256e38 (commit) via 179a88f7f91130bc9ed3f62db06b7107909c0f17 (commit) via 26d46e62d77bdac3c3593d4e45854ad6ea78c6f2 (commit) via 7542f04ef01f0c98f79d855104dd63f4304f51a1 (commit) via 107456deabeb1c7b634264ab21818d64ae270ffe (commit) via 103be0f063fb84666222b0388298d9aabe8f3588 (commit) via 63b12f0554e013feafe2b86c19bb1b0c33659a8f (commit) via 6fd66ac74c0027650ef43577fdbe4d7f236051f2 (commit) via 238a89c5e410f61d2786cffca0a55dcf50325cd4 (commit) via 7bd3bcfebb31726b090ee1e94a598f7b1ae97ff8 (commit) via 483b15745ae9f8ea4490ca5fb87cb9c1405785a4 (commit) via 3fa74e6cd934b778a46812e85aacb75f5bb8ebf0 (commit) via abef1f2b99a19695e75d2b8caca0409d68377a68 (commit) via 68a5e2c18948f7654ff9e1ba942e6384223eafd1 (commit) via 1ee91b8dc930c4a3093ada1ff16e46247143415f (commit) via de9e84839d6034a7ceeb77c774f2e36e48cbd97d (commit) via bee9c58b7e871312ed9f00f244dcfc3ea7888c0d (commit) via 104ac57ff96d3a8854569062910c42f7a9f762af (commit) via 6b02e7db494f5b445c71de1f59b034854008002b (commit) via 5371d4e89fdf618acf847a6337a8c91b99c673fa (commit) via db6edb160e34a79d59886896b36650ac4e089539 (commit) via c99aab9dc7c3a1bf110176158f87a630c08a719f (commit) via fda4b74499e5d26b718a51b84ec637e435997fa6 (commit) via 88a05594363f87bf8fa19b0832c3fa96a61cbcf6 (commit) via 7be9989f3742c1a538e5736c86165e1aa03bc563 (commit) via a7f9ca9cb797d653dc7919538e1dfa0c26010331 (commit) via 4c128abac9c5ae4c9f11f85d842cdc0c666499dc (commit) via 111bb24e08681edb232d7f8b0ac2b8bed3196fad (commit) via 442ce9b2cb41503472ed40a869324160b2579d1b (commit) via 18e847d87b24578d0972f1db0d968a3bf2cc2766 (commit) via 090670303d7de01450f38a906bfe3752f25ba783 (commit) via 92ab086d5a3f9dc7e03dfe21c98b70274fc411ea (commit) via 6080f942dde1a88ecfa33cead8fad514b87b6d7b (commit) via 0bfd830772cb56402c87b8561afdf5fdc066a15d (commit) via e9051f959054c7c0e19515f8174d894726d345e9 (commit) from 204376e6b7f72da164f7db49480fcad7f69fc78e (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 311969c984352ae38e3ff4d43492396015315e6a Merge: f7937a6 6a1f184 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 10:08:37 2012 +0100 Merge branch 'secmove-misc2-warn-safepath-debug' into secmove-misc2-warn-safepath-debug-warnlocal commit 6a1f18459e4faf17356d44e7e8269de7f9d8c8ec Merge: 459eec9 ec62212 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 10:08:37 2012 +0100 Merge branch 'secmove-misc2-warn-safepath' into secmove-misc2-warn-safepath-debug commit ec62212449b4f70e43a04d8076cd1c4c568d02a7 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 10:07:12 2012 +0100 . commit 011d4d2334b36d8cfaf01bdefbcf33f054ce3b90 Merge: c9b4729 2099d43 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 09:47:13 2012 +0100 Merge branch 'secmove-misc2-warn' into secmove-misc2-warn-safepath commit c9b472987e839614da74f92cf5abebbf67dc94ea Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 09:47:11 2012 +0100 . commit 2099d4372ee9e6eca329f224d94cc5a33880da2f Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 09:27:23 2012 +0100 . commit f7937a6f8f317213e5300be25b17e1142451d123 Merge: 204376e 459eec9 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 08:50:07 2012 +0100 Merge branch 'secmove-misc2-warn-safepath-debug' into secmove-misc2-warn-safepath-debug-warnlocal commit 459eec9c21505a409c6690859acf90abc2153762 Merge: e30d8fb de93e87 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 08:50:06 2012 +0100 Merge branch 'secmove-misc2-warn-safepath' into secmove-misc2-warn-safepath-debug commit de93e87120921ca5bbad92bc7a26fab0af3a0ebd Merge: 01fb059 ad47fa6 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 08:50:01 2012 +0100 Merge branch 'secmove-misc2-warn' into secmove-misc2-warn-safepath Conflicts: gdb/auto-load.c gdb/python/py-auto-load.c commit ad47fa6c6663bf108f196ed4c5fd06c06ea39d32 Merge: 90c5527 5f6c0ae Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 08:48:30 2012 +0100 Merge branch 'secmove-misc2' into secmove-misc2-warn commit 5f6c0ae84097c3c0aa617fccf546efcd22309e55 Merge: 12d2615 c680a2e Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 08:48:30 2012 +0100 Merge branch 'secmove' into secmove-misc2 commit c680a2e2992722985043ab1ec3cbfe93d22483a4 Merge: d651fc3 68c4998 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 08:48:29 2012 +0100 Merge remote-tracking branch 'gdb/master' into secmove commit 12d2615ce8aaa8e7bb1a8e9bd8026fdbb0dca1d8 Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Sat Mar 24 08:47:38 2012 +0100 . commit 68c4998cf419703473c5985f99aee1715c92d5e4 Author: Mike Frysinger <vapier@gentoo.org> Date: Sat Mar 24 05:38:34 2012 +0000 [PATCH] sim: make sure to include strsignal prototype Before POSIX standardized strsignal(), old systems would hide the prototype unless the normal extension defines were enabled. So use the AC_USE_SYSTEM_EXTENSIONS helper for that. Then make sure we include string.h ourselves in nrun.c rather than relying on implicit includes via other sim headers. Signed-off-by: Mike Frysinger <vapier@gentoo.org> commit 5e92d838c0cd75ff9755f144aa84a1fb7d256e38 Author: Mike Frysinger <vapier@gentoo.org> Date: Sat Mar 24 05:37:10 2012 +0000 sim: testsuite: regen configure after rl78 addition commit 179a88f7f91130bc9ed3f62db06b7107909c0f17 Author: Mike Frysinger <vapier@gentoo.org> Date: Sat Mar 24 05:33:41 2012 +0000 sim: cris: update testsuite output after strsignal change commit 26d46e62d77bdac3c3593d4e45854ad6ea78c6f2 Author: mkuvyrkov <mkuvyrkov> Date: Sat Mar 24 01:09:28 2012 +0000 gas/ * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP. * doc/c-mips.texi: Mention XLP. opcodes/ * mips-dis.c (mips_arch_choices): Add entry for Broadcom XLP. commit 7542f04ef01f0c98f79d855104dd63f4304f51a1 Author: gdbadmin <gdbadmin@sourceware.org> Date: Sat Mar 24 00:00:04 2012 +0000 *** empty log message *** commit 107456deabeb1c7b634264ab21818d64ae270ffe Author: Alan Modra <amodra@bigpond.net.au> Date: Fri Mar 23 23:00:06 2012 +0000 daily update commit 103be0f063fb84666222b0388298d9aabe8f3588 Author: Doug Evans <dje@google.com> Date: Fri Mar 23 22:28:35 2012 +0000 * lib/gdb.exp (BUILD_DATA_DIRECTORY): New global. commit 63b12f0554e013feafe2b86c19bb1b0c33659a8f Author: Pedro Alves <pedro@codesourcery.com> Date: Fri Mar 23 20:27:08 2012 +0000 2012-03-23 Pedro Alves <palves@redhat.com> * linux-low.c (linux_qxfer_libraries_svr4): Terminate the "library-list-svr4" element's start tag when the the DSO list is empty. commit 6fd66ac74c0027650ef43577fdbe4d7f236051f2 Author: Pedro Alves <pedro@codesourcery.com> Date: Fri Mar 23 20:26:14 2012 +0000 2012-03-23 Pedro Alves <palves@redhat.com> * linux-low.c (read_one_ptr): Read the inferior's pointer through a variable whose type size is the same as the inferior's pointer size. commit 0bfd830772cb56402c87b8561afdf5fdc066a15d Author: Jan Kratochvil <jan.kratochvil@redhat.com> Date: Tue Mar 20 21:31:09 2012 +0100 . ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 40 ++ bfd/bfd-in.h | 3 + bfd/bfd-in2.h | 3 + bfd/config.in | 3 + bfd/configure | 16 + bfd/configure.in | 3 + bfd/elf.c | 13 +- bfd/elf32-tic6x.c | 3 + bfd/elf64-ppc.c | 9 +- bfd/elflink.c | 21 +- bfd/linker.c | 143 +++--- bfd/plugin.c | 37 ++ bfd/version.h | 2 +- gdb/.gitignore | 2 + gdb/ChangeLog | 57 +++- gdb/MAINTAINERS | 1 + gdb/NEWS | 4 + gdb/amd64-linux-nat.c | 4 +- gdb/arm-linux-nat.c | 2 +- gdb/auto-load.c | 3 + gdb/ax-gdb.c | 2 +- gdb/doc/ChangeLog | 7 + gdb/doc/gdb.texinfo | 81 +++- gdb/expprint.c | 3 +- gdb/expression.h | 2 + gdb/gdbserver/.gitignore | 8 + gdb/gdbserver/ChangeLog | 27 + gdb/gdbserver/linux-arm-low.c | 2 +- gdb/gdbserver/linux-low.c | 44 ++- gdb/gdbserver/linux-low.h | 5 +- gdb/gdbserver/linux-x86-low.c | 4 +- gdb/ia64-linux-nat.c | 2 +- gdb/jit.c | 13 +- gdb/linux-nat.c | 16 +- gdb/linux-nat.h | 6 +- gdb/ppc-linux-nat.c | 2 +- gdb/procfs.c | 2 +- gdb/python/py-auto-load.c | 2 + gdb/python/py-value.c | 43 ++ gdb/sparc-linux-nat.c | 2 +- gdb/sparc-nat.c | 2 +- gdb/symtab.c | 2 +- gdb/testsuite/ChangeLog | 12 + gdb/testsuite/gdb.python/Makefile.in | 2 +- gdb/testsuite/gdb.python/py-objfile-script.exp | 2 +- gdb/testsuite/gdb.python/py-section-script.exp | 6 +- gdb/testsuite/gdb.python/py-value-cc.exp | 48 ++ gdb/testsuite/gdb.python/py-value.cc | 39 ++ gdb/testsuite/lib/gdb.exp | 5 +- gdb/version.in | 2 +- opcodes/ChangeLog | 4 + opcodes/mips-dis.c | 8 + sim/arm/ChangeLog | 4 + sim/arm/aclocal.m4 | 11 +- sim/arm/config.in | 32 ++ sim/arm/configure | 304 +++++++----- sim/avr/ChangeLog | 4 + sim/avr/aclocal.m4 | 11 +- sim/avr/config.in | 32 ++ sim/avr/configure | 304 +++++++----- sim/bfin/ChangeLog | 4 + sim/bfin/aclocal.m4 | 11 +- sim/bfin/config.in | 32 ++ sim/bfin/configure | 370 +++++++++------ sim/common/ChangeLog | 12 + sim/common/acinclude.m4 | 65 ++- sim/common/aclocal.m4 | 11 +- sim/common/config.in | 32 ++ sim/common/configure | 298 +++++++----- sim/common/nrun.c | 10 + sim/cr16/ChangeLog | 4 + sim/cr16/aclocal.m4 | 11 +- sim/cr16/config.in | 32 ++ sim/cr16/configure | 376 +++++++++------ sim/cris/ChangeLog | 4 + sim/cris/aclocal.m4 | 11 +- sim/cris/config.in | 35 ++ sim/cris/configure | 376 +++++++++------ sim/d10v/ChangeLog | 4 + sim/d10v/aclocal.m4 | 11 +- sim/d10v/config.in | 32 ++ sim/d10v/configure | 376 +++++++++------ sim/erc32/ChangeLog | 4 + sim/erc32/aclocal.m4 | 11 +- sim/erc32/config.in | 32 ++ sim/erc32/configure | 298 +++++++----- sim/frv/ChangeLog | 4 + sim/frv/aclocal.m4 | 11 +- sim/frv/config.in | 32 ++ sim/frv/configure | 304 +++++++----- sim/h8300/ChangeLog | 4 + sim/h8300/aclocal.m4 | 11 +- sim/h8300/config.in | 32 ++ sim/h8300/configure | 304 +++++++----- sim/igen/ChangeLog | 4 + sim/igen/configure | 116 ++++-- sim/iq2000/ChangeLog | 4 + sim/iq2000/aclocal.m4 | 11 +- sim/iq2000/config.in | 32 ++ sim/iq2000/configure | 304 +++++++----- sim/lm32/ChangeLog | 4 + sim/lm32/aclocal.m4 | 11 +- sim/lm32/config.in | 35 ++ sim/lm32/configure | 304 +++++++----- sim/m32c/ChangeLog | 4 + sim/m32c/aclocal.m4 | 11 +- sim/m32c/config.in | 34 ++- sim/m32c/configure | 304 +++++++----- sim/m32r/ChangeLog | 4 + sim/m32r/aclocal.m4 | 11 +- sim/m32r/config.in | 32 ++ sim/m32r/configure | 304 +++++++----- sim/m68hc11/ChangeLog | 4 + sim/m68hc11/aclocal.m4 | 11 +- sim/m68hc11/config.in | 35 ++ sim/m68hc11/configure | 376 +++++++++------ sim/mcore/ChangeLog | 4 + sim/mcore/aclocal.m4 | 11 +- sim/mcore/config.in | 32 ++ sim/mcore/configure | 304 +++++++----- sim/microblaze/ChangeLog | 4 + sim/microblaze/aclocal.m4 | 11 +- sim/microblaze/config.in | 32 ++ sim/microblaze/configure | 304 +++++++----- sim/mips/ChangeLog | 4 + sim/mips/aclocal.m4 | 11 +- sim/mips/config.in | 32 ++ sim/mips/configure | 378 +++++++++------ sim/mn10300/ChangeLog | 4 + sim/mn10300/aclocal.m4 | 11 +- sim/mn10300/config.in | 35 ++ sim/mn10300/configure | 376 +++++++++------ sim/moxie/ChangeLog | 4 + sim/moxie/aclocal.m4 | 11 +- sim/moxie/config.in | 47 ++ sim/moxie/configure | 304 +++++++----- sim/rl78/ChangeLog | 4 + sim/rl78/aclocal.m4 | 11 +- sim/rl78/config.in | 38 ++- sim/rl78/configure | 304 +++++++----- sim/rx/ChangeLog | 9 + sim/rx/aclocal.m4 | 11 +- sim/rx/config.in | 44 ++- sim/rx/configure | 310 +++++++----- sim/rx/configure.ac | 6 +- sim/sh/ChangeLog | 4 + sim/sh/aclocal.m4 | 11 +- sim/sh/config.in | 32 ++ sim/sh/configure | 304 +++++++----- sim/sh64/ChangeLog | 4 + sim/sh64/aclocal.m4 | 11 +- sim/sh64/config.in | 32 ++ sim/sh64/configure | 304 +++++++----- sim/testsuite/ChangeLog | 617 +----------------------- sim/testsuite/configure | 3 + sim/testsuite/sim/arm/ChangeLog | 117 +++++ sim/testsuite/sim/cris/ChangeLog | 163 +++++++ sim/testsuite/sim/cris/asm/addqpc.ms | 2 +- sim/testsuite/sim/cris/asm/boundmv32.ms | 2 +- sim/testsuite/sim/cris/asm/fidxd.ms | 2 +- sim/testsuite/sim/cris/asm/fidxi.ms | 2 +- sim/testsuite/sim/cris/asm/ftagd.ms | 2 +- sim/testsuite/sim/cris/asm/ftagi.ms | 2 +- sim/testsuite/sim/cris/asm/halt.ms | 2 +- sim/testsuite/sim/cris/asm/io6.ms | 2 +- sim/testsuite/sim/cris/asm/io7.ms | 2 +- sim/testsuite/sim/cris/asm/io8.ms | 2 +- sim/testsuite/sim/cris/asm/io9.ms | 2 +- sim/testsuite/sim/cris/asm/movecpc.ms | 2 +- sim/testsuite/sim/cris/asm/movempc.ms | 2 +- sim/testsuite/sim/cris/asm/movepcb.ms | 2 +- sim/testsuite/sim/cris/asm/movepcd.ms | 2 +- sim/testsuite/sim/cris/asm/movepcw.ms | 2 +- sim/testsuite/sim/cris/asm/moveqpc.ms | 2 +- sim/testsuite/sim/cris/asm/moverbpc.ms | 2 +- sim/testsuite/sim/cris/asm/moverdpc.ms | 2 +- sim/testsuite/sim/cris/asm/moverpcb.ms | 2 +- sim/testsuite/sim/cris/asm/moverpcw.ms | 2 +- sim/testsuite/sim/cris/asm/moverwpc.ms | 2 +- sim/testsuite/sim/cris/asm/movppc.ms | 2 +- sim/testsuite/sim/cris/asm/movrss.ms | 2 +- sim/testsuite/sim/cris/asm/movscpc.ms | 2 +- sim/testsuite/sim/cris/asm/movsmpc.ms | 2 +- sim/testsuite/sim/cris/asm/movsrpc.ms | 2 +- sim/testsuite/sim/cris/asm/movssr.ms | 2 +- sim/testsuite/sim/cris/asm/movucpc.ms | 2 +- sim/testsuite/sim/cris/asm/movumpc.ms | 2 +- sim/testsuite/sim/cris/asm/movurpc.ms | 2 +- sim/testsuite/sim/cris/asm/msteppc1.ms | 2 +- sim/testsuite/sim/cris/asm/msteppc2.ms | 2 +- sim/testsuite/sim/cris/asm/msteppc3.ms | 2 +- sim/testsuite/sim/cris/asm/rfg.ms | 2 +- sim/testsuite/sim/cris/asm/sbfs.ms | 2 +- sim/testsuite/sim/cris/asm/subqpc.ms | 2 +- sim/testsuite/sim/cris/c/clone5.c | 2 +- sim/testsuite/sim/cris/c/fcntl1.c | 2 +- sim/testsuite/sim/cris/c/kill2.c | 2 +- sim/testsuite/sim/cris/c/kill3.c | 2 +- sim/testsuite/sim/cris/c/mprotect1.c | 2 +- sim/testsuite/sim/cris/c/pipe5.c | 2 +- sim/testsuite/sim/cris/c/readlink5.c | 2 +- sim/testsuite/sim/cris/c/rtsigprocmask1.c | 2 +- sim/testsuite/sim/cris/c/rtsigsuspend1.c | 2 +- sim/testsuite/sim/cris/c/sig10.c | 2 +- sim/testsuite/sim/cris/c/sig11.c | 2 +- sim/testsuite/sim/cris/c/sig3.c | 2 +- sim/testsuite/sim/cris/c/sig4.c | 2 +- sim/testsuite/sim/cris/c/sig5.c | 2 +- sim/testsuite/sim/cris/c/sig6.c | 2 +- sim/testsuite/sim/cris/c/sig7.c | 2 +- sim/testsuite/sim/cris/c/sig8.c | 2 +- sim/testsuite/sim/cris/c/sigreturn1.c | 2 +- sim/testsuite/sim/cris/c/sigreturn2.c | 2 +- sim/testsuite/sim/cris/c/syscall1.c | 2 +- sim/testsuite/sim/cris/c/syscall2.c | 2 +- sim/testsuite/sim/cris/c/syscall3.c | 2 +- sim/testsuite/sim/cris/c/syscall4.c | 2 +- sim/testsuite/sim/cris/c/sysctl2.c | 2 +- sim/testsuite/sim/fr30/ChangeLog | 112 +++++ sim/testsuite/sim/frv/ChangeLog | 76 +++ sim/testsuite/sim/m32r/ChangeLog | 122 +++++ sim/testsuite/sim/v850/ChangeLog | 19 + sim/v850/ChangeLog | 4 + sim/v850/aclocal.m4 | 11 +- sim/v850/config.in | 32 ++ sim/v850/configure | 376 +++++++++------ 226 files changed, 7474 insertions(+), 4253 deletions(-) create mode 100644 gdb/testsuite/gdb.python/py-value-cc.exp create mode 100644 gdb/testsuite/gdb.python/py-value.cc create mode 100644 sim/testsuite/sim/arm/ChangeLog create mode 100644 sim/testsuite/sim/cris/ChangeLog create mode 100644 sim/testsuite/sim/fr30/ChangeLog create mode 100644 sim/testsuite/sim/frv/ChangeLog create mode 100644 sim/testsuite/sim/m32r/ChangeLog create mode 100644 sim/testsuite/sim/v850/ChangeLog First 500 lines of diff: diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 735a0ba..04c3b31 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,43 @@ +2012-03-23 Alan Modra <amodra@gmail.com> + + * elf.c (assign_file_positions_for_non_load_sections): Don't warn + on empty alloc sections. + +2012-03-23 Alan Modra <amodra@gmail.com> + + * linker.c (_bfd_nearby_section): New function, split out from.. + (fix_syms): ..here. + * bfd-in.h (_bfd_nearby_section): Declare. + * bfd-in2.h: Regenerate. + * elflink.c (elf_link_input_bfd): Don't use text_index_section or + data_index_section with ld -q or ld -r output relocs against + stripped output sections. Instead use _bfd_nearby_section. + +2012-03-23 Alan Modra <amodra@gmail.com> + + PR binutils/13894 + * elf64-ppc.c (opd_entry_value): Read full symbol table when + sym hashes unavailable. + +2012-03-21 Eliot Dresselhaus <eliot@sonic.net> + + * elf32-tic6x.c (elf32_tic6x_merge_private_bfd_data): Return TRUE + for non-C6X objects. + +2012-03-20 Kai Tietz <ktietz@redhat.com> + + PR ld/12742 + * configure.in (AC_CHECK_HEADERS): Test for windows.h and dlfcn.h. + * plugin.c: Guard include of dlfcn.h if HAVE_DLFCN_H is defined. + Add windows.h header include if HAVE_WINDOWS_H is defined. + (dlerror): New static function if windows variant is used instead + of dlfcn.h. + (dlclose): Likewise. + (dlopen): Likewise. + (dlsym): Likewise. + * configure: Regenerated. + * config.in: Regenerated. + 2012-03-20 H.J. Lu <hongjiu.lu@intel.com> PR ld/13880 diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 40ed786..c331f3b 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -705,6 +705,9 @@ extern int bfd_get_sign_extend_vma extern struct bfd_section *_bfd_elf_tls_setup (bfd *, struct bfd_link_info *); +extern struct bfd_section * +_bfd_nearby_section (bfd *, struct bfd_section *, bfd_vma); + extern void _bfd_fix_excluded_sec_syms (bfd *, struct bfd_link_info *); diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index bea3a05..61513f2 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -712,6 +712,9 @@ extern int bfd_get_sign_extend_vma extern struct bfd_section *_bfd_elf_tls_setup (bfd *, struct bfd_link_info *); +extern struct bfd_section * +_bfd_nearby_section (bfd *, struct bfd_section *, bfd_vma); + extern void _bfd_fix_excluded_sec_syms (bfd *, struct bfd_link_info *); diff --git a/bfd/config.in b/bfd/config.in index 98157e1..cb53b14 100644 --- a/bfd/config.in +++ b/bfd/config.in @@ -245,6 +245,9 @@ /* Define if <sys/procfs.h> has win32_pstatus_t. */ #undef HAVE_WIN32_PSTATUS_T +/* Define to 1 if you have the <windows.h> header file. */ +#undef HAVE_WINDOWS_H + /* Define to 1 if you have the <zlib.h> header file. */ #undef HAVE_ZLIB_H diff --git a/bfd/configure b/bfd/configure index cff9b26..58a57ba 100755 --- a/bfd/configure +++ b/bfd/configure @@ -13508,6 +13508,22 @@ fi fi + +for ac_header in windows.h dlfcn.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +eval as_val=\$$as_ac_Header + if test "x$as_val" = x""yes; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether string.h and strings.h may both be included" >&5 $as_echo_n "checking whether string.h and strings.h may both be included... " >&6; } if test "${gcc_cv_header_string+set}" = set; then : diff --git a/bfd/configure.in b/bfd/configure.in index c40c825..f443915 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -190,6 +190,9 @@ AC_CHECK_HEADERS(fcntl.h sys/file.h sys/time.h sys/stat.h) GCC_HEADER_STDINT(bfd_stdint.h) AC_HEADER_TIME AC_HEADER_DIRENT + +AC_CHECK_HEADERS(windows.h dlfcn.h) + ACX_HEADER_STRING AC_CHECK_FUNCS(fcntl getpagesize setitimer sysconf fdopen getuid getgid fileno) AC_CHECK_FUNCS(strtoull) diff --git a/bfd/elf.c b/bfd/elf.c index 5aabeeb..df43a6a 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -4820,12 +4820,13 @@ assign_file_positions_for_non_load_sections (bfd *abfd, BFD_ASSERT (hdr->sh_offset == hdr->bfd_section->filepos); else if ((hdr->sh_flags & SHF_ALLOC) != 0) { - (*_bfd_error_handler) - (_("%B: warning: allocated section `%s' not in segment"), - abfd, - (hdr->bfd_section == NULL - ? "*unknown*" - : hdr->bfd_section->name)); + if (hdr->sh_size != 0) + (*_bfd_error_handler) + (_("%B: warning: allocated section `%s' not in segment"), + abfd, + (hdr->bfd_section == NULL + ? "*unknown*" + : hdr->bfd_section->name)); /* We don't need to page align empty sections. */ if ((abfd->flags & D_PAGED) != 0 && hdr->sh_size != 0) off += vma_page_aligned_bias (hdr->sh_addr, off, diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c index 6d6b59b..8abfdd0 100644 --- a/bfd/elf32-tic6x.c +++ b/bfd/elf32-tic6x.c @@ -4011,6 +4011,9 @@ elf32_tic6x_merge_private_bfd_data (bfd *ibfd, bfd *obfd) if (!_bfd_generic_verify_endian_match (ibfd, obfd)) return FALSE; + if (! is_tic6x_elf (ibfd) || ! is_tic6x_elf (obfd)) + return TRUE; + if (!elf32_tic6x_merge_attributes (ibfd, obfd)) return FALSE; diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index f4f5d0b..e7a01c2 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -5585,15 +5585,18 @@ opd_entry_value (asection *opd_sec, unsigned long symndx = ELF64_R_SYM (look->r_info); asection *sec; - if (symndx < symtab_hdr->sh_info) + if (symndx < symtab_hdr->sh_info + || elf_sym_hashes (opd_bfd) == NULL) { Elf_Internal_Sym *sym; sym = (Elf_Internal_Sym *) symtab_hdr->contents; if (sym == NULL) { - sym = bfd_elf_get_elf_syms (opd_bfd, symtab_hdr, - symtab_hdr->sh_info, + size_t symcnt = symtab_hdr->sh_info; + if (elf_sym_hashes (opd_bfd) == NULL) + symcnt = symtab_hdr->sh_size / symtab_hdr->sh_entsize; + sym = bfd_elf_get_elf_syms (opd_bfd, symtab_hdr, symcnt, 0, NULL, NULL, NULL); if (sym == NULL) break; diff --git a/bfd/elflink.c b/bfd/elflink.c index 7f9ec60..3236911 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -9747,23 +9747,12 @@ elf_link_input_bfd (struct elf_final_link_info *finfo, bfd *input_bfd) r_symndx = osec->target_index; if (r_symndx == STN_UNDEF) { - struct elf_link_hash_table *htab; - asection *oi; - - htab = elf_hash_table (finfo->info); - oi = htab->text_index_section; - if ((osec->flags & SEC_READONLY) == 0 - && htab->data_index_section != NULL) - oi = htab->data_index_section; - - if (oi != NULL) - { - irela->r_addend += osec->vma - oi->vma; - r_symndx = oi->target_index; - } + irela->r_addend += osec->vma; + osec = _bfd_nearby_section (output_bfd, osec, + osec->vma); + irela->r_addend -= osec->vma; + r_symndx = osec->target_index; } - - BFD_ASSERT (r_symndx != STN_UNDEF); } } diff --git a/bfd/linker.c b/bfd/linker.c index 0404474..2f8ecbb 100644 --- a/bfd/linker.c +++ b/bfd/linker.c @@ -3130,6 +3130,81 @@ _bfd_generic_section_already_linked (bfd *abfd ATTRIBUTE_UNUSED, return FALSE; } +/* Choose a neighbouring section to S in OBFD that will be output, or + the absolute section if ADDR is out of bounds of the neighbours. */ + +asection * +_bfd_nearby_section (bfd *obfd, asection *s, bfd_vma addr) +{ + asection *next, *prev, *best; + + /* Find preceding kept section. */ + for (prev = s->prev; prev != NULL; prev = prev->prev) + if ((prev->flags & SEC_EXCLUDE) == 0 + && !bfd_section_removed_from_list (obfd, prev)) + break; + + /* Find following kept section. Start at prev->next because + other sections may have been added after S was removed. */ + if (s->prev != NULL) + next = s->prev->next; + else + next = s->owner->sections; + for (; next != NULL; next = next->next) + if ((next->flags & SEC_EXCLUDE) == 0 + && !bfd_section_removed_from_list (obfd, next)) + break; + + /* Choose better of two sections, based on flags. The idea + is to choose a section that will be in the same segment + as S would have been if it was kept. */ + best = next; + if (prev == NULL) + { + if (next == NULL) + best = bfd_abs_section_ptr; + } + else if (next == NULL) + best = prev; + else if (((prev->flags ^ next->flags) + & (SEC_ALLOC | SEC_THREAD_LOCAL | SEC_LOAD)) != 0) + { + if (((next->flags ^ s->flags) + & (SEC_ALLOC | SEC_THREAD_LOCAL)) != 0 + /* We prefer to choose a loaded section. Section S + doesn't have SEC_LOAD set (it being excluded, that + part of the flag processing didn't happen) so we + can't compare that flag to those of NEXT and PREV. */ + || ((prev->flags & SEC_LOAD) != 0 + && (next->flags & SEC_LOAD) == 0)) + best = prev; + } + else if (((prev->flags ^ next->flags) & SEC_READONLY) != 0) + { + if (((next->flags ^ s->flags) & SEC_READONLY) != 0) + best = prev; + } + else if (((prev->flags ^ next->flags) & SEC_CODE) != 0) + { + if (((next->flags ^ s->flags) & SEC_CODE) != 0) + best = prev; + } + else + { + /* Flags we care about are the same. Prefer the following + section if that will result in a positive valued sym. */ + if (addr < next->vma) + best = prev; + } + + /* Refuse to choose a section for which we are out of bounds. */ + /* ??? This may make most of the above moot. */ + if (addr < best->vma || addr > best->vma + best->size) + best = bfd_abs_section_ptr; + + return best; +} + /* Convert symbols in excluded output sections to use a kept section. */ static bfd_boolean @@ -3146,74 +3221,10 @@ fix_syms (struct bfd_link_hash_entry *h, void *data) && (s->output_section->flags & SEC_EXCLUDE) != 0 && bfd_section_removed_from_list (obfd, s->output_section)) { - asection *op, *op1; + asection *op; h->u.def.value += s->output_offset + s->output_section->vma; - - /* Find preceding kept section. */ - for (op1 = s->output_section->prev; op1 != NULL; op1 = op1->prev) - if ((op1->flags & SEC_EXCLUDE) == 0 - && !bfd_section_removed_from_list (obfd, op1)) - break; - - /* Find following kept section. Start at prev->next because - other sections may have been added after S was removed. */ - if (s->output_section->prev != NULL) - op = s->output_section->prev->next; - else - op = s->output_section->owner->sections; - for (; op != NULL; op = op->next) - if ((op->flags & SEC_EXCLUDE) == 0 - && !bfd_section_removed_from_list (obfd, op)) - break; - - /* Choose better of two sections, based on flags. The idea - is to choose a section that will be in the same segment - as S would have been if it was kept. */ - if (op1 == NULL) - { - if (op == NULL) - op = bfd_abs_section_ptr; - } - else if (op == NULL) - op = op1; - else if (((op1->flags ^ op->flags) - & (SEC_ALLOC | SEC_THREAD_LOCAL | SEC_LOAD)) != 0) - { - if (((op->flags ^ s->flags) - & (SEC_ALLOC | SEC_THREAD_LOCAL)) != 0 - /* We prefer to choose a loaded section. Section S - doesn't have SEC_LOAD set (it being excluded, that - part of the flag processing didn't happen) so we - can't compare that flag to those of OP and OP1. */ - || ((op1->flags & SEC_LOAD) != 0 - && (op->flags & SEC_LOAD) == 0)) - op = op1; - } - else if (((op1->flags ^ op->flags) & SEC_READONLY) != 0) - { - if (((op->flags ^ s->flags) & SEC_READONLY) != 0) - op = op1; - } - else if (((op1->flags ^ op->flags) & SEC_CODE) != 0) - { - if (((op->flags ^ s->flags) & SEC_CODE) != 0) - op = op1; - } - else - { - /* Flags we care about are the same. Prefer the following - section if that will result in a positive valued sym. */ - if (h->u.def.value < op->vma) - op = op1; - } - - /* Refuse to choose a section for which we are out of bounds. */ - /* ??? This may make most of the above moot. */ - if (h->u.def.value < op->vma - || h->u.def.value > op->vma + op->size) - op = bfd_abs_section_ptr; - + op = _bfd_nearby_section (obfd, s->output_section, h->u.def.value); h->u.def.value -= op->vma; h->u.def.section = op; } diff --git a/bfd/plugin.c b/bfd/plugin.c index 064e273..0a29e37 100644 --- a/bfd/plugin.c +++ b/bfd/plugin.c @@ -25,7 +25,13 @@ #if BFD_SUPPORTS_PLUGINS #include <assert.h> +#ifdef HAVE_DLFCN_H #include <dlfcn.h> +#elif defined (HAVE_WINDOWS_H) +#include <windows.h> +#else +#error Unknown how to handle dynamic-load-libraries. +#endif #include <stdarg.h> #include "plugin-api.h" #include "sysdep.h" @@ -34,6 +40,37 @@ #include "libiberty.h" #include <dirent.h> +#if !defined (HAVE_DLFCN_H) && defined (HAVE_WINDOWS_H) + +#define RTLD_NOW 0 /* Dummy value. */ + +static void * +dlopen (const char *file, int mode ATTRIBUTE_UNUSED) +{ + return LoadLibrary (file); +} + +static void * +dlsym (void *handle, const char *name) +{ + return GetProcAddress (handle, name); +} + +static int ATTRIBUTE_UNUSED +dlclose (void *handle) +{ + FreeLibrary (handle); + return 0; +} + +static const char * +dlerror (void) +{ + return "Unable to load DLL."; +} + +#endif /* !defined (HAVE_DLFCN_H) && defined (HAVE_WINDOWS_H) */ + #define bfd_plugin_close_and_cleanup _bfd_generic_close_and_cleanup #define bfd_plugin_bfd_free_cached_info _bfd_generic_bfd_free_cached_info #define bfd_plugin_new_section_hook _bfd_generic_new_section_hook diff --git a/bfd/version.h b/bfd/version.h index 756abca..f12f4b5 100644 --- a/bfd/version.h +++ b/bfd/version.h @@ -1,4 +1,4 @@ -#define BFD_VERSION_DATE 20120320 +#define BFD_VERSION_DATE 20120324 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@ diff --git a/gdb/.gitignore b/gdb/.gitignore index f0cbd8c..7a0dd1a 100644 --- a/gdb/.gitignore +++ b/gdb/.gitignore @@ -7,7 +7,9 @@ /cp-name-parser.c /f-exp.c /gdb +/gdbtui /init.c +/jit-reader.h /jv-exp.c /m2-exp.c /objc-exp.c diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d18163e..82fa1b4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,58 @@ +2012-03-22 Richard Henderson <rth@redhat.com> + + * sparc-linux-nat.c (_initialize_sparc_linux_nat): Fix prototype. + * sparc-nat.c (sparc_xfer_wcookie): Make static. + +2012-03-22 Richard Henderson <rth@redhat.com> + + * jit.c (jit_read_code_entry): Compute alignment and offset of + int64_t member before computing entry_size. + +2012-03-22 Siva Chandra Reddy <sivachandra@google.com> + + Python scripting: Add new method Value.referenced_value to + gdb.Value which can dereference pointer as well as reference + values. + * NEWS: Add entry under 'Python scripting' about the new method + Value.referenced_value on gdb.Value objects. + * python/py-value.c (valpy_referenced_value): New function + defining a new method on gdb.Value objects which can dereference + pointer and reference values. + +2012-03-22 Siva Chandra Reddy <sivachandra@google.com> + + * MAINTAINERS (Write After Approval): Add myself to the list. hooks/post-receive -- Repository for Project Archer.
next reply other threads:[~2012-03-24 9:09 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-03-24 9:09 jkratoch [this message] -- strict thread matches above, loose matches on Subject: below -- 2012-03-29 8:50 jkratoch 2012-03-29 6:21 jkratoch 2012-03-29 6:17 jkratoch 2012-03-29 6:07 jkratoch 2012-03-29 5:45 jkratoch 2012-03-28 20:31 jkratoch 2012-03-25 19:10 jkratoch 2012-03-25 19:02 jkratoch 2012-03-25 16:56 jkratoch 2012-03-24 17:25 jkratoch 2012-03-20 19:39 jkratoch 2012-03-20 19:38 jkratoch 2012-03-20 0:17 jkratoch 2012-03-19 20:15 jkratoch
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20120324090904.28527.qmail@sourceware.org \ --to=jkratoch@sourceware.org \ --cc=archer-commits@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).