public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: tromey@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-tromey-ambiguous-linespec: Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
Date: Thu, 18 Aug 2011 18:00:00 -0000	[thread overview]
Message-ID: <20110818180027.26804.qmail@sourceware.org> (raw)

The branch, archer-tromey-ambiguous-linespec has been updated
       via  3cc1560030483e8b41d78abea376560908c0d3ce (commit)
       via  be80867ce4c5abdcf99c9f19732258462641994a (commit)
       via  f8b99709c8a32c4b413c403058b1a68f8adba195 (commit)
       via  542d1ddf382dbef922085b511d2dbb5921b63844 (commit)
       via  121eeb649069ee2d87fbf98ce2c10c7e2e0f0e32 (commit)
       via  d0a3573d88f15c2f683c1cd005f47cb44b7f0e77 (commit)
       via  f7dc45d51e7317abdd471ee0a9668e5972c0c5cc (commit)
       via  7dffb359a92f051ff77fda3cb9a0992fed88abee (commit)
       via  a69c8983e62a45a2b99f2910d02feeb6f45cc065 (commit)
       via  72441da6f2fe16629e17588548de3d03119a2046 (commit)
       via  2d810ba757592d1df19034a12b015b9861ce3368 (commit)
       via  8a574db72c0ae87cb5ae6c4edbffe078bd25a4dc (commit)
       via  c02f5a3cba5f40d7f03b7c182f3b31e4478bb83a (commit)
       via  f33166e9896afe265e43db1ea63753c6af653d77 (commit)
       via  7f5419cbc0eb090cee2d397f8dca9410d1a015e1 (commit)
       via  ef540e7cc196aaa340f14a4c42047c4c4324dd49 (commit)
       via  cc4e2461aec2006cdcd056619060c3afbe0c9d1d (commit)
       via  dcf88c4828e49dfc423b9b0fd0432c6ee84d330c (commit)
       via  5ccfd32754be415e0a77d9dfdada9eed76219eb6 (commit)
       via  7401484a3b0e143b3a5e1b1d982c9a9af3c1b553 (commit)
       via  a6af9ecb64b951167cfb8ba2b6114ee6823d09a5 (commit)
       via  14a099b7953934872c85fbd60e5bd15b5a5dd545 (commit)
       via  7d6e6d1e13e52ede0cf459a782c214113639dcad (commit)
       via  8a29e1bc97f5778b4d4d6da19230860ae843c9e0 (commit)
       via  8b2d7a24f51a7e74b14f757753a447e549068487 (commit)
       via  4e615d22837a7213773476881748c9f73e89943f (commit)
       via  34dd72a91ba78c358cad4c6c08c3825a2f3a7296 (commit)
       via  906950a50d19e469f6b97a613e540d6caae25247 (commit)
       via  4d56b6f9d1e6ad2f4094e1123e26470e58a57173 (commit)
       via  840de89e10938d988d41e0fa44953cb4278e3b8d (commit)
       via  8d9524e13e749a2ff2f3fb7cc3e1fe353d1f17e9 (commit)
       via  5edd93a10880cbc9111e4eca3350ee2c9b9e05d9 (commit)
       via  0406e1c3d1cb2e02a20d6c434c1738a3ad1f93f0 (commit)
       via  18ca7cc1d23cada7633e6908c3dbf2cd46c252d5 (commit)
       via  a0f5d61b27c44104c1a0aac906521e30d5c43a75 (commit)
       via  c184b248e10b8425ca8f2b0cf874c860e630e6fc (commit)
       via  23f9a6a93704a8046c3ad23a649d92be9259d4ba (commit)
       via  1da3d8e3e69f9a238e8110367f2cd4d0bbefaa6f (commit)
       via  e61188dc20c298e1fbe2d7cc921de0ff15568ef7 (commit)
       via  a9cb1a1c600086603f4eeacdacc6d70d2bdf0cdd (commit)
       via  99b3a4dc27f080ce2674c73d1dd50411a554d72b (commit)
       via  271aaac2ec09fb77f9ebd9519b99866efbb62b80 (commit)
       via  55afb5cc61b57e417bb9da08b898e08495d3e4a5 (commit)
       via  3fc3ea6561313c210bc27a8c3a485a670385544b (commit)
       via  7f12503596efa58eba69329f2587592e1d9b0371 (commit)
       via  821ed041d1dfad79215145c33f62106993b2e641 (commit)
       via  0bc7eb65d485bb1be9dfde6bb354b19207633073 (commit)
       via  ec5e7fce9584921e8f0ae21161061bcf1fabb064 (commit)
       via  b970ab682574bf5d05289b62949bef6e1802db10 (commit)
       via  d09f0fb4dac6e17939e26d004ab6bcc1ee6840c4 (commit)
       via  e18cb8bddbdb2d1f9d351e5976807081eac3b7fb (commit)
       via  6e962026419305ae6c540eb01a735cf7c2685c20 (commit)
       via  d675f0df71758ae0ed77d18f8a2bf92c37b51af1 (commit)
       via  63b01efeb30a95be3f005af91b0a799db4a0afc2 (commit)
       via  82940a9fe01f9eef621c8b8d78d3739a93478f7a (commit)
       via  51fd57de0514369b7697a389b926f919505673d9 (commit)
       via  a94c6e82c12af7ed49cb90dcf953c04e94b70e0e (commit)
       via  e25400873f1eb928315825fd0982f1908704d1b9 (commit)
       via  383524a31bed54fa899b9cf10dd253485f1a784d (commit)
       via  1f1fd62acc6e89cd8253cd24cedc92d1dbe36c2e (commit)
       via  4c181b401e29ac84aad60cde8d6a3c79af7ac88a (commit)
       via  83dd8229b69a595f5900dd71a381889ff5c1ca12 (commit)
       via  d2521668e33529dff6dbcc356c36cd6a7fb6d36e (commit)
       via  16283aab8a47f20c8a0c5fa7cb86ca0d72df6c32 (commit)
       via  f325eb92a79338b75891c61b03a0d220a6520b65 (commit)
       via  d2c8efa6ad882444f602aa031c337427b858ed03 (commit)
       via  1bd3e4ae69c88312d8bc0fbbc7181116b840aec1 (commit)
       via  89fa801a3cee0d402dfd3b672dfcd89f9fafd151 (commit)
       via  4491fae9cfe5d492ac49dda54be23b7f2ad7d521 (commit)
       via  73a6385ca2589fb8d00c71964421af2e2b79e2d8 (commit)
       via  648d569217f81fe5644a9dd38cf4c3ef1a7b99a0 (commit)
       via  c5fce18816c49d91c06c0bd9a4e5d6726af5c508 (commit)
       via  7c9202cb57f8395f8149ea27583145555facef10 (commit)
       via  101154f1453bae9d106d16d2370abc4654bc8f35 (commit)
       via  f1474dc4749ecf868dc8353c7563f899ba47b47b (commit)
       via  d98d69f90da424d4ca4edea77e38cd13488af5ce (commit)
       via  1716dce74927cbfc06d27862c2ac3e9335ce9b4d (commit)
       via  1ee5d2481d40c42da16347b1d129de8dc54f6340 (commit)
       via  ac307d43f7a779d054d0a28ca5ad9490ef4d1728 (commit)
       via  2d5f0b2d9e6e25c526ce4596139c74708d0f024d (commit)
       via  f6811c1f3ff7de0e03270d7f88ba2c82b14c309a (commit)
       via  622270636fb94cf9b066d61a0778f733d9a2953d (commit)
       via  0c3fed0d46b5cd55c0b67eba9e04ff91305eac44 (commit)
       via  92219627c7d67b7c017f685bd194c1e060834f5e (commit)
       via  b4d942bb9ced23b02f6f2fb3a7e7d6c379df14d7 (commit)
       via  edde6978a5c3ee8a2eeafa99a13a6ecb95bf1aff (commit)
       via  5260dc5b96f51d073f2cd959885deb4bc33fa75e (commit)
       via  f5e1e07e8645602634f04ccc1a4ccb9ab55e078b (commit)
       via  998ded766c7bad536864aad9ca648f7baf44367c (commit)
       via  7e1126afc1751dbac7fbbdc388d7db9d7d45493f (commit)
       via  4eb108ad2e530cfd39871f60c2b7b68ebccd027c (commit)
       via  c8fdcd88196cad12b1785196fd5ae2ee2710d3f1 (commit)
       via  e2f4af4fa1a1b6d6317684454d6ab5dc60577c7b (commit)
       via  1cf696a3ca6e7fbcd7cefb4453ea47dad7d56ce2 (commit)
       via  9e909d20405e0f20dcfefcc7a732a3571a3cd222 (commit)
       via  6319b244bb2a30f815cf0ea4ea75f4615e54f0a7 (commit)
       via  b8925db2ffb40b3060663e8eb388ec002bab0781 (commit)
       via  1f710ded08a71aa06c5f3e02be2a767b68469cd8 (commit)
       via  896dc548849842cb3e6796ef2f52bab4ef1c500d (commit)
       via  2f8d4ec669a51a12e7559c5e040f01bc36560333 (commit)
       via  075368556bc24b5bf93b6133738fbdc9285eb046 (commit)
       via  0a09bb331c00e275ffb2f359da7eb300ad89e47a (commit)
       via  c4e4770b5a2f437897eba3b319e769a0ca9c50cf (commit)
       via  4bc9652c5174dcd69ad31d9897ac0a477ffdcedc (commit)
       via  f298b231d6953e6717a55ed8507255dfeed40d46 (commit)
       via  9a0caebbc79750e52bbfa25a96b4e784645960a6 (commit)
       via  fdfc8647cb05c7fb81439d0e240ea96ddba78258 (commit)
       via  2d84225afefc0bbe54878701ac425e0b92e9ea43 (commit)
       via  4632dc7594fcefaabebc14b11fbb9899b28cdb25 (commit)
       via  d9720f780e00fbb4a3fe7d8a85d511cac6b6549a (commit)
       via  e9f2a2fb758af55d70656a1cdee7c3904c980dfd (commit)
       via  a5c266bb89af0e0b6a7ec36b44ec8ad63d6415ad (commit)
       via  069a01335c3e5a18c5ee7aedff942bd753d85979 (commit)
       via  572ae324f6fb3c4ba2f8ca68d128d64692f29fcf (commit)
       via  312edf2c03f75df48658a7ffa89e51e92e510dba (commit)
       via  42153de06202e4aae0028692ffb8f4241a88f264 (commit)
       via  f51582eaf6915a365ff221dd1bd779ae3d29e941 (commit)
       via  31eaa3821255d058aaa4abc5bf6a67d28ef1a0b1 (commit)
       via  11df14cc7457457334577fd47cb5ff56730d44cd (commit)
       via  133e86fd20f5080a08e2c461adf0de5d898387c9 (commit)
       via  8178db181964d965ae8ca8db7c04f12d6b8841db (commit)
       via  b36afbe46ef1705f58fedacf2b120060d2c052b6 (commit)
       via  790b49ae9c189ad7674356598019dc45b719d9e2 (commit)
       via  bbf0b0a19df04cfd787139222ed44efa512ec346 (commit)
       via  41b397c635d2c95bc3007fa6a13ac30615792892 (commit)
       via  4dbfc668f5f2e0a8e053983d865bf66e298b168d (commit)
       via  c8e304313cf98443af573e940796bdd136772da8 (commit)
       via  1946477f085862d246c46c3ce1d886d2d56edc22 (commit)
      from  4ae60fef1e43582d715094d169fe0e97e32bede0 (commit)

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

- Log -----------------------------------------------------------------
commit 3cc1560030483e8b41d78abea376560908c0d3ce
Merge: 542d1dd be80867
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Aug 18 11:30:33 2011 -0600

    Merge remote-tracking branch 'gdb/master' into duplicate-feature-2
    
    Conflicts:
    	gdb/linespec.c

commit be80867ce4c5abdcf99c9f19732258462641994a
Author: Keith Seitz <keiths@redhat.com>
Date:   Thu Aug 18 16:19:00 2011 +0000

    	* gdb.cp/meth-typedefs.cc: New file.
    	* gdb.cp/meth-typedefs.exp: New file.

commit f8b99709c8a32c4b413c403058b1a68f8adba195
Author: Keith Seitz <keiths@redhat.com>
Date:   Thu Aug 18 16:17:31 2011 +0000

    	PR c++/12266
    	* cp-name-parser.y (struct demangle_info): Remove unused
    	member PREV.
    	(d_grab): Likewise.
    	(allocate_info): Change return type to struct demangle_info *.
    	Always allocate a new demangle_info.
    	Remove unused PREV pointer.
    	(cp_new_demangle_parse_info): New function.
    	(cp_demangled_name_parse_free): New function.
    	(do_demangled_name_parse_free_cleanup): New function.
    	(make_cleanup_cp_demangled_name_parse_free): New function.
    	(cp_demangled_name_to_comp): Change return type to
    	struct demangle_parse_info *.
    	Allocate a new storage for each call.
    	(main): Update usage for cp_demangled_name_to_comp
    	API change.
    	* cp-support.h (struct demangle_parse_info): New structure.
    	(cp_demangled_name_to_comp): Update API change for
    	return type.
    	(cp_new_demangle_parse_info): Declare.
    	(make_cleanup_cp_demangled_name_parse_free): New declaration.
    	(cp_demangled_name_parse_free): Declare.
    	* cp-support.c (cp_canonicalize_string): Update API
    	change for cp_demangled_name_to_comp.
    	(mangled_name_to_comp): Likewise.
    	Return struct demangle_parse_info, too.
    	(cp_class_name_from_physname): Update mangled_name_to_comp
    	API change.
    	(method_name_from_physname): Likewise.
    	(cp_func_name): Update API change for cp_demangled_name_to_comp.
    	(cp_remove_params): Likewise.
    	* python/py-type.c (typy_legacy_template_argument): Likewise.
    
    	* cp-support.h (cp_canonicalize_string_no_typedefs): Declare.
    	(cp_merge_demangle_parse_infos): Declare.
    	* cp-support.c (ignore_typedefs): New file global.
    	(copy_string_to_obstack): New function.
    	(inspect_type): New function.
    	(replace_typedefs): New function.
    	(replace_typedefs_qualified_name): New function.
    	(cp_canonicalize_string_no_typedefs): New function.
    	* cp-name-parser.y (cp_merge_demangle_parse_infos): New function.
    	(cp_new_demangle__parse_info): Allocate and initialize the obstack.
    	* linespec.c (find_methods): Use cp_canonicalize_string_no_typedefs
    	instead of cp_canonicalize_string.
    	(find_method): Likewise.
    	(decode_compound): Before looking up the name, call
    	cp_canonicalize_string_no_typedefs.
    	(decode_variable): Likewise.

commit 542d1ddf382dbef922085b511d2dbb5921b63844
Author: Tom Tromey <tromey@redhat.com>
Date:   Thu Aug 18 09:19:04 2011 -0600

    pull a convenience function out of decode_variable

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

Summary of changes:
 ChangeLog                                         |    8 +
 bfd/ChangeLog                                     |  289 +++++-
 bfd/archures.c                                    |   23 +-
 bfd/bfd-in.h                                      |   17 +-
 bfd/bfd-in2.h                                     |   53 +-
 bfd/coff-alpha.c                                  |    2 +-
 bfd/coff-mips.c                                   |    2 +-
 bfd/coffcode.h                                    |    2 +-
 bfd/coffgen.c                                     |   67 +
 bfd/cofflink.c                                    |    6 +-
 bfd/cpu-i386.c                                    |    7 +-
 bfd/elf-bfd.h                                     |    5 +-
 bfd/elf32-arm.c                                   |   26 +-
 bfd/elf32-ppc.c                                   |  166 +++-
 bfd/elf64-ppc.c                                   |  110 +-
 bfd/elf64-x86-64.c                                |   71 +-
 bfd/elflink.c                                     |  372 ++----
 bfd/elfxx-mips.c                                  |  112 +-
 bfd/libbfd-in.h                                   |   24 +-
 bfd/libbfd.h                                      |   24 +-
 bfd/libcoff-in.h                                  |    2 +
 bfd/libcoff.h                                     |    2 +
 bfd/linker.c                                      |  267 ++---
 bfd/mach-o-i386.c                                 |    1 +
 bfd/mach-o-target.c                               |    1 -
 bfd/mach-o-x86-64.c                               |   44 +-
 bfd/mach-o.c                                      | 1120 ++++++++++-------
 bfd/mach-o.h                                      |   94 +-
 bfd/netbsd-core.c                                 |    1 +
 bfd/targets.c                                     |    5 +-
 bfd/version.h                                     |    2 +-
 bfd/vms-alpha.c                                   |    4 +-
 configure                                         |    2 +-
 configure.ac                                      |    2 +-
 gdb/ChangeLog                                     |  417 ++++++
 gdb/MAINTAINERS                                   |    1 +
 gdb/NEWS                                          |   19 +
 gdb/ada-lang.c                                    |    3 +
 gdb/breakpoint.c                                  |  114 ++-
 gdb/cli-out.c                                     |    2 +-
 gdb/cli/cli-cmds.c                                |    2 +-
 gdb/cli/cli-decode.c                              |    2 +-
 gdb/cli/cli-interp.c                              |   11 +-
 gdb/cli/cli-logging.c                             |    5 +-
 gdb/cli/cli-script.c                              |    2 +-
 gdb/cli/cli-setshow.c                             |    3 +
 gdb/config/djgpp/fnchange.lst                     |   24 +
 gdb/configure.tgt                                 |   11 +
 gdb/cp-abi.c                                      |    3 +
 gdb/cp-name-parser.y                              |  141 ++-
 gdb/cp-support.c                                  |  455 +++++++-
 gdb/cp-support.h                                  |   32 +-
 gdb/darwin-nat.c                                  |    5 +-
 gdb/data-directory/Makefile.in                    |    4 +-
 gdb/doc/ChangeLog                                 |   26 +
 gdb/doc/gdb.texinfo                               |  135 ++-
 gdb/doublest.c                                    |    6 +-
 gdb/dwarf2loc.c                                   |   16 +-
 gdb/elfread.c                                     |   17 +-
 gdb/event-loop.c                                  |   39 +-
 gdb/event-loop.h                                  |    2 +-
 gdb/exceptions.c                                  |   50 +-
 gdb/exceptions.h                                  |    5 +-
 gdb/features/Makefile                             |   10 +-
 gdb/features/tic6x-c62x-linux.c                   |   56 +
 gdb/features/tic6x-c62x-linux.xml                 |   13 +
 gdb/features/tic6x-c62x.c                         |   54 +
 gdb/features/tic6x-c62x.xml                       |   12 +
 gdb/features/tic6x-c64x-linux.c                   |   90 ++
 gdb/features/tic6x-c64x-linux.xml                 |   14 +
 gdb/features/tic6x-c64x.c                         |   88 ++
 gdb/features/tic6x-c64x.xml                       |   13 +
 gdb/features/tic6x-c64xp-linux.c                  |   95 ++
 gdb/features/tic6x-c64xp-linux.xml                |   15 +
 gdb/features/tic6x-c64xp.c                        |   93 ++
 gdb/features/tic6x-c64xp.xml                      |   14 +
 gdb/features/tic6x-c6xp.xml                       |   13 +
 gdb/features/tic6x-core.xml                       |   44 +
 gdb/features/tic6x-gp.xml                         |   42 +
 gdb/frame.c                                       |    4 +-
 gdb/gdbserver/ChangeLog                           |   31 +
 gdb/gdbserver/Makefile.in                         |   13 +
 gdb/gdbserver/configure.srv                       |   14 +
 gdb/gdbserver/linux-low.c                         |   69 +
 gdb/gdbserver/linux-tic6x-low.c                   |  334 +++++
 gdb/gdbserver/server.c                            |   19 +
 gdb/gdbserver/target.h                            |    4 +
 gdb/gdbserver/win32-low.c                         |    2 +
 gdb/infcmd.c                                      |    2 +
 gdb/inferior.c                                    |    6 +-
 gdb/infrun.c                                      |   11 +-
 gdb/interps.c                                     |    6 +-
 gdb/linespec.c                                    |   99 +-
 gdb/maint.c                                       |   14 +-
 gdb/mi/mi-cmd-break.c                             |    4 +-
 gdb/mi/mi-cmd-disas.c                             |    1 +
 gdb/mi/mi-cmd-env.c                               |    7 +-
 gdb/mi/mi-cmd-file.c                              |    4 +
 gdb/mi/mi-cmd-stack.c                             |    6 +-
 gdb/mi/mi-cmd-var.c                               |   15 +
 gdb/mi/mi-interp.c                                |    8 +-
 gdb/mi/mi-main.c                                  |   37 +-
 gdb/mi/mi-symbol-cmds.c                           |    1 +
 gdb/osdata.c                                      |    1 +
 gdb/printcmd.c                                    |   41 +-
 gdb/progspace.c                                   |    2 +-
 gdb/python/lib/gdb/__init__.py                    |   27 +-
 gdb/python/lib/gdb/command/pretty_printers.py     |    2 +
 gdb/python/lib/gdb/command/prompt.py              |   66 +
 gdb/python/lib/gdb/prompt.py                      |  149 +++
 gdb/python/py-auto-load.c                         |    2 +
 gdb/python/py-breakpoint.c                        |    8 +-
 gdb/python/py-cmd.c                               |    2 +-
 gdb/python/py-frame.c                             |    2 +-
 gdb/python/py-function.c                          |    2 +-
 gdb/python/py-inferior.c                          |    2 +-
 gdb/python/py-param.c                             |    2 +-
 gdb/python/py-symbol.c                            |   18 +
 gdb/python/py-type.c                              |   11 +-
 gdb/python/python.c                               |    4 +-
 gdb/regformats/tic6x-c62x-linux.dat               |   38 +
 gdb/regformats/tic6x-c62x.dat                     |   38 +
 gdb/regformats/tic6x-c64x-linux.dat               |   70 +
 gdb/regformats/tic6x-c64x.dat                     |   70 +
 gdb/regformats/tic6x-c64xp-linux.dat              |   73 ++
 gdb/regformats/tic6x-c64xp.dat                    |   73 ++
 gdb/remote-fileio.c                               |    3 +-
 gdb/remote.c                                      |   11 +
 gdb/solib-dsbt.c                                  | 1259 +++++++++++++++++++
 gdb/solib-frv.c                                   |  115 +--
 gdb/solib-irix.c                                  |  137 +--
 gdb/solib-sunos.c                                 |  138 +--
 gdb/solib-svr4.c                                  |  178 +---
 gdb/solib-target.c                                |   14 +-
 gdb/solib.c                                       |  190 +---
 gdb/solist.h                                      |   20 +-
 gdb/somread.c                                     |   16 +-
 gdb/source.c                                      |    1 +
 gdb/spu-tdep.c                                    |  124 +-
 gdb/stack.c                                       |  172 +--
 gdb/symfile-mem.c                                 |    2 +-
 gdb/symfile.c                                     |    4 +-
 gdb/target.h                                      |    2 +
 gdb/testsuite/ChangeLog                           |  108 ++
 gdb/testsuite/gdb.arch/i386-dr3-watch.exp         |    4 +-
 gdb/testsuite/gdb.base/break-always.exp           |   20 +
 gdb/testsuite/gdb.base/callfuncs.exp              |    2 +-
 gdb/testsuite/gdb.base/display.c                  |    2 +
 gdb/testsuite/gdb.base/display.exp                |   26 +
 gdb/testsuite/gdb.base/{savedregs.c => float.c}   |   45 +-
 gdb/testsuite/gdb.base/float.exp                  |    5 +-
 gdb/testsuite/gdb.base/jit-so.exp                 |   12 +-
 gdb/testsuite/gdb.base/jit.exp                    |    8 +-
 gdb/testsuite/gdb.base/maint.exp                  |    5 +
 gdb/testsuite/gdb.base/nostdlib.exp               |    8 +
 gdb/testsuite/gdb.base/savedregs.c                |   14 +
 gdb/testsuite/gdb.base/savedregs.exp              |    1 +
 gdb/testsuite/gdb.base/watch-vfork.exp            |    5 +
 gdb/testsuite/gdb.cp/cplusfuncs.exp               |    2 +-
 gdb/testsuite/gdb.cp/infcall-dlopen.exp           |    5 +-
 gdb/testsuite/gdb.cp/inherit.exp                  |    2 +-
 gdb/testsuite/gdb.cp/meth-typedefs.cc             |  151 +++
 gdb/testsuite/gdb.cp/meth-typedefs.exp            |  160 +++
 gdb/testsuite/gdb.cp/overload.exp                 |    9 +-
 gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp |    5 +-
 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.S     |  132 ++
 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.exp   |   52 +
 gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.S     |    2 +-
 gdb/testsuite/gdb.mi/gdb669.exp                   |    5 -
 gdb/testsuite/gdb.mi/mi-nonstop-exit.exp          |    2 +-
 gdb/testsuite/gdb.mi/mi-nonstop.exp               |    2 +-
 gdb/testsuite/gdb.mi/mi-ns-stale-regcache.exp     |    2 +-
 gdb/testsuite/gdb.mi/mi-nsintrall.exp             |    2 +-
 gdb/testsuite/gdb.mi/mi-nsmoribund.exp            |    2 +-
 gdb/testsuite/gdb.mi/mi-nsthrexec.exp             |    2 +-
 gdb/testsuite/gdb.mi/mi-pthreads.exp              |    5 -
 gdb/testsuite/gdb.mi/mi-syn-frame.c               |   13 +-
 gdb/testsuite/gdb.mi/mi2-pthreads.exp             |    5 -
 gdb/testsuite/gdb.python/py-symbol.exp            |    5 +
 gdb/testsuite/gdb.python/python.exp               |   26 +
 gdb/testsuite/gdb.threads/pthreads.exp            |    5 -
 gdb/testsuite/gdb.threads/thread-find.exp         |    4 +
 gdb/testsuite/gdb.trace/unavailable.exp           |   34 +
 gdb/testsuite/gdb.xml/tdesc-regs.exp              |    3 +
 gdb/testsuite/lib/mi-support.exp                  |    4 +-
 gdb/thread.c                                      |    6 +-
 gdb/tic6x-linux-tdep.c                            |  224 ++++
 gdb/tic6x-tdep.c                                  | 1389 +++++++++++++++++++++
 gdb/tic6x-tdep.h                                  |   54 +
 gdb/top.c                                         |    7 +-
 gdb/tracepoint.c                                  |    5 +
 gdb/tui/tui-interp.c                              |   79 --
 gdb/tui/tui-io.c                                  |    8 +-
 gdb/tui/tui-regs.c                                |   56 +-
 gdb/ui-out.c                                      |    2 +-
 gdb/ui-out.h                                      |    2 +-
 gdb/version.in                                    |    2 +-
 include/elf/ChangeLog                             |    5 +
 include/elf/x86-64.h                              |    1 +
 include/mach-o/ChangeLog                          |   15 +
 include/mach-o/external.h                         |  273 ++++
 include/mach-o/loader.h                           |  264 +++--
 include/mach-o/reloc.h                            |   53 +
 include/mach-o/x86-64.h                           |   37 +
 include/opcode/ChangeLog                          |   46 +
 include/opcode/mips.h                             |  110 +-
 include/opcode/sparc.h                            |    8 +-
 libiberty/ChangeLog                               |   46 +-
 libiberty/cp-demangle.c                           |   14 +-
 libiberty/md5.c                                   |   16 +-
 libiberty/testsuite/demangle-expected             |    5 +-
 libiberty/testsuite/test-expandargv.c             |    7 +-
 opcodes/ChangeLog                                 |   52 +
 opcodes/i386-dis.c                                |   46 +-
 opcodes/i386-opc.tbl                              |    2 +-
 opcodes/i386-tbl.h                                |    2 +-
 opcodes/micromips-opc.c                           |  178 ++--
 opcodes/mips-dis.c                                |   20 +-
 opcodes/mips-opc.c                                |   10 +
 opcodes/sparc-dis.c                               |   19 +-
 opcodes/sparc-opc.c                               |   88 ++
 221 files changed, 10174 insertions(+), 2834 deletions(-)
 create mode 100644 gdb/features/tic6x-c62x-linux.c
 create mode 100644 gdb/features/tic6x-c62x-linux.xml
 create mode 100644 gdb/features/tic6x-c62x.c
 create mode 100644 gdb/features/tic6x-c62x.xml
 create mode 100644 gdb/features/tic6x-c64x-linux.c
 create mode 100644 gdb/features/tic6x-c64x-linux.xml
 create mode 100644 gdb/features/tic6x-c64x.c
 create mode 100644 gdb/features/tic6x-c64x.xml
 create mode 100644 gdb/features/tic6x-c64xp-linux.c
 create mode 100644 gdb/features/tic6x-c64xp-linux.xml
 create mode 100644 gdb/features/tic6x-c64xp.c
 create mode 100644 gdb/features/tic6x-c64xp.xml
 create mode 100644 gdb/features/tic6x-c6xp.xml
 create mode 100644 gdb/features/tic6x-core.xml
 create mode 100644 gdb/features/tic6x-gp.xml
 create mode 100644 gdb/gdbserver/linux-tic6x-low.c
 create mode 100644 gdb/python/lib/gdb/command/prompt.py
 create mode 100644 gdb/python/lib/gdb/prompt.py
 create mode 100644 gdb/regformats/tic6x-c62x-linux.dat
 create mode 100644 gdb/regformats/tic6x-c62x.dat
 create mode 100644 gdb/regformats/tic6x-c64x-linux.dat
 create mode 100644 gdb/regformats/tic6x-c64x.dat
 create mode 100644 gdb/regformats/tic6x-c64xp-linux.dat
 create mode 100644 gdb/regformats/tic6x-c64xp.dat
 create mode 100644 gdb/solib-dsbt.c
 copy gdb/testsuite/gdb.base/{savedregs.c => float.c} (52%)
 create mode 100644 gdb/testsuite/gdb.cp/meth-typedefs.cc
 create mode 100644 gdb/testsuite/gdb.cp/meth-typedefs.exp
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.S
 create mode 100644 gdb/testsuite/gdb.dwarf2/dw2-op-stack-value.exp
 create mode 100644 gdb/tic6x-linux-tdep.c
 create mode 100644 gdb/tic6x-tdep.c
 create mode 100644 gdb/tic6x-tdep.h
 create mode 100644 include/mach-o/external.h
 create mode 100644 include/mach-o/reloc.h
 create mode 100644 include/mach-o/x86-64.h

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 7ac4eb3..23e45c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-08-14  Yao Qi  <yao@codesourcery.com>
+
+	Merge from gcc:
+
+	2011-08-14  Yao Qi  <yao@codesourcery.com>
+	* configure.ac (tic6x-*-*): Remove gdb from noconfigdirs.
+	* configure: Regenerate.
+
 2011-07-26  Ian Lance Taylor  <iant@google.com>
 
 	Merge from gcc:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c3fac58..f883765 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,284 @@
+2011-08-18  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_read_segment): Initialize list.
+
+2011-08-17  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_write_section_32): Fix typo.
+
+2011-08-17  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12762
+	* bfd-in.h (struct bfd_section_already_linked): Forward declare.
+	(_bfd_handle_already_linked): Declare.
+	* coff-alpha.c (_bfd_ecoff_section_already_linked): Define as
+	_bfd_coff_section_already_linked.
+	* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
+	* coffcode.h (coff_section_already_linked): Likewise.
+	* cofflink.c (coff_link_add_symbols): Revert 2011-07-09 changes.
+	* elf-bfd.h: Likewise.
+	* libbfd-in.h: Likewise.
+	* targets.c: Likewise.
+	* linker.c (bfd_section_already_linked): Likewise.
+	(bfd_section_already_linked_table_lookup): Likewise.
+	(bfd_section_already_linked_table_insert): Likewise.
+	(_bfd_generic_section_already_linked): Likewise.  Call
+	_bfd_handle_already_linked.
+	(_bfd_handle_already_linked): New function, split out from..
+	* elflink.c (_bfd_elf_section_already_linked): ..here.  Revert
+	2011-07-09 changes.  Avoid unnecessary strcmp when matching
+	already_linked_list entries.  Match plugin linkonce section.
+	(section_signature): Delete.
+	* coffgen.c (_bfd_coff_section_already_linked): New function.
+	* libcoff-in.h (_bfd_coff_section_already_linked): Declare.
+	* libbfd.h: Regenerate.
+	* libcoff.h: Regenerate.
+	* bfd-in2.h: Regenerate.
+
+2011-08-14  Alan Modra  <amodra@gmail.com>
+
+	* elf32-ppc.c (ppc_elf_select_plt_layout): Force bss-plt when
+	shared and call to _mcount will go via plt.
+
+2011-08-14  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c: Prefix all einfo error strings with "%P: ".
+	* elf32-ppc.c: Likewise.
+	(ppc_elf_select_plt_layout): Use einfo rather than info to report
+	forced bss-plt.
+
+2011-08-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/13082
+	* elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_RELATIVE64.
+	(elf_x86_64_relocate_section): Treat R_X86_64_64 like R_X86_64_32
+	and zero-extend it to 64bit if addend is zero for x32.  Generate
+	R_X86_64_RELATIVE64 for x32.
+
+2011-08-09  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+	* bfd-in.h (bfd_elf32_arm_set_target_relocs): Update prototype.
+	* bfd-in2.h (bfd_elf32_arm_set_target_relocs): Likewise.
+	* elf32-arm.c (elf32_arm_link_hash_table): New field.
+	(elf232_arm_link_hash_table_create): Initialise new field.
+	(check_use_blx): Change test depending on fix_arm1176.
+	(bfd_elf32_arm_set_target_relocs): Set fix_arm1176 from
+	command line options.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (struct mach_o_segment_name_xlat): Add comments.
+	(segsec_names_xlat): Reorder elements.
+	(bfd_mach_o_read_section_32): Fix typo.
+	(bfd_mach_o_read_section_64): Fix typo.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.h (BFD_MACH_O_SEGNAME_SIZE): New macro.
+	(BFD_MACH_O_SECTNAME_SIZE): Ditto.
+	(bfd_mach_o_section): Use them.  Add next field.
+	(bfd_mach_o_segment_command): Replace sections array by
+	sect_head and sect_tail.
+	(bfd_mach_o_get_mach_o_section): New macro.
+	(bfd_mach_o_lookup_section): Remove.
+	(bfd_mach_o_new_section_hook): New function.
+	* mach-o.c (bfd_mach_o_normalize_section_name): Use strncmp
+	instead of strcmp.
+	(bfd_mach_o_convert_section_name_to_bfd): Replaces section
+	parameter with segname and sectname parameters.  Adjust.
+	(bfd_mach_o_append_section_to_segment): New function.  Use a
+	linked list for Mach-O sections.
+	(bfd_mach_o_write_segment_32): Adjust.
+	(bfd_mach_o_write_segment_64): Ditto.
+	(bfd_mach_o_build_commands): Fix comment.  Adjust.
+	(bfd_mach_o_flatten_sections): Adjust.
+	(bfd_mach_o_print_section_map): Adjust.
+	(bfd_mach_o_set_section_flags_from_bfd): Ditto.
+	(bfd_mach_o_new_section_hook): New function.
+	(bfd_mach_o_init_section_from_mach_o): Ditto.
+	(bfd_mach_o_read_section_32): Remove section parameter.
+	Return a section instead.
+	(bfd_mach_o_read_section_64): Ditto.
+	(bfd_mach_o_read_section): Ditto.
+	(bfd_mach_o_make_bfd_section): Adjust.
+	(bfd_mach_o_read_segment): Adjust for new profile of
+	bfd_mach_o_read_section.
+	(bfd_mach_o_lookup_section): Remove.
+	* mach-o-target.c (bfd_mach_o_new_section_hook): Remove.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.h (bfd_mach_o_version_min_command): New structure.
+	(bfd_mach_o_load_command): Add version_min.
+	(mach_o_data_struct): Fix comment.
+	* mach-o.c (bfd_mach_o_read_version_min): New function.
+	(bfd_mach_o_read_command): Handle BFD_MACH_O_LC_FUNCTION_STARTS,
+	BFD_MACH_O_LC_VERSION_MIN_MACOSX and
+	BFD_MACH_O_LC_VERSION_MIN_IPHONEOS.
+	(bfd_mach_o_get_name_or_null): New function.
+	(bfd_mach_o_get_name): Use the above new one.
+	(bfd_mach_o_load_command_name): Add the above new commands.
+	(bfd_mach_o_bfd_print_private_bfd_data): Display numerically
+	unknown commands.  Handle BFD_MACH_O_LC_FUNCTION_STARTS,
+	BFD_MACH_O_LC_VERSION_MIN_MACOSX and
+	BFD_MACH_O_LC_VERSION_MIN_IPHONEOS.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.h: Move size macros to external.h
+	Move reloc macros to reloc.h and x86-64.h.
+	* mach-o-i386.c: Includes mach-o/reloc.h
+	* mach-o-x86-64.c: Ditto and includes mach-o/x86-64.h
+	* mach-o.c: Add includes.
+	(bfd_mach_o_write_header): Use structure from external.h to convert.
+	(bfd_mach_o_write_thread): Ditto.
+	(bfd_mach_o_write_relocs): Ditto.
+	(bfd_mach_o_write_section_32): Ditto.
+	(bfd_mach_o_write_section_64): Ditto.
+	(bfd_mach_o_write_segment_32): Ditto.
+	(bfd_mach_o_write_segment_64): Ditto.
+	(bfd_mach_o_write_symtab): Ditto.
+	(bfd_mach_o_write_contents): Ditto.
+	(bfd_mach_o_read_header): Ditto.
+	(bfd_mach_o_read_section_32): Ditto.
+	(bfd_mach_o_read_section_64): Ditto.
+	(bfd_mach_o_read_symtab_symbol): Ditto.
+	(bfd_mach_o_read_dylinker): Ditto.
+	(bfd_mach_o_read_dylib): Ditto.
+	(bfd_mach_o_read_dysymtab): Ditto.
+	(bfd_mach_o_read_symtab): Ditto.
+	(bfd_mach_o_read_linkedit): Ditto.
+	(bfd_mach_o_read_str): Ditto.
+	(bfd_mach_o_read_dyld_info): Ditto.
+	(bfd_mach_o_read_segment): Ditto.
+	(bfd_mach_o_read_command): Ditto.
+	(bfd_mach_o_archive_p): Ditto.
+	(bfd_mach_o_canonicalize_one_reloc): Ditto. Change the BUF parameter.
+	(bfd_mach_o_canonicalize_relocs): Adjust to call the above function.
+	(bfd_mach_o_read_dysymtab_symbol): Rename BUF variable.
+	(bfd_mach_o_read_uuid): Remove useless cast.  Use a macro instead
+	of an hard-coded value.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o-x86-64.c (bfd_mach_o_x86_64_mkobject): Fix cut-and-past typos.
+	(bfd_mach_o_x86_64_swap_reloc_out): Handle BFD_RELOC_32_PCREL,
+	BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64 and
+	BFD_RELOC_MACH_O_X86_64_GOT_LOAD.  Share common code.
+
+2011-08-08  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_normalize_section_name): New function.
+	(bfd_mach_o_convert_section_name_to_bfd): Use it.
+	(bfd_mach_o_get_section_type_from_name): New function.
+	(bfd_mach_o_get_section_attribute_from_name): Ditto.
+	* mach-o.h (bfd_mach_o_section): Move bfdsection field at the end.
+	Add comments.  Add prototypes for the above new functions.
+
+2011-08-05  Mark Kettenis  <kettenis@gnu.org>
+
+	* netbsd-core.c (netbsd_core_vec): Init match_priority field.
+
+2011-08-05  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (maybe_strip_output): New function.
+	(ppc64_elf_size_stubs): Use it to strip .branch_lt and .eh_frame.
+
+2011-08-05  Alan Modra  <amodra@gmail.com>
+
+	PR ld/12762
+	* elflink.c (_bfd_elf_section_already_linked): Return matched
+	status.  Remove COFF comdat section handling.
+	* linker.c (_bfd_generic_section_already_linked): Return matched
+	status.  Don't set SEC_GROUP in l_flags for plugin entries.
+	(bfd_section_already_linked): Update prototype.
+	* targets.c (_section_already_linked): Likewise.
+	* elf-bfd.h (_bfd_elf_section_already_linked): Likewise.
+	* libbfd-in.h (_bfd_generic_section_already_linked): Likewise.
+	(_bfd_nolink_section_already_linked): Update.
+	* libbfd.h: Regenerate.
+	* bfd-in2.h: Regenerate.
+
+2011-08-05  Alan Modra  <amodra@gmail.com>
+
+	* elf32-ppc.c: Include dwarf2.h.
+	(struct ppc_elf_link_hash_table): Add glink_eh_frame.
+	(ppc_elf_create_glink): Create .eh_frame section.
+	(glink_eh_frame_cie): New array.
+	(ppc_elf_size_dynamic_sections): Size glink_eh_frame.
+	(ppc_elf_finish_dynamic_sections): Write glink_eh_frame.
+
+2011-08-04  Tristan Gingold  <gingold@adacore.com>
+
+	* vms-alpha.c (_bfd_vms_write_eeom): Round vms_linkage_index.
+	(_bfd_vms_write_etir): Initialize vms_linkage_index to 0.
+
+2011-08-03  Tristan Gingold  <gingold@adacore.com>
+
+	* mach-o.c (bfd_mach_o_canonicalize_symtab): Handle no symbols case.
+	(bfd_mach_o_read_symtab_symbols): Return if no symbols.
+
+2011-08-02  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c (check_4byte_branch): Remove function.
+	(check_relocated_bzc): New function.
+	(_bfd_mips_elf_relax_section): Permit the relaxation of LUI
+	instructions that immediately follow a compact branch
+	instruction.
+
+2011-08-02  Alan Modra  <amodra@gmail.com>
+
+	* elf64-ppc.c (build_plt_stub): Correct emitted relocs when no
+	plt_static_chain.
+	(ppc_build_one_stub): Adjust get_relocs call to suit..
+	(ppc_size_one_stub): ..and reloc sizing.  Correct plt size corner case.
+
+2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+	PR ld/13048
+	* archures.c (bfd_mach_i386_intel_syntax): New.
+	(bfd_mach_i386_i8086): Updated.
+	(bfd_mach_i386_i386): Likewise.
+	(bfd_mach_x86_64): Likewise.
+	(bfd_mach_x64_32): Likewise.
+	(bfd_mach_i386_i386_intel_syntax): Likewise.
+	(bfd_mach_x86_64_intel_syntax): Likewise.
+	(bfd_mach_x64_32_intel_syntax): Likewise.
+	(bfd_mach_l1om): Likewise.
+	(bfd_mach_l1om_intel_syntax): Likewise.
+	(bfd_mach_k1om): Likewise.
+	(bfd_mach_k1om_intel_syntax): Likewise.
+
+	* bfd-in2.h: Regenerated.
+
+	* cpu-i386.c (bfd_i386_compatible): Check mach instead of
+	bits_per_address.
+	(bfd_x64_32_arch_intel_syntax): Set bits_per_address to 64.
+	(bfd_x64_32_arch): Likewise.
+
+	* elf64-x86-64.c: Include "libiberty.h".
+	(x86_64_elf_howto_table): Append x32 R_X86_64_32.
+	(elf_x86_64_rtype_to_howto): Support x32 R_X86_64_32.
+	(elf_x86_64_reloc_type_lookup): Likewise.
+	(elf_x86_64_reloc_name_lookup): Likewise.
+	(elf_x86_64_relocate_section): Likewise.
+	(elf_x86_64_check_relocs): Allow R_X86_64_64 relocations for x32.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c (check_br32): Fix return type.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c (bz_insn_16): Correct opcode mask.
+
+2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
+
+	* elfxx-mips.c: Adjust comments throughout.
+	(mips_elf_relax_delete_bytes): Reshape code.
+	(_bfd_mips_elf_relax_section): Remove check for
+	R_MICROMIPS_GPREL16 relocations.  Reshape code.
+
 2011-07-28  Roland McGrath  <mcgrathr@google.com>
 
 	* elf32-i386.c (NACL_PLT_ENTRY_SIZE, NACLMASK): New macros.
@@ -64,13 +345,7 @@
 
 2011-07-26  Alan Modra  <amodra@gmail.com>
 
-	* elf32-ppc.c: Include dwarf2.h.
-	(struct ppc_elf_link_hash_table): Add glink_eh_frame.
-	(ppc_elf_create_glink): Create .eh_frame section.
-	(glink_eh_frame_cie): New array.
-	(ppc_elf_size_dynamic_sections): Size glink_eh_frame.
-	(ppc_elf_finish_dynamic_sections): Write glink_eh_frame.
-	* elf64-ppc.c: Include dwarg2.h.
+	* elf64-ppc.c: Include dwarf2.h.
 	(struct ppc_link_hash_table): Add glink_eh_frame.
 	(create_linkage_sections): Create .eh_frame section.
 	(ppc64_elf_size_dynamic_sections): Arrange to drop unneeded
diff --git a/bfd/archures.c b/bfd/archures.c
index 65682f2..44850e7 100644
--- a/bfd/archures.c
+++ b/bfd/archures.c
@@ -183,19 +183,20 @@ DESCRIPTION
 .#define bfd_mach_mipsisa64r2           65
 .#define bfd_mach_mips_micromips        96
 .  bfd_arch_i386,      {* Intel 386 *}
-.#define bfd_mach_i386_i386 1
-.#define bfd_mach_i386_i8086 2
-.#define bfd_mach_i386_i386_intel_syntax 3
-.#define bfd_mach_x64_32 32
-.#define bfd_mach_x64_32_intel_syntax 33
-.#define bfd_mach_x86_64 64
-.#define bfd_mach_x86_64_intel_syntax 65
+.#define bfd_mach_i386_intel_syntax	(1 << 0)
+.#define bfd_mach_i386_i8086		(1 << 1)
+.#define bfd_mach_i386_i386		(1 << 2)
+.#define bfd_mach_x86_64		(1 << 3)
+.#define bfd_mach_x64_32		(1 << 4)
+.#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
+.#define bfd_mach_x86_64_intel_syntax	(bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
+.#define bfd_mach_x64_32_intel_syntax	(bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
 .  bfd_arch_l1om,   {* Intel L1OM *}
-.#define bfd_mach_l1om 66
-.#define bfd_mach_l1om_intel_syntax 67
+.#define bfd_mach_l1om			(1 << 5)
+.#define bfd_mach_l1om_intel_syntax	(bfd_mach_l1om | bfd_mach_i386_intel_syntax)
 .  bfd_arch_k1om,   {* Intel K1OM *}
-.#define bfd_mach_k1om 68
-.#define bfd_mach_k1om_intel_syntax 69
+.#define bfd_mach_k1om			(1 << 6)
+.#define bfd_mach_k1om_intel_syntax	(bfd_mach_k1om | bfd_mach_i386_intel_syntax)
 .  bfd_arch_we32k,     {* AT&T WE32xxx *}
 .  bfd_arch_tahoe,     {* CCI/Harris Tahoe *}
 .  bfd_arch_i860,      {* Intel 860 *}
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 21b7cc2..718d72e 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -552,11 +552,6 @@ void bfd_putl16 (bfd_vma, void *);
 bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean);
 void bfd_put_bits (bfd_uint64_t, void *, int, bfd_boolean);
 
-extern bfd_boolean bfd_section_already_linked_table_init (void);
-extern void bfd_section_already_linked_table_free (void);
-\f
-/* Externally visible ECOFF routines.  */
-
 #if defined(__STDC__) || defined(ALMOST_STDC)
 struct ecoff_debug_info;
 struct ecoff_debug_swap;
@@ -564,8 +559,18 @@ struct ecoff_extr;
 struct bfd_symbol;
 struct bfd_link_info;
 struct bfd_link_hash_entry;
+struct bfd_section_already_linked;
 struct bfd_elf_version_tree;
 #endif
+
+extern bfd_boolean bfd_section_already_linked_table_init (void);
+extern void bfd_section_already_linked_table_free (void);
+extern bfd_boolean _bfd_handle_already_linked
+  (struct bfd_section *, struct bfd_section_already_linked *,
+   struct bfd_link_info *);
+\f
+/* Externally visible ECOFF routines.  */
+
 extern bfd_vma bfd_ecoff_get_gp_value
   (bfd * abfd);
 extern bfd_boolean bfd_ecoff_set_gp_value
@@ -869,7 +874,7 @@ extern bfd_boolean bfd_elf32_arm_process_before_allocation
 
 void bfd_elf32_arm_set_target_relocs
   (bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
-   int, int, int, int);
+   int, int, int, int, int);
 
 extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
   (bfd *, struct bfd_link_info *);
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 6b7be67..7cf3b7e 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -559,11 +559,6 @@ void bfd_putl16 (bfd_vma, void *);
 bfd_uint64_t bfd_get_bits (const void *, int, bfd_boolean);
 void bfd_put_bits (bfd_uint64_t, void *, int, bfd_boolean);
 
-extern bfd_boolean bfd_section_already_linked_table_init (void);
-extern void bfd_section_already_linked_table_free (void);
-\f
-/* Externally visible ECOFF routines.  */
-
 #if defined(__STDC__) || defined(ALMOST_STDC)
 struct ecoff_debug_info;
 struct ecoff_debug_swap;
@@ -571,8 +566,18 @@ struct ecoff_extr;
 struct bfd_symbol;
 struct bfd_link_info;
 struct bfd_link_hash_entry;
+struct bfd_section_already_linked;
 struct bfd_elf_version_tree;
 #endif
+
+extern bfd_boolean bfd_section_already_linked_table_init (void);
+extern void bfd_section_already_linked_table_free (void);
+extern bfd_boolean _bfd_handle_already_linked
+  (struct bfd_section *, struct bfd_section_already_linked *,
+   struct bfd_link_info *);
+\f
+/* Externally visible ECOFF routines.  */
+
 extern bfd_vma bfd_ecoff_get_gp_value
   (bfd * abfd);
 extern bfd_boolean bfd_ecoff_set_gp_value
@@ -876,7 +881,7 @@ extern bfd_boolean bfd_elf32_arm_process_before_allocation
 
 void bfd_elf32_arm_set_target_relocs
   (bfd *, struct bfd_link_info *, int, char *, int, int, bfd_arm_vfp11_fix,
-   int, int, int, int);
+   int, int, int, int, int);
 
 extern bfd_boolean bfd_elf32_arm_get_bfd_for_interworking
   (bfd *, struct bfd_link_info *);
@@ -1886,19 +1891,20 @@ enum bfd_architecture
 #define bfd_mach_mipsisa64r2           65
 #define bfd_mach_mips_micromips        96
   bfd_arch_i386,      /* Intel 386 */
-#define bfd_mach_i386_i386 1
-#define bfd_mach_i386_i8086 2
-#define bfd_mach_i386_i386_intel_syntax 3
-#define bfd_mach_x64_32 32
-#define bfd_mach_x64_32_intel_syntax 33
-#define bfd_mach_x86_64 64
-#define bfd_mach_x86_64_intel_syntax 65
+#define bfd_mach_i386_intel_syntax     (1 << 0)
+#define bfd_mach_i386_i8086            (1 << 1)
+#define bfd_mach_i386_i386             (1 << 2)
+#define bfd_mach_x86_64                (1 << 3)
+#define bfd_mach_x64_32                (1 << 4)
+#define bfd_mach_i386_i386_intel_syntax (bfd_mach_i386_i386 | bfd_mach_i386_intel_syntax)
+#define bfd_mach_x86_64_intel_syntax   (bfd_mach_x86_64 | bfd_mach_i386_intel_syntax)
+#define bfd_mach_x64_32_intel_syntax   (bfd_mach_x64_32 | bfd_mach_i386_intel_syntax)
   bfd_arch_l1om,   /* Intel L1OM */
-#define bfd_mach_l1om 66
-#define bfd_mach_l1om_intel_syntax 67
+#define bfd_mach_l1om                  (1 << 5)
+#define bfd_mach_l1om_intel_syntax     (bfd_mach_l1om | bfd_mach_i386_intel_syntax)
   bfd_arch_k1om,   /* Intel K1OM */
-#define bfd_mach_k1om 68
-#define bfd_mach_k1om_intel_syntax 69
+#define bfd_mach_k1om                  (1 << 6)
+#define bfd_mach_k1om_intel_syntax     (bfd_mach_k1om | bfd_mach_i386_intel_syntax)
   bfd_arch_we32k,     /* AT&T WE32xxx */
   bfd_arch_tahoe,     /* CCI/Harris Tahoe */
   bfd_arch_i860,      /* Intel 860 */
@@ -5772,7 +5778,6 @@ enum bfd_endian { BFD_ENDIAN_BIG, BFD_ENDIAN_LITTLE, BFD_ENDIAN_UNKNOWN };
 
 /* Forward declaration.  */
 typedef struct bfd_link_info _bfd_link_info;
-struct already_linked;
 
 /* Forward declaration.  */
 typedef struct flag_info flag_info;
@@ -6106,8 +6111,8 @@ typedef struct bfd_target
 
   /* Check if SEC has been already linked during a reloceatable or
      final link.  */
-  void (*_section_already_linked) (bfd *, struct already_linked *,
-                                   struct bfd_link_info *);
+  bfd_boolean (*_section_already_linked) (bfd *, asection *,
+                                          struct bfd_link_info *);
 
   /* Define a common symbol.  */
   bfd_boolean (*_bfd_define_common_symbol) (bfd *, struct bfd_link_info *,
@@ -6176,12 +6181,12 @@ bfd_boolean bfd_link_split_section (bfd *abfd, asection *sec);
 #define bfd_link_split_section(abfd, sec) \
        BFD_SEND (abfd, _bfd_link_split_section, (abfd, sec))
 
-void bfd_section_already_linked (bfd *abfd,


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


             reply	other threads:[~2011-08-18 18:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-18 18:00 tromey [this message]
2011-08-31 15:46 tromey
2011-10-04 17:22 tromey
2011-10-18 20:51 tromey
2011-10-26 14:45 tromey

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=20110818180027.26804.qmail@sourceware.org \
    --to=tromey@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).