From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13852 invoked by alias); 15 Jan 2013 14:04:34 -0000 Mailing-List: contact archer-commits-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: Received: (qmail 13766 invoked by uid 9364); 15 Jan 2013 14:04:27 -0000 Date: Tue, 15 Jan 2013 14:04:00 -0000 Message-ID: <20130115140426.13749.qmail@sourceware.org> From: gary@sourceware.org To: archer-commits@sourceware.org Subject: [SCM] archer-gbenson-stap-rtld-mainline: https://bugzilla.redhat.com/show_bug.cgi?id=895527 X-Git-Refname: refs/heads/archer-gbenson-stap-rtld-mainline X-Git-Reftype: branch X-Git-Oldrev: 1750cefdf5bd9d69d448d7c0618f5f260f1bb6ed X-Git-Newrev: 38ec501fb86983933886b54989cf6b59d62b7271 X-SW-Source: 2013-q1/txt/msg00011.txt.bz2 List-Id: The branch, archer-gbenson-stap-rtld-mainline has been updated via 38ec501fb86983933886b54989cf6b59d62b7271 (commit) via a3b1d8553ec1a6fb0e6445b01253a67669fea944 (commit) via bbcb5cfc87f61244449dd132571273822c024f7c (commit) via db8d6c1f0be65b3cbbe31efddf59c02a567bd54f (commit) via 4bc88fd774ca9d7e2215f2881eb21a95466d2322 (commit) via 4e226409efc58dc3cc3288f0ab109dbde67517a7 (commit) via da47a9b7b95481e82517c49bdb5c83c72826fb98 (commit) via 0a07598a6944a2848e1b7d33d0baad774fb9156a (commit) via 5e745c33d04f696ad075cf12c7fd827cea94ddbe (commit) via 02cce7d87ef013ec98d0f0f5f2e1b2615af33cc8 (commit) via 97398dc56a427bbceb2204c7414e3f9749598085 (commit) via 2e7df164cdcf3407e7a007922c9d63bba558bc5e (commit) via 44741c7562e3ea66a70b21d016a563060ec5f673 (commit) via 9d1234ed2f2df3199f7b5c78d5d113cf208b285d (commit) via ef8ab2a8aa225a35f3000d98aaedd9a455474d8f (commit) via 37d671a251238b87d7c842696560e4d31df2e7b7 (commit) via 6796bef7e838798ab452665f74e474a44f95cb8e (commit) via baaa99b01fd9ef7d4501ee065dd939620455ecb0 (commit) via 81931cf2c9e7bd9e6ffa5ca1334847a9b6911c71 (commit) via efd4ba89259774aee5d087dd0163b8e6c94a3a45 (commit) via 09aea3e7a5bf41878ab74e5fefdb71c0b691daca (commit) via 7a568b86f95a1705bfc8b203bb58b3416164bc08 (commit) via 04b597136cb6cab9fad7ea384fd049a65ee2b63d (commit) via 7689a57a68498f8acf714790bbb258482cea6af7 (commit) via 8a52a6991d64dc1c536601536d3e12965517d01b (commit) via 46573f8acf82edbbb084b049674042875ebd8f52 (commit) via d7fcfbb5946ca2901a8dc9b627625fe8c5c936de (commit) via 5ea75a49e52391075ec2b94474de55da287b184c (commit) via 925711ea825eb46cf9fd3f4a7cb80f6329c35260 (commit) via 444d54fee096ad8d12f7e5908ddfd3f2c3f6f8a2 (commit) via d4d080e6cda73397d0c56c4533ab7c5f350a8935 (commit) via fa633dae3dfbae78b51bfdb66c1af49226c6bc7e (commit) via f2d416dc9b05995104ac6fe84424da064e9a8a8e (commit) via 8fc8714742ff7753ee7bfeaff727822e052281e4 (commit) via 01e3b85b9ce672684d5a4f5064e4e23a530d12f8 (commit) via 3e9f027f7a1612e43f93e4e3dfea6643679c13f3 (commit) via bd5092c668c08a368c601b644bc9cc9162734b5a (commit) via b68f8288b463d5d40bbcde3be52b4f4d7466b9b5 (commit) via 3f402643a967d4ef6ed8e796563afa747f35b501 (commit) via 5133ffd6f80f9ca5890c4f6da3d1286568ecb333 (commit) via 828f877196248a472f2cc588b0d31504882b20b4 (commit) via 367af6c3edac8491bbde67b418563acad7b0edec (commit) via b6f6702570d9e5127bc2dd45cae2385eafc5a4b1 (commit) via b86682d16009d84b08c33bb60d017ffaf7465636 (commit) from 1750cefdf5bd9d69d448d7c0618f5f260f1bb6ed (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit 38ec501fb86983933886b54989cf6b59d62b7271 Author: Gary Benson Date: Tue Jan 15 14:04:17 2013 +0000 https://bugzilla.redhat.com/show_bug.cgi?id=895527 commit a3b1d8553ec1a6fb0e6445b01253a67669fea944 Merge: 1750cef bbcb5cf Author: Gary Benson Date: Tue Jan 15 13:27:44 2013 +0000 Merge branch 'master' of git://sourceware.org/git/gdb into archer-gbenson-stap-rtld-mainline commit bbcb5cfc87f61244449dd132571273822c024f7c Author: Alan Modra Date: Tue Jan 15 06:13:23 2013 +0000 bfd/ * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to plt-thread-safe. gold/ * powerpc.cc (Target_powerpc::do_relax): Default shared libs to plt-thread-safe. ld/testsuite/ * ld-powerpc/tlsso.d: Adjust for plt-thread-safe stubs. * ld-powerpc/tlsso.g: Likewise. * ld-powerpc/tlsso.r: Likewise. * ld-powerpc/tlstocso.d: Likewise. * ld-powerpc/tlstocso.g: Likewise. commit db8d6c1f0be65b3cbbe31efddf59c02a567bd54f Author: gdbadmin Date: Tue Jan 15 00:00:34 2013 +0000 *** empty log message *** commit 4bc88fd774ca9d7e2215f2881eb21a95466d2322 Author: Alan Modra Date: Mon Jan 14 23:00:05 2013 +0000 daily update commit 4e226409efc58dc3cc3288f0ab109dbde67517a7 Author: Tom Tromey Date: Mon Jan 14 21:03:54 2013 +0000 * cli/cli-decode.c (add_setshow_string_noescape_cmd): Return the set command. * command.h (add_setshow_string_noescape_cmd): Update. * corefile.c (set_gnutarget_command): Remove trailing whitespace. (complete_set_gnutarget): New function. (_initialize_core): Set the "set gnutarget" completer. gdb/testsuite * gdb.base/completion.exp: Add "set gnutarget" test. commit da47a9b7b95481e82517c49bdb5c83c72826fb98 Author: Tom Tromey Date: Mon Jan 14 20:59:26 2013 +0000 PR symtab/14442: * c-typeprint.c (cp_type_print_method_args): Handle 'restrict'. (c_type_print_modifier): Likewise. * dwarf2read.c (read_tag_restrict_type): New function. (read_type_die_1): Handle DW_TAG_restrict_type. * gdbtypes.c (make_restrict_type): New function. (recursive_dump_type): Handle TYPE_RESTRICT. * gdbtypes.h (enum type_flag_values): Renumber. (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_RESTRICT. (TYPE_RESTRICT): New macro. (make_restrict_type): Declare. gdb/testsuite * gdb.dwarf2/dw2-restrict.S: New file. * gdb.dwarf2/dw2-restrict.c: New file. * gdb.dwarf2/dw2-restrict.exp: New file. commit 0a07598a6944a2848e1b7d33d0baad774fb9156a Author: Tom Tromey Date: Mon Jan 14 20:51:43 2013 +0000 PR symtab/14931: * psymtab.c (struct psymtab_state): New. (discard_psymtabs_upto, make_cleanup_discard_psymtabs): New functions. * psympriv.h (make_cleanup_discard_psymtabs): Declare. * dwarf2read.c (dwarf2_build_psymtabs): Catch exceptions. gdb/testsuite * gdb.dwarf2/dw2-error.exp: New file. * gdb.dwarf2/dw2-error.c: New file. * gdb.dwarf2/dw2-error.S: New file. commit 5e745c33d04f696ad075cf12c7fd827cea94ddbe Author: Pedro Alves Date: Mon Jan 14 18:06:20 2013 +0000 2013-01-14 Richard Sharman Pedro Alves PR remote/14786 * remote.c (remote_threads_info): Make a copy of the reply from qfThreadInfo and use that instead of rs->buf. commit 02cce7d87ef013ec98d0f0f5f2e1b2615af33cc8 Author: Alan Modra Date: Mon Jan 14 13:14:06 2013 +0000 PR binutils/14813 * bfdio.c (struct bfd_iovec ): Revert 2012-11-06. (memory_bclose): Likewise. Return 0 on success. * cache.c (cache_bclose): Likewise. * opncls.c (opncls_bclose, bfd_close): Likewise. * vms-lib.c (vms_lib_bclose): Likewise. * libbfd.h: Regenerate. ----------------------------------------------------------------------- Summary of changes: .gitignore | 18 +- ChangeLog | 33 +- Makefile.def | 2 +- Makefile.in | 18 +- Makefile.tpl | 2 +- bfd/ChangeLog | 169 + bfd/Makefile.am | 4 + bfd/Makefile.in | 6 + bfd/aout0.c | 2 +- bfd/archive.c | 2 +- bfd/archures.c | 8 +- bfd/bfd-in.h | 4 +- bfd/bfd-in2.h | 80 +- bfd/bfdio.c | 6 +- bfd/cache.c | 4 +- bfd/coff-alpha.c | 6 +- bfd/coff-i860.c | 2 +- bfd/coff-mips.c | 4 +- bfd/coff-ppc.c | 8 +- bfd/coff-tic80.c | 2 +- bfd/coff-x86_64.c | 2 +- bfd/coff-z80.c | 8 +- bfd/coffcode.h | 16 +- bfd/coffgen.c | 6 +- bfd/cofflink.c | 6 +- bfd/compress.c | 4 +- bfd/config.bfd | 5 + bfd/configure | 1 + bfd/configure.in | 1 + bfd/corefile.c | 4 +- bfd/cpu-arm.c | 4 +- bfd/cpu-avr.c | 24 +- bfd/cpu-bfin.c | 2 +- bfd/cpu-cr16.c | 2 +- bfd/cpu-cr16c.c | 2 +- bfd/cpu-crx.c | 2 +- bfd/cpu-h8300.c | 2 +- bfd/cpu-i386.c | 2 +- bfd/cpu-lm32.c | 4 +- bfd/cpu-m68k.c | 8 +- bfd/{cpu-cr16c.c => cpu-metag.c} | 37 +- bfd/cpu-moxie.c | 2 +- bfd/cpu-msp430.c | 8 +- bfd/cpu-sh.c | 4 +- bfd/cpu-xc16x.c | 2 +- bfd/dwarf2.c | 6 +- bfd/ecofflink.c | 8 +- bfd/ecoffswap.h | 2 +- bfd/elf-bfd.h | 13 +- bfd/elf-ifunc.c | 8 +- bfd/elf-m10300.c | 6 +- bfd/elf-strtab.c | 14 +- bfd/elf-vxworks.c | 14 +- bfd/elf32-avr.c | 8 +- bfd/elf32-avr.h | 2 +- bfd/elf32-cr16.c | 32 +- bfd/elf32-cr16c.c | 4 +- bfd/elf32-cris.c | 2 +- bfd/elf32-crx.c | 28 +- bfd/elf32-frv.c | 6 +- bfd/elf32-hppa.c | 46 +- bfd/elf32-i386.c | 1 + bfd/elf32-i860.c | 2 +- bfd/elf32-ip2k.c | 34 +- bfd/elf32-iq2000.c | 34 +- bfd/elf32-m32c.c | 44 +- bfd/elf32-m68hc1x.c | 8 +- bfd/elf32-metag.c | 4313 ++++++++++++++++++++ bfd/{cpu-cr16c.c => elf32-metag.h} | 42 +- bfd/elf32-msp430.c | 12 +- bfd/elf32-mt.c | 132 +- bfd/elf32-ppc.c | 10 +- bfd/elf32-rl78.c | 16 +- bfd/elf32-s390.c | 12 +- bfd/elf32-score.h | 4 +- bfd/elf32-sh-symbian.c | 20 +- bfd/elf32-sh.c | 18 +- bfd/elf32-spu.c | 14 +- bfd/elf32-tic6x.c | 32 +- bfd/elf32-v850.c | 6 +- bfd/elf32-xc16x.c | 6 +- bfd/elf32-xtensa.c | 216 +- bfd/elf64-alpha.c | 8 +- bfd/elf64-hppa.c | 22 +- bfd/elf64-ppc.c | 12 +- bfd/elf64-s390.c | 2 +- bfd/elf64-x86-64.c | 1 + bfd/elfcore.h | 4 +- bfd/elflink.c | 105 +- bfd/elfxx-mips.c | 12 +- bfd/elfxx-sparc.c | 10 +- bfd/elfxx-tilegx.c | 2 +- bfd/ieee.c | 2 +- bfd/libbfd.h | 40 +- bfd/libcoff.h | 2 +- bfd/libpei.h | 2 +- bfd/libxcoff.h | 10 +- bfd/linker.c | 4 +- bfd/mach-o-i386.c | 4 +- bfd/mach-o-target.c | 2 +- bfd/mach-o.c | 112 +- bfd/mach-o.h | 2 +- bfd/mmo.c | 2 +- bfd/opncls.c | 12 +- bfd/pdp11.c | 2 +- bfd/pe-x86_64.c | 2 +- bfd/peXXigen.c | 2 +- bfd/pef-traceback.h | 32 +- bfd/pei-x86_64.c | 4 +- bfd/peicode.h | 8 +- bfd/plugin.c | 4 +- bfd/reloc.c | 153 +- bfd/riscix.c | 2 +- bfd/section.c | 6 +- bfd/som.c | 6 +- bfd/syms.c | 4 +- bfd/targets.c | 2 + bfd/tekhex.c | 2 +- bfd/ticoff.h | 10 +- bfd/vaxbsd.c | 4 +- bfd/version.h | 2 +- bfd/vms-lib.c | 4 +- bfd/xcofflink.c | 2 +- bfd/xtensa-isa.c | 10 +- config.sub | 4 +- gdb/ChangeLog | 91 + gdb/breakpoint.c | 49 +- gdb/c-typeprint.c | 11 + gdb/cli/cli-decode.c | 7 +- gdb/command.h | 21 +- gdb/corefile.c | 41 +- gdb/dbxread.c | 8 +- gdb/dwarf2read.c | 100 +- gdb/gdbtypes.c | 15 + gdb/gdbtypes.h | 33 +- gdb/macrocmd.c | 4 +- gdb/mdebugread.c | 5 +- gdb/parse.c | 13 +- gdb/psympriv.h | 2 + gdb/psymtab.c | 44 +- gdb/remote.c | 13 +- gdb/solib-svr4.c | 5 +- gdb/source.c | 21 +- gdb/testsuite/ChangeLog | 45 + gdb/testsuite/gdb.base/completion.exp | 3 + gdb/testsuite/gdb.base/dprintf.exp | 22 + gdb/testsuite/gdb.cp/parse-lang.cc | 40 + .../parse-lang.exp} | 30 +- gdb/testsuite/gdb.dwarf2/dw2-error.S | 160 + gdb/testsuite/gdb.dwarf2/dw2-error.c | 21 + gdb/testsuite/gdb.dwarf2/dw2-error.exp | 42 + gdb/testsuite/gdb.dwarf2/dw2-restrict.S | 426 ++ gdb/testsuite/gdb.dwarf2/dw2-restrict.c | 26 + .../dw2-restrict.exp} | 28 +- gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp | 2 +- gdb/testsuite/gdb.mi/mi-fullname-deleted.exp | 12 +- gdb/testsuite/gdb.python/py-finish-breakpoint.exp | 16 +- gdb/tui/tui-source.c | 2 +- gdb/tui/tui-source.h | 2 +- gdb/utils.c | 22 + gdb/utils.h | 2 + gdb/version.in | 2 +- gdb/xcoffread.c | 5 +- include/ChangeLog | 4 + include/dis-asm.h | 1 + include/elf/ChangeLog | 5 + include/elf/common.h | 2 +- include/elf/metag.h | 91 + include/opcode/ChangeLog | 9 + include/opcode/metag.h | 2079 ++++++++++ include/opcode/ppc.h | 8 + opcodes/ChangeLog | 24 + opcodes/Makefile.am | 1 + opcodes/Makefile.in | 2 + opcodes/configure | 1 + opcodes/configure.in | 1 + opcodes/disassemble.c | 11 + opcodes/metag-dis.c | 3384 +++++++++++++++ opcodes/ppc-dis.c | 12 + opcodes/ppc-opc.c | 54 +- sim/v850/ChangeLog | 14 + sim/v850/interp.c | 5 +- sim/v850/v850-dc | 2 +- sim/v850/v850.igen | 116 +- 184 files changed, 12544 insertions(+), 1023 deletions(-) copy bfd/{cpu-cr16c.c => cpu-metag.c} (53%) create mode 100644 bfd/elf32-metag.c copy bfd/{cpu-cr16c.c => elf32-metag.h} (56%) create mode 100644 gdb/testsuite/gdb.cp/parse-lang.cc copy gdb/testsuite/{gdb.mi/mi-fullname-deleted.exp => gdb.cp/parse-lang.exp} (57%) create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-error.S create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-error.c create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-error.exp create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-restrict.S create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-restrict.c copy gdb/testsuite/{gdb.mi/mi-fullname-deleted.exp => gdb.dwarf2/dw2-restrict.exp} (52%) create mode 100644 include/elf/metag.h create mode 100644 include/opcode/metag.h create mode 100644 opcodes/metag-dis.c First 500 lines of diff: diff --git a/.gitignore b/.gitignore index dc1bf3f..bda55a3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,14 +4,16 @@ *.rej *~ -*.a +.#* +*# + *.flt -*.gdb *.gmo *.info *.la *.lo *.o +*.pyc *.tmp .deps @@ -24,17 +26,17 @@ config.intl config.log config.status libtool -Makefile -stamp-* POTFILES *-POTFILES -*/po/Makefile.in + +TAGS +TAGS.sub .gdbinit .gdb_history + +# ignore core files, but not java/net/protocol/core/ core +!core/ lost+found - -*.log -*.sum diff --git a/ChangeLog b/ChangeLog index 32defae..3938723 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,30 @@ +2013-01-11 Joel Brobecker + + Sync with GCC, merge: + + 2013-01-09 Jason Merrill + + * .gitignore: Import from gdb repository. + +2013-01-11 Jan-Benedict Glaw + + * config.sub: Update from config repo. + +2013-01-11 Eric Botcazou + + * Makefile.tpl (BOOT_ADAFLAGS): Remove -gnata. + * Makefile.in: Regenerate. + +2013-01-09 H.J. Lu + + * Makefile.def (configure-gcc): Depend on all-gmp. + (all-gcc): Remove dependency on all-gmp. + * Makefile.in: Regenerated. + 2013-01-08 Jan-Benedict Glaw - * config.guss: Update from config repo. - * config.sub: Dito. + * config.guess: Update from config repo. + * config.sub: Ditto. 2013-01-07 Jeff Johnston @@ -50,9 +73,9 @@ 2012-11-30 Jan-Benedict Glaw * configure.ac: Merge from GCC. - * Makefile.tpl: Dito. - * Makefile.in: Dito. - * configure: Dito. + * Makefile.tpl: Ditto. + * Makefile.in: Ditto. + * configure: Ditto. 2012-11-28 Jan-Benedict Glaw diff --git a/Makefile.def b/Makefile.def index edf87b9..bc5c0fc 100644 --- a/Makefile.def +++ b/Makefile.def @@ -291,6 +291,7 @@ dependencies = { module=all-build-fixincludes; on=all-build-libiberty; }; // Host modules specific to gcc. dependencies = { module=configure-gcc; on=configure-intl; }; +dependencies = { module=configure-gcc; on=all-gmp; }; dependencies = { module=configure-gcc; on=all-lto-plugin; }; dependencies = { module=configure-gcc; on=all-binutils; }; dependencies = { module=configure-gcc; on=all-gas; }; @@ -298,7 +299,6 @@ dependencies = { module=configure-gcc; on=all-ld; }; dependencies = { module=configure-gcc; on=all-gold; }; dependencies = { module=configure-gcc; on=all-libelf; }; dependencies = { module=all-gcc; on=all-libiberty; hard=true; }; -dependencies = { module=all-gcc; on=all-gmp; }; dependencies = { module=all-gcc; on=all-intl; }; dependencies = { module=all-gcc; on=all-mpfr; }; dependencies = { module=all-gcc; on=all-mpc; }; diff --git a/Makefile.in b/Makefile.in index 3e24047..a2ce354 100644 --- a/Makefile.in +++ b/Makefile.in @@ -364,7 +364,7 @@ BUILD_PREFIX_1 = @BUILD_PREFIX_1@ # here so that they can be overridden by Makefile fragments. BOOT_CFLAGS= -g -O2 BOOT_LDFLAGS= -BOOT_ADAFLAGS=-gnatpg -gnata +BOOT_ADAFLAGS= -gnatpg AWK = @AWK@ SED = @SED@ @@ -45485,6 +45485,14 @@ configure-stage3-gcc: maybe-configure-stage3-intl configure-stage4-gcc: maybe-configure-stage4-intl configure-stageprofile-gcc: maybe-configure-stageprofile-intl configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl +configure-gcc: maybe-all-gmp + +configure-stage1-gcc: maybe-all-stage1-gmp +configure-stage2-gcc: maybe-all-stage2-gmp +configure-stage3-gcc: maybe-all-stage3-gmp +configure-stage4-gcc: maybe-all-stage4-gmp +configure-stageprofile-gcc: maybe-all-stageprofile-gmp +configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp configure-gcc: maybe-all-lto-plugin configure-stage1-gcc: maybe-all-stage1-lto-plugin @@ -45541,14 +45549,6 @@ all-stage3-gcc: all-stage3-libiberty all-stage4-gcc: all-stage4-libiberty all-stageprofile-gcc: all-stageprofile-libiberty all-stagefeedback-gcc: all-stagefeedback-libiberty -all-gcc: maybe-all-gmp - -all-stage1-gcc: maybe-all-stage1-gmp -all-stage2-gcc: maybe-all-stage2-gmp -all-stage3-gcc: maybe-all-stage3-gmp -all-stage4-gcc: maybe-all-stage4-gmp -all-stageprofile-gcc: maybe-all-stageprofile-gmp -all-stagefeedback-gcc: maybe-all-stagefeedback-gmp all-gcc: maybe-all-intl all-stage1-gcc: maybe-all-stage1-intl diff --git a/Makefile.tpl b/Makefile.tpl index 5cdc119..3233a78 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -367,7 +367,7 @@ BUILD_PREFIX_1 = @BUILD_PREFIX_1@ # here so that they can be overridden by Makefile fragments. BOOT_CFLAGS= -g -O2 BOOT_LDFLAGS= -BOOT_ADAFLAGS=-gnatpg -gnata +BOOT_ADAFLAGS= -gnatpg AWK = @AWK@ SED = @SED@ diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7abc268..7aeba6f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,172 @@ +2013-01-15 Alan Modra + + * elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to + plt-thread-safe. + +2013-01-14 Alan Modra + + PR binutils/14813 + * bfdio.c (struct bfd_iovec ): Revert 2012-11-06. + (memory_bclose): Likewise. Return 0 on success. + * cache.c (cache_bclose): Likewise. + * opncls.c (opncls_bclose, bfd_close): Likewise. + * vms-lib.c (vms_lib_bclose): Likewise. + * libbfd.h: Regenerate. + +2013-01-13 Alan Modra + + * elf-bfd.h (struct elf_link_hash_entry): Delete dynamic_weak. + Add ref_dynamic_nonweak. + * elflink.c (_bfd_elf_mark_dynamic_def_weak): Delete. + (_bfd_elf_merge_symbol): Don't call above function. Move + setting of ref_dynamic_nonweak and dynamic_def earlier. Don't + clear dynamic_def. + (elf_link_add_object_symbols): Delete redundant "override" test. + Don't set dynamic_def here. + (elf_link_output_extsym): Update. + +2013-01-12 H.J. Lu + + * elf32-i386.c (elf_i386_check_relocs): Set bfd errror for + normal and TLS symbol access. + * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise. + +2013-01-12 Alan Modra + + * elf-bfd.h (_bfd_elf_strtab_refcount): Declare. + * elf-strtab.c (_bfd_elf_strtab_refcount): New function. + * elflink.c (elf_add_dt_needed_tag): Use _bfd_elf_strtab_refcount. + +2013-01-12 Alan Modra + + PR ld/12549 + * elf-bfd.h (_bfd_elf_strtab_clear_refs): Declare. + (_bfd_elf_strtab_clear_all_refs): Define. + * elf-strtab.c (_bfd_elf_strtab_clear_refs): New function. + (_bfd_elf_strtab_clear_all_refs): Delete. + * elflink.c (elf_link_add_object_symbols): Clear out added + strtab refs. Correct handling of warning common symbols. + +2013-01-10 H.J. Lu + + * aout0.c: Remove trailing white spaces. + * archive.c: Likewise. + * archures.c: Likewise. + * bfd-in.h: Likewise. + * bfd-in2.h: Likewise. + * coff-alpha.c: Likewise. + * coff-i860.c: Likewise. + * coff-mips.c: Likewise. + * coff-ppc.c: Likewise. + * coff-tic80.c: Likewise. + * coff-x86_64.c: Likewise. + * coff-z80.c: Likewise. + * coffcode.h: Likewise. + * coffgen.c: Likewise. + * cofflink.c: Likewise. + * compress.c: Likewise. + * corefile.c: Likewise. + * cpu-arm.c: Likewise. + * cpu-avr.c: Likewise. + * cpu-bfin.c: Likewise. + * cpu-cr16.c: Likewise. + * cpu-cr16c.c: Likewise. + * cpu-crx.c: Likewise. + * cpu-h8300.c: Likewise. + * cpu-i386.c: Likewise. + * cpu-lm32.c: Likewise. + * cpu-m68k.c: Likewise. + * cpu-moxie.c: Likewise. + * cpu-msp430.c: Likewise. + * cpu-sh.c: Likewise. + * cpu-xc16x.c: Likewise. + * dwarf2.c: Likewise. + * ecofflink.c: Likewise. + * ecoffswap.h: Likewise. + * elf-ifunc.c: Likewise. + * elf-m10300.c: Likewise. + * elf-vxworks.c: Likewise. + * elf32-avr.c: Likewise. + * elf32-avr.h: Likewise. + * elf32-cr16.c: Likewise. + * elf32-cr16c.c: Likewise. + * elf32-cris.c: Likewise. + * elf32-crx.c: Likewise. + * elf32-frv.c: Likewise. + * elf32-hppa.c: Likewise. + * elf32-i860.c: Likewise. + * elf32-ip2k.c: Likewise. + * elf32-iq2000.c: Likewise. + * elf32-m32c.c: Likewise. + * elf32-m68hc1x.c: Likewise. + * elf32-msp430.c: Likewise. + * elf32-mt.c: Likewise. + * elf32-ppc.c: Likewise. + * elf32-rl78.c: Likewise. + * elf32-s390.c: Likewise. + * elf32-score.h: Likewise. + * elf32-sh-symbian.c: Likewise. + * elf32-sh.c: Likewise. + * elf32-spu.c: Likewise. + * elf32-tic6x.c: Likewise. + * elf32-v850.c: Likewise. + * elf32-xc16x.c: Likewise. + * elf32-xtensa.c: Likewise. + * elf64-alpha.c: Likewise. + * elf64-hppa.c: Likewise. + * elf64-ppc.c: Likewise. + * elf64-s390.c: Likewise. + * elfcore.h: Likewise. + * elflink.c: Likewise. + * elfxx-mips.c: Likewise. + * elfxx-sparc.c: Likewise. + * elfxx-tilegx.c: Likewise. + * ieee.c: Likewise. + * libcoff.h: Likewise. + * libpei.h: Likewise. + * libxcoff.h: Likewise. + * linker.c: Likewise. + * mach-o-i386.c: Likewise. + * mach-o-target.c: Likewise. + * mach-o.c: Likewise. + * mach-o.h: Likewise. + * mmo.c: Likewise. + * opncls.c: Likewise. + * pdp11.c: Likewise. + * pe-x86_64.c: Likewise. + * peXXigen.c: Likewise. + * pef-traceback.h: Likewise. + * pei-x86_64.c: Likewise. + * peicode.h: Likewise. + * plugin.c: Likewise. + * reloc.c: Likewise. + * riscix.c: Likewise. + * section.c: Likewise. + * som.c: Likewise. + * syms.c: Likewise. + * tekhex.c: Likewise. + * ticoff.h: Likewise. + * vaxbsd.c: Likewise. + * xcofflink.c: Likewise. + * xtensa-isa.c: Likewise. + +2013-01-10 Will Newton + + * Makefile.am: Add Meta. + * Makefile.in: Regenerate. + * archures.c (bfd_mach_metag): New. + * bfd-in2.h: Regenerate. + * config.bfd: Add Meta. + * configure: Regenerate. + * configure.in: Add Meta. + * cpu-metag.c: New file. + * elf-bfd.h: Add Meta. + * elf32-metag.c: New file. + * elf32-metag.h: New file. + * libbfd.h: Regenerate. + * reloc.c: Add Meta relocations. + * targets.c: Add Meta. + 2013-01-08 Yufeng Zhang * elf-bfd.h (elfcore_write_aarch_tls): Add prototype. diff --git a/bfd/Makefile.am b/bfd/Makefile.am index 6fe6cb2..8098ee4 100644 --- a/bfd/Makefile.am +++ b/bfd/Makefile.am @@ -129,6 +129,7 @@ ALL_MACHINES = \ cpu-m88k.lo \ cpu-mcore.lo \ cpu-mep.lo \ + cpu-metag.lo \ cpu-microblaze.lo \ cpu-mips.lo \ cpu-mmix.lo \ @@ -211,6 +212,7 @@ ALL_MACHINES_CFILES = \ cpu-m88k.c \ cpu-mcore.c \ cpu-mep.c \ + cpu-metag.c \ cpu-microblaze.c \ cpu-mips.c \ cpu-mmix.c \ @@ -340,6 +342,7 @@ BFD32_BACKENDS = \ elf32-m88k.lo \ elf32-mcore.lo \ elf32-mep.lo \ + elf32-metag.lo \ elf32-microblaze.lo \ elf32-mips.lo \ elf32-moxie.lo \ @@ -528,6 +531,7 @@ BFD32_BACKENDS_CFILES = \ elf32-m88k.c \ elf32-mcore.c \ elf32-mep.c \ + elf32-metag.c \ elf32-microblaze.c \ elf32-mips.c \ elf32-moxie.c \ diff --git a/bfd/Makefile.in b/bfd/Makefile.in index c51c342..af4e5ed 100644 --- a/bfd/Makefile.in +++ b/bfd/Makefile.in @@ -430,6 +430,7 @@ ALL_MACHINES = \ cpu-m88k.lo \ cpu-mcore.lo \ cpu-mep.lo \ + cpu-metag.lo \ cpu-microblaze.lo \ cpu-mips.lo \ cpu-mmix.lo \ @@ -512,6 +513,7 @@ ALL_MACHINES_CFILES = \ cpu-m88k.c \ cpu-mcore.c \ cpu-mep.c \ + cpu-metag.c \ cpu-microblaze.c \ cpu-mips.c \ cpu-mmix.c \ @@ -642,6 +644,7 @@ BFD32_BACKENDS = \ elf32-m88k.lo \ elf32-mcore.lo \ elf32-mep.lo \ + elf32-metag.lo \ elf32-microblaze.lo \ elf32-mips.lo \ elf32-moxie.lo \ @@ -830,6 +833,7 @@ BFD32_BACKENDS_CFILES = \ elf32-m88k.c \ elf32-mcore.c \ elf32-mep.c \ + elf32-metag.c \ elf32-microblaze.c \ elf32-mips.c \ elf32-moxie.c \ @@ -1336,6 +1340,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-m9s12xg.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-mcore.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-mep.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-metag.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-microblaze.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-mips.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cpu-mmix.Plo@am__quote@ @@ -1424,6 +1429,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-m88k.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-mcore.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-mep.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-metag.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-microblaze.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-mips.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/elf32-moxie.Plo@am__quote@ diff --git a/bfd/aout0.c b/bfd/aout0.c index 7cec377..be73fa0 100644 --- a/bfd/aout0.c +++ b/bfd/aout0.c @@ -4,7 +4,7 @@ Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or diff --git a/bfd/archive.c b/bfd/archive.c index 2fdc8b9..be0f562 100644 --- a/bfd/archive.c +++ b/bfd/archive.c @@ -2492,7 +2492,7 @@ bsd_write_armap (bfd *arch, bfd_set_error (bfd_error_file_truncated); return FALSE; } - + last_elt = current; H_PUT_32 (arch, map[count].namidx, buf); H_PUT_32 (arch, firstreal, buf + BSD_SYMDEF_OFFSET_SIZE); diff --git a/bfd/archures.c b/bfd/archures.c index 0843f36..d87185d 100644 --- a/bfd/archures.c +++ b/bfd/archures.c @@ -145,7 +145,7 @@ DESCRIPTION .#define bfd_mach_sparc_64bit_p(mach) \ . ((mach) >= bfd_mach_sparc_v9 && (mach) != bfd_mach_sparc_v8plusb) . bfd_arch_spu, {* PowerPC SPU *} -.#define bfd_mach_spu 256 +.#define bfd_mach_spu 256 . bfd_arch_mips, {* MIPS Rxxxx *} .#define bfd_mach_mips3000 3000 .#define bfd_mach_mips3900 3900 @@ -365,6 +365,8 @@ DESCRIPTION .#define bfd_mach_mep 1 .#define bfd_mach_mep_h1 0x6831 .#define bfd_mach_mep_c5 0x6335 +. bfd_arch_metag, +.#define bfd_mach_metag 1 . bfd_arch_ia64, {* HP/Intel ia64 *} .#define bfd_mach_ia64_elf64 64 .#define bfd_mach_ia64_elf32 32 @@ -419,7 +421,7 @@ DESCRIPTION . bfd_arch_s390, {* IBM s390 *} .#define bfd_mach_s390_31 31 .#define bfd_mach_s390_64 64 -. bfd_arch_score, {* Sunplus score *} +. bfd_arch_score, {* Sunplus score *} .#define bfd_mach_score3 3 .#define bfd_mach_score7 7 . bfd_arch_openrisc, {* OpenRISC *} @@ -548,6 +550,7 @@ extern const bfd_arch_info_type bfd_m68k_arch; extern const bfd_arch_info_type bfd_m88k_arch; extern const bfd_arch_info_type bfd_mcore_arch; extern const bfd_arch_info_type bfd_mep_arch; +extern const bfd_arch_info_type bfd_metag_arch; hooks/post-receive -- Repository for Project Archer.