public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: pmuldoon@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  pmuldoon/python-backtrace: Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
Date: Wed, 08 May 2013 10:03:00 -0000	[thread overview]
Message-ID: <20130508100356.12451.qmail@sourceware.org> (raw)

The branch, pmuldoon/python-backtrace has been updated
       via  14e8a80e94883fefbc2c6a16eb32008f0d371c77 (commit)
       via  17e668f7b1ca5ce96a51886433cb751a0e6a2a2e (commit)
       via  cd402a50a7be87d91aa0b0b6e4aa09da6527bbd2 (commit)
       via  8f10c3cb14e9a12eee7080c48e4f1404a6bd75b4 (commit)
       via  d9fc67bdef1d95429ac87b80ce9ee6cbcf536878 (commit)
       via  9811ffc67ae31043fa2140ab167083f3c299f308 (commit)
       via  658b1ee171991584f177badbe08216007220ee9b (commit)
       via  5cfeb4fbc6e51fe4f3e1a89bfc2e9f0f76ffa644 (commit)
       via  d7761df5830ad220cf0ff47e927879d8be7b77c4 (commit)
       via  4ef075f1ce5709607742403fb09c9ec83c85d381 (commit)
       via  071db9fe6db5df2a5997bf873e5f3ce28739c607 (commit)
       via  76d89bfcab8015a6363fad057408d4dc73c342f9 (commit)
       via  24158df9a7c93227c2df45c4211b01d363c6ffb4 (commit)
       via  3ae4170839d072180476bd01b747d95d0b63ed12 (commit)
       via  364608b10bfbcf8943f5e18808734ddcc9206cd4 (commit)
       via  7040211e0e969a8cc08934eeec37e67468015079 (commit)
       via  b8f263742a5673f4ddf988bf93b65274168dc8d9 (commit)
       via  5fa94527e555568c45ddee87fbf6cffe68890a1b (commit)
       via  21d0dc4e8b695d4640942eccb0be44b4267e1f9a (commit)
       via  fa3c0d517f8c36110983288ef2f3cf4bbf4a7f36 (commit)
       via  e012852a9958f732e79d687fc712ec3aba597198 (commit)
       via  616e118a7e18a8eef32b846b7e9d7d4197cec627 (commit)
       via  28ec3e247cc22ecd040eccc138171e6b5746b211 (commit)
       via  1abe07e6a2c57536afbe6f0ddb14f3e9b1d83509 (commit)
       via  1fead7632f25000bedff5f753a32b9987117d66a (commit)
       via  30d53ace28f23643886348bbd13a78d92c305237 (commit)
       via  b0ebc73aab236db66ed9baa3a3c1f5ad6336d3c5 (commit)
       via  d11968d37d20ed65dc9432822b83e948d95b46fe (commit)
       via  07c04815e9ba61fb80dfa8b09c88eaabf432126e (commit)
       via  9476ac0cbd9ac8410ce1541b5ea0edae425ef3d5 (commit)
       via  fdf76be874627e0dde995e5555e2c6926bf88db7 (commit)
       via  b490dc7610f05ed3a3eb9227c82cf1a5cf8f7c97 (commit)
       via  d9b323ee990314df7981c2d599e932606abc74a4 (commit)
       via  1bd49fda93db2805d821307ac8cf65e01d5b54a4 (commit)
       via  8a3b4bbdafa5b601e0af356dc73b88b06c6d7332 (commit)
       via  8ef0b952c0422658fb407917888d4c98fa55117f (commit)
       via  faa73d425d03b16dcbb3d7135872558c1852dd45 (commit)
       via  a9fce1bc95601cd0521adb498a5c3d00a2f41aed (commit)
       via  f38f5ec74d176ff96ee2a3e642a2920d0e130d20 (commit)
       via  dc40faa5c564ede6b8f901bc1a7dee76c18c2861 (commit)
       via  1b8065336312d4e5b9ef920db43f77f972be4ce7 (commit)
       via  96e1ff24b57219e6dffbb90cc023e4cf5027a688 (commit)
       via  7862bb5d7eb447f0ae4279d04aedf05bcc254526 (commit)
       via  cb59f805bbc0ce5ea8bdb58eb582d50fdd6de84d (commit)
       via  ad8562bf2c2e0d54f691ab4bd6e81de0143e02a8 (commit)
       via  b9f55e3156d158077c25cff30d68ab07cb85984d (commit)
       via  2a76aec91cbf604b4320ff1cf0bc4576a4c916fa (commit)
       via  f715391fbc62f5406db7ff23c6db5b8b5bdbd08f (commit)
       via  4f9c83799fdc146d90c2424ed1cbfcfd4b74147a (commit)
       via  9b3730b42180d941c99d31df0db47867bf6398cd (commit)
       via  94777abfb8f831fd0dadc9b0572eb097fd50bea3 (commit)
       via  b395cb33dba6c1bf90226e31de32a59c319963b7 (commit)
       via  64b107b6b447c11b4a7891470930e364df930e7a (commit)
       via  322c436665d75aaeadadbcb1e3e05b12b437b08c (commit)
       via  bdefcb14adb0f892bb613a8e891a031775fe6dff (commit)
       via  20e2838e70a394df2bcc6867b20cf5986eed6b4a (commit)
       via  1121c709b97fe993a34cdec5fd527898704fb8eb (commit)
       via  10033b6300129b4662b199a3903da79677c2ddd0 (commit)
       via  cbc2f1cd213ffcc8d77dbed2654f5eb013182f2f (commit)
       via  548fe3aeed52402480a707202c78933b7f0d3748 (commit)
       via  1d1e0c44fe05d65f68f73a77e29b1474a9ddfb95 (commit)
       via  ef40e27e0cee297fac4f7a247ff40f39433fbaf0 (commit)
       via  16c0b11b02771012bf4514ba955f681e5994ce3c (commit)
       via  f48fd02843a2da4e0421d9dfa00686d300a71e16 (commit)
       via  3efe260e9d1d0ce992494820b3a6d180a998917e (commit)
       via  029d1bad2ac0ff638ecab4b1bb8f737bdb44b417 (commit)
       via  82b03c1289c0b95aa5daf168251b51458a996b76 (commit)
       via  3fe4aa22545a548d3064fa3ea4e88e8369e45e51 (commit)
       via  bbafb912fa731c7d09c5ebcbeaffb49b5cb9337a (commit)
       via  bdc44b2ac9424ef0d2fbfdd7b78f73d7933b4289 (commit)
       via  8747f6ed71b9139b1a79ab62202e36537664344d (commit)
       via  e603b201022b4d2668be888f882d685b79198380 (commit)
       via  ddbcc3e74124ccca7a8ad8a1e75070790de3776f (commit)
       via  51c07ff177513a01184013d85875c328732a68d2 (commit)
      from  967deb420c2df1356b914c6319a5dbc93435218b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email.

- Log -----------------------------------------------------------------
commit 14e8a80e94883fefbc2c6a16eb32008f0d371c77
Merge: 967deb4 17e668f
Author: Phil Muldoon <pmuldoon@redhat.com>
Date:   Wed May 8 11:03:37 2013 +0100

    Merge remote-tracking branch 'gdb/master' into pmuldoon/python-backtrace
    
    Conflicts:
    	gdb/NEWS

commit 17e668f7b1ca5ce96a51886433cb751a0e6a2a2e
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed May 8 06:25:20 2013 +0000

    Avoid duplicating text in sol-thread.c:info_cb
    
    This is a minor cleanup that helps avoiding duplicating the output
    of a command when handling alternative situations.
    
    gdb/ChangeLog:
    
            * sol-thread.c (info_cb): Factorize the code a little.

commit cd402a50a7be87d91aa0b0b6e4aa09da6527bbd2
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed May 8 06:23:50 2013 +0000

    Improve output of "maintenance info sol-threads" command.
    
    This patch does the following:
      - Puts the startfunc and "Sleep func" info on the same line;
      - Renames "Sleep func" into "sleepfunc" to be consistent with
        "startfunc"
      - Avoids the use of a '-' as a separate before the "sleepfunc"
        output, because the '-' looks odd and out of place when the
        "startfunc" field is not printed (ti.ti_startfunc is nul).
      - Use a '=' instead of ':' and avoids the space between
        the name of the value and its value, mostly to help group
        the value with its name.
    
    For the record, this is how the new outout now looks like:
    
        (gdb) maintenance info sol-threads
        user   thread #1, lwp 1, (active)
        system thread #2, lwp 2, (active)
        system thread #3, lwp 0, (asleep)    sleepfunc=0xff32d9e0
        user   thread #4, lwp 4, (asleep)    startfunc=[...].task_wrapper   sleepfunc=0xff3290f0
        system thread #5, lwp 7, (active)    startfunc=_co_timerset
        user   thread #6, lwp 8, (active)    startfunc=[...].task_wrapper
    
    gdb/ChangeLog:
    
            * sol-thread.c (info_cb): Rework the output of the "maintenance
            info sol-threads" command a bit.

commit 8f10c3cb14e9a12eee7080c48e4f1404a6bd75b4
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed May 8 06:19:32 2013 +0000

    ti.ti_pc vs ti.ti_startfunc copy-pasto in sol-thread.c:info_cb
    
    gdb/ChangeLog:
    
            * sol-thread.c (info_cb) [ti.ti_state == TD_THR_SLEEP]:
            Replace ti.ti_startfunc by ti.ti_pc.
    
    Probably OK to commit without approval, so will likely do so in the
    next few days.

commit d9fc67bdef1d95429ac87b80ce9ee6cbcf536878
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed May 8 06:10:02 2013 +0000

    Dummy implementation of solib_aix_free_library_list if libexpat missing.
    
    gdb/ChangeLog:
    
            * solib-aix.c (solib_aix_free_library_list): New function
            for the case where HAVE_LIBEXPAT is not defined.

commit 9811ffc67ae31043fa2140ab167083f3c299f308
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed May 8 05:50:47 2013 +0000

    [doco] Document the XML format used for AIX shared lib support.
    
    gdb/doc/ChangeLog:
    
            * gdbint.texinfo (Native Debugging): Add "AIX Shared Library
            Support" subsection documenting the XML format used to transfer
            shared library info on AIX.

commit 658b1ee171991584f177badbe08216007220ee9b
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Wed May 8 05:40:44 2013 +0000

    Document set/show debug aix-solib.
    
    gdb/doc/ChangeLog:
    
            * gdb.texinfo (Debugging Output): Add documentation of
            "set debug aix-solib" and "show debug aix-solib" commands.

commit 5cfeb4fbc6e51fe4f3e1a89bfc2e9f0f76ffa644
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Wed May 8 00:00:06 2013 +0000

    daily update

commit d7761df5830ad220cf0ff47e927879d8be7b77c4
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Wed May 8 00:00:02 2013 +0000

    *** empty log message ***

commit 4ef075f1ce5709607742403fb09c9ec83c85d381
Author: Tom Tromey <tromey@redhat.com>
Date:   Tue May 7 18:06:16 2013 +0000

    	* lib/selftest-support.exp: New file.
    	* gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
    	do_self_tests.
    	(setup_test, find_gdb): Remove.
    	* gdb.gdb/observer.exp: Load selftest-support.exp.  Use
    	do_self_tests.
    	(setup_test, find_gdb): Remove.
    	(test_observer): Don't call setup_test.  Remove argument.
    	* gdb.gdb/selftest.exp: Load selftest-support.exp.
    	(find_gdb): Remove.
    	* gdb.gdb/complaints.exp: Load selftest-support.exp.  Use
    	do_self_tests.
    	(setup_test, find_gdb): Remove.
    	(test_with_self): Don't call setup_test.  Remove argument.

commit 071db9fe6db5df2a5997bf873e5f3ce28739c607
Author: Pedro Alves <palves@redhat.com>
Date:   Tue May 7 17:51:42 2013 +0000

    Merge gdb.arch/system-gcore.exp into gdb.base/gcore.exp
    
    The test case gdb.arch/system-gcore.exp is almost an identical copy of
    gdb.base/gcore.exp.  The only functional change is the additional
    comparison of the "info reg system" command output.
    
    It should be safe to perform this comparison on all architectures.
    Thus the patch removes the arch-specific version and adds "info reg
    system" to the common gcore test case instead.
    
    Tested on i686-linux and s390x-linux.
    
    gdb/testsuite/Changelog:
    2013-05-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
    
    	* gdb.arch/system-gcore.exp: Remove.
    	* gdb.arch/gcore.c: Remove.
    	* gdb.base/gcore.exp: Add "info reg system".

commit 76d89bfcab8015a6363fad057408d4dc73c342f9
Author: sergiodj <sergiodj>
Date:   Tue May 7 17:04:28 2013 +0000

    gdb/
    2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	PR breakpoints/15413:
    	* breakpoint.c (condition_completer): Simplify the code to
    	disconsider multiple locations of breakpoints when completing the
    	"condition" command.
    
    gdb/testsuite/
    2013-05-07  Sergio Durigan Junior  <sergiodj@redhat.com>
    
    	PR breakpoints/15413:
    	* gdb.base/pending.exp: Add test for completion of the "condition"
    	command for pending breakpoints.
    	* gdb.linespec/linespec.ex: Add test for completion of the
    	"condition" command when dealing with multiple locations.

commit 24158df9a7c93227c2df45c4211b01d363c6ffb4
Author: willnewton <willnewton>
Date:   Tue May 7 17:03:51 2013 +0000

    bfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs.
    
    bfd/ChangeLog:
    
    2013-05-07  Will Newton  <will.newton@linaro.org>
    
    	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a
    	plt_header_size argument for ports where it differs from
    	plt_entry_size.
    	* elf-bfd.h: Likewise.
    	* elf32-i386.c: Pass plt_header_size to
    	_bfd_elf_allocate_ifunc_dyn_relocs.
    	* elf64-x86-64.c: Likewise.

commit 3ae4170839d072180476bd01b747d95d0b63ed12
Author: willnewton <willnewton>
Date:   Tue May 7 17:01:11 2013 +0000

    bfd/elf-ifunc.c: Remove unused function _bfd_elf_create_ifunc_dyn_reloc.
    
    bfd/ChangeLog:
    
    2013-05-07  Will Newton  <will.newton@linaro.org>
    
            * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused
    	function.
    	* elf-bfd.h: Likewise.

commit 364608b10bfbcf8943f5e18808734ddcc9206cd4
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue May 7 13:04:58 2013 +0000

    	* common/linux-btrace.c: ARI fix: Include "gdb_wait.h"
    	instead of <sys/wait.h>.

commit 7040211e0e969a8cc08934eeec37e67468015079
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue May 7 13:02:19 2013 +0000

    	* nios2-tdep.c (nios2_dwarf_reg_to_regnum): ARI fix: remove
    	trailing new line from warning message.

commit b8f263742a5673f4ddf988bf93b65274168dc8d9
Author: Pierre Muller <muller@ics.u-strasbg.fr>
Date:   Tue May 7 13:00:06 2013 +0000

    	* contrib/ari/gdb_ari.sh (SOLIB_ADD, SOLIB_CREATE_INFERIOR_HOOK)
    	(PC_SOLIB): Change type from ari_deprecate to ari_regression.

commit 5fa94527e555568c45ddee87fbf6cffe68890a1b
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue May 7 12:40:08 2013 +0000

    Add missing ChangeLog entries...
    
    ... for the following commits:
    
    2013-05-07  Joel Brobecker  <brobecker@adacore.com>
    
           * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
           error message (ARI fix).
    
    2013-05-07  Joel Brobecker  <brobecker@adacore.com>
    
           * features/library-list-aix.dtd: Replace library-list by
           library-list-aix.
           * rs6000-nat.c: Replace library-list by library-list-aix
           throughout.
           * solib-aix.c: Likewise.
    
    2013-05-07  Joel Brobecker  <brobecker@adacore.com>
    
           * target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
           Renames TARGET_OBJECT_AIX_LIBRARIES.
           * rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
           TARGET_OBJECT_LIBRARIES_AIX throughout.
           * solib-aix.c: Likwise.
    
    There were added, but accidently not checked in.

commit 21d0dc4e8b695d4640942eccb0be44b4267e1f9a
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue May 7 12:36:13 2013 +0000

    rs6000-nat.c:rs6000_core_ldinfo: Remove \n at end of error message.
    
    gdb/ChangeLog:
    
            * rs6000-nat.c (rs6000_core_ldinfo): Remove '\n' at end of
            error message (ARI fix).

commit fa3c0d517f8c36110983288ef2f3cf4bbf4a7f36
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue May 7 09:50:49 2013 +0000

    AIX: Change XML to use library-list-aix instead of library-list.
    
    This is more consistent with what we do with other similar XML lists,
    and avoids a potential confusion with the library-list XML list.
    
    gdb/ChangeLog:
    
            * features/library-list-aix.dtd: Replace library-list by
            library-list-aix.
            * rs6000-nat.c: Replace library-list by library-list-aix
            throughout.
            * solib-aix.c: Likewise.

commit e012852a9958f732e79d687fc712ec3aba597198
Author: Joel Brobecker <brobecker@gnat.com>
Date:   Tue May 7 09:50:41 2013 +0000

    Rename TARGET_OBJECT_AIX_LIBRARIES to TARGET_OBJECT_LIBRARIES_AIX
    
    More consistent with the name of other similar object names.
    
    gdb/ChangeLog:
    
    	* target.h (enum target_object) [TARGET_OBJECT_LIBRARIES_AIX]:
    	Renames TARGET_OBJECT_AIX_LIBRARIES.
    	* rs6000-nat.c: Replace TARGET_OBJECT_AIX_LIBRARIES with
    	TARGET_OBJECT_LIBRARIES_AIX throughout.
    	* solib-aix.c: Likwise.

commit 616e118a7e18a8eef32b846b7e9d7d4197cec627
Author: qiyao <qiyao>
Date:   Tue May 7 09:26:09 2013 +0000

    gdb/
    	* solib-dsbt.c (struct dsbt_info) <enable_break2_done>: Remove.
    	(get_dsbt_info, enable_break, dsbt_clear_solib): Update.

commit 28ec3e247cc22ecd040eccc138171e6b5746b211
Author: qiyao <qiyao>
Date:   Tue May 7 09:23:27 2013 +0000

    gdb/
    	* solib-dsbt.c (enable_break): Declare.
    	(dsbt_current_sos): Remove call to enable_break2.
    	(enable_break2): Rename to enable_break.  Set solib breakpoint
    	on '_dl_debug_state'.
    	(enable_break): Remove.

commit 1abe07e6a2c57536afbe6f0ddb14f3e9b1d83509
Author: Luis Machado <luisgpm@br.ibm.com>
Date:   Tue May 7 07:43:33 2013 +0000

    	gdb/
    	* ppc-linux-nat.c (ppc_linux_new_thread): Clear the new thread's
    	debug state prior to replicating existing hardware watchpoints or
    	breakpoints.
    
    	gdb/testsuite/
    	* gdb.threads/wp-replication.c: New file.
    	* gdb.threads/wp-replication.exp: New file.

commit 1fead7632f25000bedff5f753a32b9987117d66a
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Tue May 7 01:38:04 2013 +0000

    gdb/
    	* gcore.c (gcore_create_callback): Ignore sections with
    	separate_debug_objfile_backlink != NULL.

commit 30d53ace28f23643886348bbd13a78d92c305237
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Tue May 7 01:12:41 2013 +0000

    2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
    
    	gdb/testsuite/
    	* gdb.xml/tdesc-regs.exp: Add case for nios2.

commit b0ebc73aab236db66ed9baa3a3c1f5ad6336d3c5
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Tue May 7 01:11:16 2013 +0000

    2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
    	    Andrew Jenner  <andrew@codesourcery.com>
    
    	gdb/gdbserver/
    	* Makefile.in (SFILES): Add linux-nios2-low.c.
    	(clean): Add action to delete nios2-linux.c.
    	(nios2-linux.c): New rule.
    	* configure.srv: Add nios2*-*-linux*.
    	* linux-nios2-low.c: New.

commit d11968d37d20ed65dc9432822b83e948d95b46fe
Author: Sandra Loosemore <sandra@codesourcery.com>
Date:   Tue May 7 01:09:27 2013 +0000

    2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
    	    Andrew Jenner  <andrew@codesourcery.com>
    	    Chung-Lin Tang  <cltang@codesourcery.com>
    	    Julian Brown  <julian@codesourcery.com>
    
    	Based on the nios2-elf port from Altera Corporation.
    
    	gdb/
    	* Makefile.in (ALL_TARGET_OBS): Add nios2-tdep.o and
    	nios2-linux-tdep.o.
    	(HFILES_NO_SRCDIR): Add nios2-tdep.h.
    	(ALLDEPFILES): Add nios2-tdep.c and nios2-linux-tdep.c.
    	* configure.tgt: Add nios2*-*-linux* and nios2*-*-* targets.
    	* nios2-tdep.h: New.
    	* nios2-tdep.c: New.
    	* nios2-linux-tdep.c: New.
    	* features/Makefile (WHICH): Add nios2-linux.
    	(nios2-linux-expedite): Set.
    	* features/nios2-cpu.xml: New.
    	* features/nios2.xml: New.
    	* features/nios2-linux.xml: New.
    	* features/nios2.c: New (autogenerated).
    	* features/nios2-linux.c: New (autogenerated).
    	* regformats/nios2-linux.dat: New (autogenerated).
    	* NEWS (Changes since GDB 7.6): Add new Nios II targets
    	and commands.
    
    	gdb/doc/
    	* gdb.texinfo (Nios II): New section.
    	(Nios II Features): New section.

commit 07c04815e9ba61fb80dfa8b09c88eaabf432126e
Author: Doug Evans <dje@google.com>
Date:   Tue May 7 00:02:10 2013 +0000

    	* symfile.c: Whitespace cleanup.

commit 9476ac0cbd9ac8410ce1541b5ea0edae425ef3d5
Author: Alan Modra <amodra@bigpond.net.au>
Date:   Tue May 7 00:00:04 2013 +0000

    daily update

commit fdf76be874627e0dde995e5555e2c6926bf88db7
Author: gdbadmin <gdbadmin@sourceware.org>
Date:   Tue May 7 00:00:02 2013 +0000

    *** empty log message ***

commit b490dc7610f05ed3a3eb9227c82cf1a5cf8f7c97
Author: Doug Evans <dje@google.com>
Date:   Mon May 6 22:20:18 2013 +0000

    	* gdb.base/solib-search-lib1.c: New file.
    	* gdb.base/solib-search-lib2.c: New file.
    	* gdb.base/solib-search.c: New file.
    	* gdb.base/solib-search.h: New file.
    	* gdb.base/solib-search.exp: New file.

commit d9b323ee990314df7981c2d599e932606abc74a4
Author: Doug Evans <dje@google.com>
Date:   Mon May 6 22:18:37 2013 +0000

    	* solist.h (struct target_so_ops): New member clear_so.
    	* solib-svr4.c (svr4_clear_so): New function.
    	(_initialize_svr4_solib): Set svr4_so_ops.clear_so.
    	* solib.c (clear_so): Renamed from free_so_symbols.
    	All callers updated.  Call target clear_so if it exists.

commit 1bd49fda93db2805d821307ac8cf65e01d5b54a4
Author: Doug Evans <dje@google.com>
Date:   Mon May 6 22:11:15 2013 +0000

    	* lib/gdb.exp (gdb_core_cmd): New function.
    	* gdb.arch/system-gcore.exp: Use it.
    	* gdb.arch/vsx-regs.exp: Ditto.
    	* gdb.base/gcore.exp: Ditto.
    	* gdb.threads/gcore-thread.exp: Ditto.

commit 8a3b4bbdafa5b601e0af356dc73b88b06c6d7332
Author: Doug Evans <dje@google.com>
Date:   Mon May 6 22:07:13 2013 +0000

    	* gdb.reverse/shr.h: New file.
    	* gdb.reverse/shr1.c: New file.
    	* gdb.reverse/shr2.c: #include "shr.h".
    	* gdb.reverse/solib-reverse.c: Remove #include <stdio.h>.
    	#include "shr.h".  Replace calls to printf,sleep to call shr1 instead.
    	* gdb.reverse/solib-precsave.exp: Build shr2.sl.
    	Update tests using sleep/printf to use shr2.sl instead.
    	* gdb.reverse/solib-reverse.exp: Ditt.o

commit 8ef0b952c0422658fb407917888d4c98fa55117f
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 6 19:46:15 2013 +0000

    	* ada-lang.c (ada_value_primitive_packed_val): Don't
    	call value_incref.
    	* value.c (set_value_parent): Incref the new parent and decref
    	the old parent.
    	(value_copy, value_primitive_field): Use set_value_parent.

commit faa73d425d03b16dcbb3d7135872558c1852dd45
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 6 19:44:03 2013 +0000

    	* dwarf2loc.c (invalid_synthetic_pointer): Move earlier.
    	(indirect_pieced_value): Call dwarf2_fetch_constant_bytes
    	if needed.
    	* dwarf2loc.h (dwarf2_fetch_constant_bytes): Declare.
    	* dwarf2read.c (write_constant_as_bytes)
    	(dwarf2_fetch_constant_bytes): New functions.
    gdb/testsuite
    	* gdb.dwarf2/implptrconst.c: New file.
    	* gdb.dwarf2/implptrconst.exp: New file.
    	* lib/dwarf.exp (Dwarf::_nz_quote): New proc.
    	(Dwarf::_handle_DW_FORM): Handle DW_FORM_block1.
    	(Dwarf::_location): Handle DW_OP_GNU_implicit_pointer.

commit a9fce1bc95601cd0521adb498a5c3d00a2f41aed
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 6 19:39:08 2013 +0000

    	* dwarf2read.c (dwarf2_const_value_data): Remove unused
    	parameters.
    	(dwarf2_const_value_attr): Update.

commit f38f5ec74d176ff96ee2a3e642a2920d0e130d20
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 6 19:38:04 2013 +0000

    	* somread.c (som_symfile_offsets): Add 'const' to addrs.
    	* machoread.c (macho_symfile_offsets): Add 'const' to addrs.
    	* xcoffread.c (xcoff_symfile_offsets): Add 'const' to addrs.
    	Remove declaration.

commit dc40faa5c564ede6b8f901bc1a7dee76c18c2861
Author: Tom Tromey <tromey@redhat.com>
Date:   Mon May 6 19:28:36 2013 +0000

    	* dwarf2read.c (dwarf2_const_value_attr): Use 'obstack', not
    	objfile's obstack.

commit 1b8065336312d4e5b9ef920db43f77f972be4ce7
Author: Doug Evans <dje@google.com>
Date:   Mon May 6 19:15:17 2013 +0000

    	* dbxread.c (process_one_symbol): Constify section_offsets parameter.
    	* stabsread.h (process_one_symbol): Update declaration.
    	* dwarf2read.c (dw2_relocate): Constify new_offsets, delta parameters.
    	* elfread.c (elf_symfile_relocate_probe): Ditto.
    	* psymtab.c (relocate_psymtabs): Ditto.
    	* objfiles.c (objfile_relocate1): Constify new_offsets parameter.
    	(objfile_relocate): Ditto.
    	* objfiles.h (objfile_relocate): Update declaration.
    	* symfile.c (relative_addr_info_to_section_offsets): Constify
    	addrs parameter.
    	(default_symfile_offsets): Ditto.
    	(syms_from_objfile_1): Constify offsets parameter.
    	(syms_from_objfile): Ditto.
    	(symbol_file_add_with_addrs_or_offsets): Ditto.
    	(symfile_map_offsets_to_segments): Constify data parameter.
    	* symfile.h (struct quick_symbol_functions): Constify new_offsets,
    	delta parameters of member relocate.
    	(struct sym_probe_fns): Constify new_offsets,
    	delta parameters of member sym_relocate_probe.
    	(struct sym_fns): Constify section_addr_info parameter of member
    	sym_offsets.
    	(relative_addr_info_to_section_offsets): Update declaration.
    	(default_symfile_offsets): Ditto.
    	(syms_from_objfile): Ditto.
    	(symfile_map_offsets_to_segments): Ditto.

commit 96e1ff24b57219e6dffbb90cc023e4cf5027a688
Author: Doug Evans <dje@google.com>
Date:   Mon May 6 18:50:08 2013 +0000

    	* symfile.c (syms_from_objfile_1): Use correct section count when
    	objfile->sf == NULL.

commit 7862bb5d7eb447f0ae4279d04aedf05bcc254526
Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Mon May 6 18:31:56 2013 +0000

    2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
    
            * COPYING.NEWLIB: Add Altera Corporation copyright.

commit cb59f805bbc0ce5ea8bdb58eb582d50fdd6de84d
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Mon May 6 18:03:33 2013 +0000

    gdb: btrace: fix indentation style
    
    Most of this func had the incorrect indentation level (starting with 4
    spaces instead of 2).

-----------------------------------------------------------------------

Summary of changes:
 COPYING.NEWLIB                                     |   31 +
 ChangeLog                                          |    4 +
 bfd/ChangeLog                                      |   62 +
 bfd/archures.c                                     |   13 +-
 bfd/bfd-in2.h                                      |   24 +
 bfd/config.bfd                                     |    1 +
 bfd/configure                                      |    1 +
 bfd/configure.in                                   |    3 +-
 bfd/cpu-msp430.c                                   |   46 +-
 bfd/elf-bfd.h                                      |    5 +-
 bfd/elf-ifunc.c                                    |   48 +-
 bfd/elf32-i386.c                                   |    3 +-
 bfd/elf32-mips.c                                   |    4 +-
 bfd/elf32-msp430.c                                 | 1833 +++++++++++++++++---
 bfd/elf64-mips.c                                   |   27 +-
 bfd/elf64-ppc.c                                    |   29 +-
 bfd/elf64-x86-64.c                                 |    1 +
 bfd/elflink.c                                      |   27 +-
 bfd/elfn32-mips.c                                  |   27 +-
 bfd/libbfd.h                                       |   15 +
 bfd/reloc.c                                        |   30 +
 bfd/targets.c                                      |    6 +-
 bfd/version.h                                      |    2 +-
 gdb/ChangeLog                                      |  383 ++++-
 gdb/Makefile.in                                    |   17 +-
 gdb/NEWS                                           |    9 +
 gdb/ada-lang.c                                     |    1 -
 gdb/amd64-darwin-tdep.c                            |    1 -
 gdb/break-catch-sig.c                              |   10 +-
 gdb/breakpoint.c                                   |   35 +-
 gdb/cleanups.c                                     |    1 +
 gdb/common/linux-btrace.c                          |   70 +-
 gdb/config/powerpc/aix.mh                          |    5 +-
 gdb/config/rs6000/nm-rs6000.h                      |   50 -
 gdb/configure.tgt                                  |   13 +-
 gdb/contrib/ari/gdb_ari.sh                         |    6 +-
 gdb/corelow.c                                      |   18 -
 gdb/darwin-nat.c                                   |  120 +-
 gdb/dbxread.c                                      |    2 +-
 gdb/doc/ChangeLog                                  |   22 +
 gdb/doc/gdb.texinfo                                |   36 +
 gdb/doc/gdbint.texinfo                             |   90 +-
 gdb/dwarf2loc.c                                    |   54 +-
 gdb/dwarf2loc.h                                    |    5 +
 gdb/dwarf2read.c                                   |  169 ++-
 gdb/elfread.c                                      |    4 +-
 gdb/event-top.c                                    |    1 +
 gdb/exec.c                                         |  120 --
 gdb/features/Makefile                              |    2 +
 gdb/features/library-list-aix.dtd                  |   18 +
 gdb/features/nios2-cpu.xml                         |   59 +
 gdb/features/nios2-linux.c                         |   71 +
 gdb/features/nios2-linux.xml                       |   13 +
 gdb/features/nios2.c                               |   69 +
 gdb/features/nios2.xml                             |   12 +
 gdb/gcore.c                                        |    5 +-
 gdb/gdbserver/ChangeLog                            |   13 +
 gdb/gdbserver/Makefile.in                          |    4 +
 gdb/gdbserver/configure.srv                        |    9 +
 gdb/gdbserver/linux-nios2-low.c                    |  234 +++
 gdb/gdbserver/tracepoint.c                         |    2 +
 gdb/infcmd.c                                       |   14 +-
 gdb/infrun.c                                       |    4 -
 gdb/machoread.c                                    |    2 +-
 gdb/nios2-linux-tdep.c                             |  233 +++
 gdb/nios2-tdep.c                                   | 1637 +++++++++++++++++
 gdb/nios2-tdep.h                                   |   80 +
 gdb/objfiles.c                                     |    7 +-
 gdb/objfiles.h                                     |    2 +-
 gdb/ppc-linux-nat.c                                |   13 +-
 gdb/psympriv.h                                     |    4 +-
 gdb/psymtab.c                                      |    4 +-
 gdb/regformats/nios2-linux.dat                     |   53 +
 gdb/rl78-tdep.c                                    |   16 +-
 gdb/rs6000-aix-tdep.c                              |   20 +-
 gdb/rs6000-nat.c                                   |  770 ++-------
 gdb/rs6000-tdep.h                                  |    4 -
 gdb/sol-thread.c                                   |   28 +-
 gdb/solib-aix.c                                    |  837 +++++++++
 gdb/{testsuite/gdb.reverse/shr2.c => solib-aix.h}  |   28 +-
 gdb/solib-dsbt.c                                   |  163 +--
 gdb/solib-frv.c                                    |    6 +-
 gdb/solib-svr4.c                                   |    9 +
 gdb/solib-target.c                                 |    2 +-
 gdb/solib.c                                        |   23 +-
 gdb/solist.h                                       |    5 +
 gdb/somread.c                                      |    3 +-
 gdb/stabsread.h                                    |    3 +-
 gdb/stack.c                                        |    5 +-
 gdb/symfile.c                                      |   58 +-
 gdb/symfile.h                                      |   18 +-
 gdb/target.h                                       |    2 +
 gdb/testsuite/ChangeLog                            |   81 +
 gdb/testsuite/gdb.arch/gcore.c                     |   70 -
 gdb/testsuite/gdb.arch/system-gcore.exp            |  215 ---
 gdb/testsuite/gdb.arch/vsx-regs.exp                |   33 +-
 gdb/testsuite/gdb.base/catch-signal.c              |    2 +
 gdb/testsuite/gdb.base/catch-signal.exp            |   13 +
 gdb/testsuite/gdb.base/gcore.exp                   |   34 +-
 gdb/testsuite/gdb.base/pending.exp                 |    3 +
 .../{catch-signal.c => solib-search-lib1.c}        |   47 +-
 .../{catch-signal.c => solib-search-lib2.c}        |   47 +-
 .../shr2.c => gdb.base/solib-search.c}             |   27 +-
 gdb/testsuite/gdb.base/solib-search.exp            |  184 ++
 .../gdb.base/solib-search.h}                       |   24 +-
 .../shr2.c => gdb.dwarf2/implptrconst.c}           |   20 +-
 gdb/testsuite/gdb.dwarf2/implptrconst.exp          |  103 ++
 gdb/testsuite/gdb.gdb/complaints.exp               |  126 +--
 gdb/testsuite/gdb.gdb/observer.exp                 |  125 +--
 gdb/testsuite/gdb.gdb/selftest.exp                 |   24 +-
 gdb/testsuite/gdb.gdb/xfullpath.exp                |  125 +--
 gdb/testsuite/gdb.linespec/linespec.exp            |    4 +
 gdb/testsuite/gdb.reverse/{shr2.c => shr.h}        |   24 +-
 gdb/testsuite/gdb.reverse/{shr2.c => shr1.c}       |   20 +-
 gdb/testsuite/gdb.reverse/shr2.c                   |    2 +
 gdb/testsuite/gdb.reverse/solib-precsave.exp       |   59 +-
 gdb/testsuite/gdb.reverse/solib-reverse.c          |   25 +-
 gdb/testsuite/gdb.reverse/solib-reverse.exp        |   59 +-
 gdb/testsuite/gdb.threads/gcore-thread.exp         |   33 +-
 gdb/testsuite/gdb.threads/wp-replication.c         |  163 ++
 gdb/testsuite/gdb.threads/wp-replication.exp       |  151 ++
 gdb/testsuite/gdb.trace/status-stop.exp            |   10 +-
 gdb/testsuite/gdb.xml/tdesc-regs.exp               |    3 +
 gdb/testsuite/lib/dwarf.exp                        |   30 +-
 gdb/testsuite/lib/gdb.exp                          |   43 +
 .../xfullpath.exp => lib/selftest-support.exp}     |  138 +-
 gdb/v850-tdep.c                                    |  309 ++++-
 gdb/value.c                                        |   12 +-
 gdb/version.in                                     |    2 +-
 gdb/windows-nat.c                                  |   11 +-
 gdb/xcoffread.c                                    |   88 +-
 gdb/xcoffsolib.c                                   |  182 --
 gdb/xcoffsolib.h                                   |   65 -
 include/ChangeLog                                  |    5 +
 include/elf/ChangeLog                              |    6 +
 include/elf/mips.h                                 |    5 +-
 include/elf/msp430.h                               |   47 +-
 include/opcode/ChangeLog                           |    4 +
 include/opcode/msp430.h                            |   70 +-
 opcodes/ChangeLog                                  |    4 +
 opcodes/msp430-dis.c                               |  712 ++++++--
 sim/ChangeLog                                      |    4 -
 sim/ppc/ChangeLog                                  |   10 +
 sim/ppc/ppc-instructions                           |   13 -
 144 files changed, 8589 insertions(+), 3075 deletions(-)
 delete mode 100644 gdb/config/rs6000/nm-rs6000.h
 create mode 100644 gdb/features/library-list-aix.dtd
 create mode 100644 gdb/features/nios2-cpu.xml
 create mode 100644 gdb/features/nios2-linux.c
 create mode 100644 gdb/features/nios2-linux.xml
 create mode 100644 gdb/features/nios2.c
 create mode 100644 gdb/features/nios2.xml
 create mode 100644 gdb/gdbserver/linux-nios2-low.c
 create mode 100644 gdb/nios2-linux-tdep.c
 create mode 100644 gdb/nios2-tdep.c
 create mode 100644 gdb/nios2-tdep.h
 create mode 100644 gdb/regformats/nios2-linux.dat
 create mode 100644 gdb/solib-aix.c
 copy gdb/{testsuite/gdb.reverse/shr2.c => solib-aix.h} (70%)
 delete mode 100644 gdb/testsuite/gdb.arch/gcore.c
 delete mode 100644 gdb/testsuite/gdb.arch/system-gcore.exp
 copy gdb/testsuite/gdb.base/{catch-signal.c => solib-search-lib1.c} (54%)
 copy gdb/testsuite/gdb.base/{catch-signal.c => solib-search-lib2.c} (54%)
 copy gdb/testsuite/{gdb.reverse/shr2.c => gdb.base/solib-search.c} (68%)
 create mode 100644 gdb/testsuite/gdb.base/solib-search.exp
 copy gdb/{rs6000-tdep.h => testsuite/gdb.base/solib-search.h} (58%)
 copy gdb/testsuite/{gdb.reverse/shr2.c => gdb.dwarf2/implptrconst.c} (75%)
 create mode 100644 gdb/testsuite/gdb.dwarf2/implptrconst.exp
 copy gdb/testsuite/gdb.reverse/{shr2.c => shr.h} (74%)
 copy gdb/testsuite/gdb.reverse/{shr2.c => shr1.c} (75%)
 create mode 100644 gdb/testsuite/gdb.threads/wp-replication.c
 create mode 100644 gdb/testsuite/gdb.threads/wp-replication.exp
 copy gdb/testsuite/{gdb.gdb/xfullpath.exp => lib/selftest-support.exp} (55%)
 delete mode 100644 gdb/xcoffsolib.c
 delete mode 100644 gdb/xcoffsolib.h

First 500 lines of diff:
diff --git a/COPYING.NEWLIB b/COPYING.NEWLIB
index 6849eb5..73379ff 100644
--- a/COPYING.NEWLIB
+++ b/COPYING.NEWLIB
@@ -894,3 +894,34 @@ 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.
+
+(40) - Altera Corportion (nios2-* targets)
+
+Copyright (c) 2003 Altera Corporation
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+   o Redistributions of source code must retain the above copyright
+     notice, this list of conditions and the following disclaimer. 
+   o 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. 
+   o Neither the name of Altera Corporation nor the names of its 
+     contributors may be used to endorse or promote products derived from
+     this software without specific prior written permission. 
+ 
+THIS SOFTWARE IS PROVIDED BY ALTERA CORPORATION, THE COPYRIGHT HOLDER,
+AND ITS 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 COPYRIGHT HOLDER 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 06c7d47..2d6d310 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2013-05-06  Sandra Loosemore  <sandra@codesourcery.com>
+
+	* COPYING.NEWLIB: Add Altera Corporation copyright.
+
 2013-04-29  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
 
 	* config.guess: Update from config repo.
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2a0ee47..a670a24 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,65 @@
+2013-05-07  Will Newton  <will.newton@linaro.org>
+
+	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Add a
+	plt_header_size argument for ports where it differs from
+	plt_entry_size.
+	* elf-bfd.h: Likewise.
+	* elf32-i386.c: Pass plt_header_size to
+	_bfd_elf_allocate_ifunc_dyn_relocs.
+	* elf64-x86-64.c: Likewise.
+
+2013-05-07  Will Newton  <will.newton@linaro.org>
+
+        * elf-ifunc.c (_bfd_elf_create_ifunc_dyn_reloc): Remove unused
+	function.
+	* elf-bfd.h: Likewise.
+
+2013-05-06  Paul Brook  <paul@codesourcery.com>
+
+        * elf64-mips.c (elf_mips_gnu_pcrel32): New.
+        (bfd_elf64_bfd_reloc_type_lookup, bfd_elf64_bfd_reloc_name_lookup,
+        mips_elf64_rtype_to_howto): Handle R_MIPS_PC32.
+        * elfn32-mips.c (elf_mips_gnu_pcrel32): New.
+        (bfd_elfn32_bfd_reloc_type_lookup, bfd_elfn32_bfd_reloc_name_lookup,
+        mips_elfn32_rtype_to_howto): Handle R_MIPS_PC32.
+
+2013-05-06  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (opd_entry_value): Handle case where symbol
+	hashes are not available.
+
+2013-05-06  Alan Modra  <amodra@gmail.com>
+
+	* elflink.c (elf_link_add_object_symbols): Don't save symbol
+	hashes around loading as-needed library.  Zero them on allocation,
+	and restore to initial all-zero state if library not needed.
+	Arrange to reuse hashes if we load library again later.
+
+2013-05-04  Richard Sandiford  <rdsandiford@googlemail.com>
+
+	* elf32-mips.c (elf_mips_copy_howto, elf_mips_jump_slot_howto):
+	Use _bfd_mips_elf_generic_reloc instead of bfd_elf_generic_reloc.
+	* elfn32-mips.c: Likewise.
+	* elf64-mips.c: Likewise.
+
+2013-05-02  Nick Clifton  <nickc@redhat.com>
+
+	* archures.c: Add some more MSP430 machine numbers.
+	* config.bfd (msp430): Define targ_selvecs.
+	* configure.in: Add bfd_elf32_msp430_ti_vec.
+	* cpu-msp430.c: Add some more MSP430 machine numbers.
+	* elf32-msp430.c Add support for MSP430X relocations.
+	Add support for TI compiler generated relocations.
+	Add support for sym_diff relocations.
+	Add support for relaxing out of range short branches into long
+	branches.
+	Add support for MSP430 attribute section.
+	* reloc.c: Add MSP430X relocations.
+	* targets.c: Add bfd_elf32_msp430_ti_vec.
+	* bfd-in2.h: Regenerate.
+	* configure: Regenerate.
+	* libbfd.h: Regenerate.
+
 2013-05-01  Maciej W. Rozycki  <macro@codesourcery.com>
 
 	* config.bfd: Replace alpha*-*-linuxecoff* pattern with
diff --git a/bfd/archures.c b/bfd/archures.c
index 0be72da..f7cef8b 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -1,7 +1,5 @@
 /* BFD library support routines for architectures.
-   Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
-   2012, 2013 Free Software Foundation, Inc.
+   Copyright 1990-2013 Free Software Foundation, Inc.
    Hacked by John Gilmore and Steve Chamberlain of Cygnus Support.
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -437,7 +435,12 @@ DESCRIPTION
 .#define bfd_mach_msp14          14
 .#define bfd_mach_msp15          15
 .#define bfd_mach_msp16          16
+.#define bfd_mach_msp20          20
 .#define bfd_mach_msp21          21
+.#define bfd_mach_msp22          22
+.#define bfd_mach_msp23          23
+.#define bfd_mach_msp24          24
+.#define bfd_mach_msp26          26
 .#define bfd_mach_msp31          31
 .#define bfd_mach_msp32          32
 .#define bfd_mach_msp33          33
@@ -445,6 +448,10 @@ DESCRIPTION
 .#define bfd_mach_msp42          42
 .#define bfd_mach_msp43          43
 .#define bfd_mach_msp44          44
+.#define bfd_mach_msp430x        45
+.#define bfd_mach_msp46          46
+.#define bfd_mach_msp47          47
+.#define bfd_mach_msp54          54
 .  bfd_arch_xc16x,     {* Infineon's XC16X Series.               *}
 .#define bfd_mach_xc16x         1
 .#define bfd_mach_xc16xl        2
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 5c4e9c4..0050f46 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -2170,7 +2170,12 @@ enum bfd_architecture
 #define bfd_mach_msp14          14
 #define bfd_mach_msp15          15
 #define bfd_mach_msp16          16
+#define bfd_mach_msp20          20
 #define bfd_mach_msp21          21
+#define bfd_mach_msp22          22
+#define bfd_mach_msp23          23
+#define bfd_mach_msp24          24
+#define bfd_mach_msp26          26
 #define bfd_mach_msp31          31
 #define bfd_mach_msp32          32
 #define bfd_mach_msp33          33
@@ -2178,6 +2183,10 @@ enum bfd_architecture
 #define bfd_mach_msp42          42
 #define bfd_mach_msp43          43
 #define bfd_mach_msp44          44
+#define bfd_mach_msp430x        45
+#define bfd_mach_msp46          46
+#define bfd_mach_msp47          47
+#define bfd_mach_msp54          54
   bfd_arch_xc16x,     /* Infineon's XC16X Series.               */
 #define bfd_mach_xc16x         1
 #define bfd_mach_xc16xl        2
@@ -4918,6 +4927,21 @@ a matching LO8XG part.  */
   BFD_RELOC_MSP430_16_BYTE,
   BFD_RELOC_MSP430_2X_PCREL,
   BFD_RELOC_MSP430_RL_PCREL,
+  BFD_RELOC_MSP430_ABS8,
+  BFD_RELOC_MSP430X_PCR20_EXT_SRC,
+  BFD_RELOC_MSP430X_PCR20_EXT_DST,
+  BFD_RELOC_MSP430X_PCR20_EXT_ODST,
+  BFD_RELOC_MSP430X_ABS20_EXT_SRC,
+  BFD_RELOC_MSP430X_ABS20_EXT_DST,
+  BFD_RELOC_MSP430X_ABS20_EXT_ODST,
+  BFD_RELOC_MSP430X_ABS20_ADR_SRC,
+  BFD_RELOC_MSP430X_ABS20_ADR_DST,
+  BFD_RELOC_MSP430X_PCR16,
+  BFD_RELOC_MSP430X_PCR20_CALL,
+  BFD_RELOC_MSP430X_ABS16,
+  BFD_RELOC_MSP430_ABS_HI16,
+  BFD_RELOC_MSP430_PREL31,
+  BFD_RELOC_MSP430_SYM_DIFF,
 
 /* Relocations used by the Altera Nios II core.  */
   BFD_RELOC_NIOS2_S16,
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 5634154..ebc9d40 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1134,6 +1134,7 @@ case "${targ}" in
 
   msp430-*-*)
     targ_defvec=bfd_elf32_msp430_vec
+    targ_selvecs=bfd_elf32_msp430_ti_vec
     ;;
 
   ns32k-pc532-mach* | ns32k-pc532-ux*)
diff --git a/bfd/configure b/bfd/configure
index 24f6fd3..5fc08e4 100755
--- a/bfd/configure
+++ b/bfd/configure
@@ -15292,6 +15292,7 @@ do
     bfd_elf32_mn10300_vec)	tb="$tb elf-m10300.lo elf32.lo $elf" ;;
     bfd_elf32_mt_vec)           tb="$tb elf32-mt.lo elf32.lo $elf" ;;
     bfd_elf32_msp430_vec)	tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
+    bfd_elf32_msp430_ti_vec)	tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
     bfd_elf32_nbigmips_vec)	tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf32_nlittlemips_vec)	tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf32_ntradbigmips_vec | bfd_elf32_ntradbigmips_freebsd_vec)
diff --git a/bfd/configure.in b/bfd/configure.in
index d9bef83..befcf27 100644
--- a/bfd/configure.in
+++ b/bfd/configure.in
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 dnl
-dnl   Copyright 2012 Free Software Foundation
+dnl   Copyright 2012-2013 Free Software Foundation
 dnl
 dnl This file is free software; you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
@@ -789,6 +789,7 @@ do
     bfd_elf32_mn10300_vec)	tb="$tb elf-m10300.lo elf32.lo $elf" ;;
     bfd_elf32_mt_vec)           tb="$tb elf32-mt.lo elf32.lo $elf" ;;
     bfd_elf32_msp430_vec)	tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
+    bfd_elf32_msp430_ti_vec)	tb="$tb elf32-msp430.lo elf32.lo $elf" ;;
     bfd_elf32_nbigmips_vec)	tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf32_nlittlemips_vec)	tb="$tb elfn32-mips.lo elfxx-mips.lo elf-vxworks.lo elf32.lo $elf ecofflink.lo"; target_size=64 ;;
     bfd_elf32_ntradbigmips_vec | bfd_elf32_ntradbigmips_freebsd_vec)
diff --git a/bfd/cpu-msp430.c b/bfd/cpu-msp430.c
index 09c0e54..73b6e66 100644
--- a/bfd/cpu-msp430.c
+++ b/bfd/cpu-msp430.c
@@ -1,6 +1,5 @@
 /* BFD library support routines for the MSP architecture.
-   Copyright (C) 2002, 2003, 2005, 2007, 2012
-   Free Software Foundation, Inc.
+   Copyright (C) 2002-2013 Free Software Foundation, Inc.
    Contributed by Dmitry Diky <diwil@mail.ru>
 
    This file is part of BFD, the Binary File Descriptor library.
@@ -82,29 +81,56 @@ static const bfd_arch_info_type arch_info_struct[] =
   /* msp430x16x.  */
   N (16, bfd_mach_msp16, "msp:16", FALSE, & arch_info_struct[7]),
 
+  /* msp430x20x.  */
+  N (16, bfd_mach_msp20, "msp:20", FALSE, & arch_info_struct[8]),
+
   /* msp430x21x.  */
-  N (16, bfd_mach_msp21, "msp:21", FALSE, & arch_info_struct[8]),
+  N (16, bfd_mach_msp21, "msp:21", FALSE, & arch_info_struct[9]),
+
+  /* msp430x22x.  */
+  N (16, bfd_mach_msp22, "msp:22", FALSE, & arch_info_struct[10]),
+
+  /* msp430x23x.  */
+  N (16, bfd_mach_msp23, "msp:23", FALSE, & arch_info_struct[11]),
+
+  /* msp430x24x.  */
+  N (16, bfd_mach_msp24, "msp:24", FALSE, & arch_info_struct[12]),
+
+  /* msp430x26x.  */
+  N (16, bfd_mach_msp26, "msp:26", FALSE, & arch_info_struct[13]),
 
   /* msp430x31x.  */
-  N (16, bfd_mach_msp31, "msp:31", FALSE, & arch_info_struct[9]),
+  N (16, bfd_mach_msp31, "msp:31", FALSE, & arch_info_struct[14]),
 
   /* msp430x32x.  */
-  N (16, bfd_mach_msp32, "msp:32", FALSE, & arch_info_struct[10]),
+  N (16, bfd_mach_msp32, "msp:32", FALSE, & arch_info_struct[15]),
 
   /* msp430x33x.  */
-  N (16, bfd_mach_msp33, "msp:33", FALSE, & arch_info_struct[11]),
+  N (16, bfd_mach_msp33, "msp:33", FALSE, & arch_info_struct[16]),
 
   /* msp430x41x.  */
-  N (16, bfd_mach_msp41, "msp:41", FALSE, & arch_info_struct[12]),
+  N (16, bfd_mach_msp41, "msp:41", FALSE, & arch_info_struct[17]),
 
   /* msp430x42x.  */
-  N (16, bfd_mach_msp42, "msp:42", FALSE, & arch_info_struct[13]),
+  N (16, bfd_mach_msp42, "msp:42", FALSE, & arch_info_struct[18]),
 
   /* msp430x43x.  */
-  N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[14]),
+  N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[19]),
 
   /* msp430x44x.  */
-  N (16, bfd_mach_msp43, "msp:44", FALSE, NULL)
+  N (16, bfd_mach_msp43, "msp:44", FALSE, & arch_info_struct[20]),
+
+  /* msp430x46x.  */
+  N (16, bfd_mach_msp46, "msp:46", FALSE, & arch_info_struct[21]),
+
+  /* msp430x47x.  */
+  N (16, bfd_mach_msp47, "msp:47", FALSE, & arch_info_struct[22]),
+
+  /* msp430x54x.  */
+  N (16, bfd_mach_msp54, "msp:54", FALSE, & arch_info_struct[23]),
+
+  N (32, bfd_mach_msp430x, "msp:430X", FALSE, NULL)
+
 };
 
 const bfd_arch_info_type bfd_msp430_arch =
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index b643dbc..4a67d02 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2378,12 +2378,9 @@ struct elf_dyn_relocs
 
 extern bfd_boolean _bfd_elf_create_ifunc_sections
   (bfd *, struct bfd_link_info *);
-extern asection * _bfd_elf_create_ifunc_dyn_reloc
-  (bfd *, struct bfd_link_info *, asection *sec, asection *sreloc,
-   struct elf_dyn_relocs **);
 extern bfd_boolean _bfd_elf_allocate_ifunc_dyn_relocs
   (struct bfd_link_info *, struct elf_link_hash_entry *,
-   struct elf_dyn_relocs **, unsigned int, unsigned int);
+   struct elf_dyn_relocs **, unsigned int, unsigned int, unsigned int);
 
 extern void elf_append_rela (bfd *, asection *, Elf_Internal_Rela *);
 extern void elf_append_rel (bfd *, asection *, Elf_Internal_Rela *);
diff --git a/bfd/elf-ifunc.c b/bfd/elf-ifunc.c
index c2fa163..8d48e66 100644
--- a/bfd/elf-ifunc.c
+++ b/bfd/elf-ifunc.c
@@ -104,51 +104,6 @@ _bfd_elf_create_ifunc_sections (bfd *abfd, struct bfd_link_info *info)
   return TRUE;
 }
 
-/* For a STT_GNU_IFUNC symbol, create a dynamic reloc section, SRELOC,
-   for the input section, SEC, and append this reloc to HEAD.  */
-
-asection *
-_bfd_elf_create_ifunc_dyn_reloc (bfd *abfd, struct bfd_link_info *info,
-				 asection *sec, asection *sreloc,
-				 struct elf_dyn_relocs **head)
-{
-  struct elf_dyn_relocs *p;
-  struct elf_link_hash_table *htab = elf_hash_table (info);
-
-  if (sreloc == NULL)
-    {
-      const struct elf_backend_data *bed = get_elf_backend_data (abfd);
-
-      if (htab->dynobj == NULL)
-	htab->dynobj = abfd;
-
-      sreloc = _bfd_elf_make_dynamic_reloc_section (sec, htab->dynobj,
-						    bed->s->log_file_align,
-						    abfd,
-						    bed->rela_plts_and_copies_p);
-      if (sreloc == NULL)
-	return NULL;
-    }
-
-  p = *head;
-  if (p == NULL || p->sec != sec)
-    {
-      bfd_size_type amt = sizeof *p;
-
-      p = ((struct elf_dyn_relocs *) bfd_alloc (htab->dynobj, amt));
-      if (p == NULL)
-	return NULL;
-      p->next = *head;
-      *head = p;
-      p->sec = sec;
-      p->count = 0;
-      p->pc_count = 0;
-    }
-  p->count += 1;
-
-  return sreloc;
-}
-
 /* Allocate space in .plt, .got and associated reloc sections for
    dynamic relocs against a STT_GNU_IFUNC symbol definition.  */
 
@@ -157,6 +112,7 @@ _bfd_elf_allocate_ifunc_dyn_relocs (struct bfd_link_info *info,
 				    struct elf_link_hash_entry *h,
 				    struct elf_dyn_relocs **head,
 				    unsigned int plt_entry_size,
+				    unsigned int plt_header_size,
 				    unsigned int got_entry_size)
 {
   asection *plt, *gotplt, *relplt;
@@ -238,7 +194,7 @@ keep:
       /* If this is the first .plt entry, make room for the special
 	 first entry.  */
       if (plt->size == 0)
-	plt->size += plt_entry_size;
+	plt->size += plt_header_size;
     }
   else
     {
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 2609130..cc8b48e 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -2197,7 +2197,8 @@ elf_i386_allocate_dynrelocs (struct elf_link_hash_entry *h, void *inf)
   if (h->type == STT_GNU_IFUNC
       && h->def_regular)
     return _bfd_elf_allocate_ifunc_dyn_relocs (info, h, &eh->dyn_relocs,
-                                               plt_entry_size, 4);
+                                               plt_entry_size,
+					       plt_entry_size, 4);
   else if (htab->elf.dynamic_sections_created
 	   && h->plt.refcount > 0)
     {
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index cb7692b..54ae641 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -1515,7 +1515,7 @@ static reloc_howto_type elf_mips_copy_howto =
 	 FALSE,			/* pc_relative */
 	 0,			/* bitpos */
 	 complain_overflow_bitfield, /* complain_on_overflow */
-	 bfd_elf_generic_reloc,	/* special_function */
+	 _bfd_mips_elf_generic_reloc, /* special_function */
 	 "R_MIPS_COPY",		/* name */
 	 FALSE,			/* partial_inplace */
 	 0x0,         		/* src_mask */
@@ -1531,7 +1531,7 @@ static reloc_howto_type elf_mips_jump_slot_howto =
 	 FALSE,			/* pc_relative */
 	 0,			/* bitpos */
 	 complain_overflow_bitfield, /* complain_on_overflow */
-	 bfd_elf_generic_reloc,	/* special_function */
+	 _bfd_mips_elf_generic_reloc, /* special_function */
 	 "R_MIPS_JUMP_SLOT",	/* name */
 	 FALSE,			/* partial_inplace */
 	 0x0,         		/* src_mask */
diff --git a/bfd/elf32-msp430.c b/bfd/elf32-msp430.c
index b46e72c..6f66282 100644
--- a/bfd/elf32-msp430.c
+++ b/bfd/elf32-msp430.c
@@ -1,6 +1,5 @@
 /*  MSP430-specific support for 32-bit ELF
-    Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2010, 2012
-    Free Software Foundation, Inc.
+    Copyright (C) 2002-2013 Free Software Foundation, Inc.
     Contributed by Dmitry Diky <diwil@mail.ru>
 
     This file is part of BFD, the Binary File Descriptor library.
@@ -27,9 +26,6 @@
 #include "elf-bfd.h"
 #include "elf/msp430.h"
 
-/* Use RELA instead of REL.  */
-#undef USE_REL
-
 static reloc_howto_type elf_msp430_howto_table[] =
 {
   HOWTO (R_MSP430_NONE,		/* type */
@@ -69,7 +65,7 @@ static reloc_howto_type elf_msp430_howto_table[] =
 	 0,			/* bitpos */
 	 complain_overflow_bitfield,/* complain_on_overflow */
 	 bfd_elf_generic_reloc,	/* special_function */
-	 "R_MSP430_13_PCREL",	/* name */
+	 "R_MSP430_10_PCREL",	/* name */
 	 FALSE,			/* partial_inplace */
 	 0xfff,			/* src_mask */
 	 0xfff,			/* dst_mask */
@@ -90,7 +86,7 @@ static reloc_howto_type elf_msp430_howto_table[] =
 	 0xffff,		/* dst_mask */
 	 FALSE),		/* pcrel_offset */
 
-  /* A 16 bit absolute relocation for command address.  */
+  /* A 16 bit PC relative relocation for command address.  */
   HOWTO (R_MSP430_16_PCREL,	/* type */
 	 1,			/* rightshift */
 	 1,			/* size (0 = byte, 1 = short, 2 = long) */
@@ -164,6 +160,340 @@ static reloc_howto_type elf_msp430_howto_table[] =
 	 0,			/* src_mask */
 	 0xffff,		/* dst_mask */
 	 TRUE)			/* pcrel_offset */


hooks/post-receive
--
Repository for Project Archer.


             reply	other threads:[~2013-05-08 10:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-08 10:03 pmuldoon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-05-10  8:43 pmuldoon
2013-05-02 13:11 pmuldoon
2013-04-30  9:40 pmuldoon
2013-04-22 12:13 pmuldoon
2013-04-19 11:29 pmuldoon
2013-03-08 15:40 pmuldoon
2013-03-04 14:57 pmuldoon
2013-02-28  9:46 pmuldoon

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=20130508100356.12451.qmail@sourceware.org \
    --to=pmuldoon@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: link
Be 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).