public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
From: jkratoch@sourceware.org
To: archer-commits@sourceware.org
Subject: [SCM]  archer-tromey-python: Merge remote-tracking branch 'origin/master' into archer-tromey-python
Date: Sat, 05 Mar 2011 07:17:00 -0000	[thread overview]
Message-ID: <20110305071749.15569.qmail@sourceware.org> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 44789 bytes --]

The branch, archer-tromey-python has been updated
       via  0e19c8e3d03dabb8c3b1f712b1c5bddccfc65c40 (commit)
       via  a7a4525a6e65b4b75c879867600e5a639fb00cd3 (commit)
       via  76968cd942941b6020bffc90bb3f2318932c29a8 (commit)
       via  b37a4146f4df237f2231e091ef9d8111a4905518 (commit)
       via  c9b457b27759bcdb9fecd960957345d0d3c86064 (commit)
       via  a87a7f2c898ba901ffa25e6abd809f4397b60d1d (commit)
       via  ebd43e11859d3fee7f5b124798dc871c9a099825 (commit)
       via  12eaf82ccac1f4aa0d6c97c5d9b4773331153eb9 (commit)
       via  0cca6cb4318a8c65c6ab32dcb9f61ef6fbf71248 (commit)
       via  b6adc4bf9a851f22a3a848183d544233a1bb199a (commit)
       via  77c866e72368ad166cb9e9036346188741e274bd (commit)
       via  4434566b2eabcac263365d9a6cc8235f17301d2d (commit)
       via  13506d14f7186a874f6ac100dc89a98ade3ac0bb (commit)
       via  567449a00c676854c62ce5a729ba1437238c8357 (commit)
       via  f033fcb9b2e57511919fc0987fb3b7dd2662610e (commit)
       via  0fe72a953243d7f1b1f1c2d665936a7ffaad76d2 (commit)
       via  90e7e2bd6153028219b189bc2d9b8e862af8137e (commit)
       via  20348fce11f4efd2d177ac2c1e562deb8246bf37 (commit)
       via  daa59a3ec50fe82c2e8a51745c9e64f2e2424c29 (commit)
       via  df80e5624b8f6034af9686dedc52b576c4d8bd1f (commit)
       via  50ef7a70871caa838fe6fa4575fe931ced2e3cb2 (commit)
       via  efeda4c13365b964de92123df193723fa26e02c1 (commit)
       via  dbece6b30e561cf136d7505469315ba9489fbeab (commit)
       via  c2a77d08fbd7ad51be0c9c3bc8d3dee9ca9d62a5 (commit)
       via  55070178fae932e723555605f8bb07e530fb438e (commit)
       via  7b1eead1edd8cf6f2f0b6a063e1b208624c3f78c (commit)
       via  e216df5fdeb79ed3023629ec4ec113f2a376f67b (commit)
       via  ce67cacef161be2bfb564d30102895970c8fecbf (commit)
       via  d6cf8083cd1b9f34c4a4b0acb140a82e420c2858 (commit)
       via  7ae2da53bda15b472eac647d746de6809dde2750 (commit)
       via  b98f2737fc7aa43ea5a1e82805e488df2eb9c76f (commit)
       via  9fd44d9cc54a215430d02501df91cb26aeee0422 (commit)
       via  5dc548a3814fc4a197a52a1d5db98a2a13ad4304 (commit)
       via  236d899d77e6d8450f316d3e79b036870903ef86 (commit)
       via  35ae39fa95c12c2372e93001e1f17fb89cbef9dc (commit)
       via  ea9b5567eac6f8776ba55424b1cbac1cbec8b720 (commit)
       via  77704734b8d87e4aeaeb89740678ccf5789b6f66 (commit)
       via  7873ed2ce9db6a489626449d53fc45a10dadc0f6 (commit)
       via  d1703457aecbebcd9b3f93c99d7fc4600e55ee27 (commit)
       via  1711a09102f66a5af0f9694677034cecc2ea1694 (commit)
       via  232c22877d7bf70641ec15521bddb5ebcc7b6355 (commit)
       via  938e179b4dcd4169f1d382484b8d843447c045aa (commit)
       via  b3f7901d7fb661b8320af5fbdc60c9a25f451b22 (commit)
       via  8591831e402c0f1ff9b5ae3366b7cb3201d64762 (commit)
       via  904b297d1e06a0730bd85388658b72ef9641d91e (commit)
       via  7cf66615213dc3e66b97adbc783a84bdc494f329 (commit)
       via  027945ee45479b3a1df469981fe4c5d58bbb2ba0 (commit)
       via  56f50d1a90674128b17d952c5580ec2acce7f77b (commit)
       via  5c10c19b1ea641c512cf7c2ab7650f083b8c7501 (commit)
       via  40ceea553f50717898292ba68b9630978aa49147 (commit)
       via  d3290ce50f7f9ce0a391d88d1f2cbc992397e91c (commit)
       via  e2d44e19f97ffa06c7a7332ec2bcc860ef23e673 (commit)
       via  8712f6b3a7ed51bbbd99f0e820f566ac4528e7e6 (commit)
       via  2dba2ad3a38a563e8a7d28a4d1296dfab4955994 (commit)
       via  e4a866e5deacf2bf6cafcd462d41667e6fa032ca (commit)
       via  a3e4477602283c0e534ca49af0bf09b256a50bf0 (commit)
       via  8147ac0f74fb888fe6b66729c812c151307c7d5e (commit)
       via  27c6a7ace80352e27afa0fee7341809766a13d2e (commit)
       via  76fbea1ea7d8e78d12159d29415ffe1c1f70df62 (commit)
       via  896c70ff4495c636f6a8d5ec62532171fc995f35 (commit)
       via  9c4c7281a984ab95019192d462f864b123a2ad1c (commit)
       via  714ad9e033af3d06d35ef6ce937dabe55dfa968e (commit)
       via  0bfb840a31a370ce586953c254baaca97b9f46d9 (commit)
       via  b163c9501437a4f6632da009f33d8a2197918898 (commit)
       via  185d8b9ecf6ad00878a9e5bd147b88bd257da666 (commit)
       via  bc2fb752d086693dac4cf5ad0ec0ddb20fb0a173 (commit)
       via  083ad2b6bbab3514f395cddbabec2cd78a1d97da (commit)
       via  851ad17489934b63a1bd2f7e853362b9c452c60b (commit)
       via  b99e17372d6ff13344989ae6ca42018f3f841b69 (commit)
       via  599a69da541fa51f8aa370bb4b3c23fd57df3f9a (commit)
       via  ee92d7522f5402094ef0bd00adb12e1a48383e0a (commit)
       via  1620f3d8a92f0560deb3152d491f82e5020ac6ca (commit)
       via  9f251d2cc1260a969d74bb5af7c8da9ac88a7fc6 (commit)
       via  7fe4036ca49d8b56e20dca06b549fc172e988622 (commit)
       via  a48c58eda29c4f3883e31abef174d07fe438ffa6 (commit)
       via  75dd2c60feb420ddded746cf0a474116f71e3933 (commit)
       via  1f78c5a06d3028c9ec35d0b4694e5637f4dac492 (commit)
       via  8dd6af5bbf0050da8252ca047b1fb83e009f3aa7 (commit)
       via  2df9e44b5cbf60749dc200a3fd08c198602b84f0 (commit)
       via  0bf07cb790909a1eac146b28c7533aeeb389a64f (commit)
       via  a9fd35627defc77e0864835ebaa95785c0cb70b0 (commit)
       via  32ae5aedbc0a47689187febe7c5f40d660f91a59 (commit)
       via  7995dce02b043621f47a0c66f59736ec7680f5e7 (commit)
       via  afa6b8c846e6a3db1ca18c42a26d7ced07a10d7f (commit)
       via  6a0d06588da416c7f04a7ad1c2c54d0fa6274827 (commit)
       via  35986752ec17df5f88b1a123e8fe0047beb7ca31 (commit)
       via  eb68b71cf4c568b194f79acb2ab9fc0c1733b008 (commit)
       via  5e1f4fb9c743a46027bfa63c6fa3f92d0a087956 (commit)
       via  03819d4bd4ff37d538aa0a928d32570ddaad0d97 (commit)
       via  2a703092846f7572742e6bf7c8427e3aa9fe0bf7 (commit)
       via  e0677154001c5bba64fe988c4aca1c3bdc670949 (commit)
       via  736fab2e600de4c6b0956bc350bf9c6e52c4e549 (commit)
       via  e1805d140a1c3713beef932ae123a22fbe490feb (commit)
       via  e2e74595b709330baff98857221caafbea3bd4a8 (commit)
       via  1fa24e9d8a432c7b03ee53f21eec3397977dac5a (commit)
       via  33753101fec26b9e24032a1dc353c0cfe4fc2ed6 (commit)
       via  e81c6b73f804398744e85017b64808293d92bfca (commit)
       via  f9bbbacaf84c07c92a2a508c0d5a8874ab9f5264 (commit)
       via  04b9c732a99a2b716432a3016a8b52e81dba179a (commit)
       via  66328c61d23f35f5738ba1baa945e4cad9235828 (commit)
       via  a7920b13f9205c02b6439ad421d18c0349cac60b (commit)
       via  241480d8d37124c87d214ff03804422101d9e73e (commit)
       via  f53409968e3e2589da115cebb7beb6e51f69fe23 (commit)
       via  52c20dc91c671a38e2ab9162902d390108998f28 (commit)
       via  eb1a99a5e0ddc33ff30d899f9769e526ffe191e1 (commit)
       via  ea3a017f48b1df31039fc19db01d75ec18ce5ece (commit)
       via  1551b89a191ccb6be85ed229986aab13b0b2c29f (commit)
       via  9aa0d28f79691469c12aaf151b99911211317fac (commit)
       via  a8a0b9ac2053664cf98b67513644abafbedbd8ae (commit)
       via  b9b4fa36ec41efd5efea38d53173a52af9b9bb9a (commit)
       via  996fac49cd48aa95477dbff6af6628901820cc73 (commit)
       via  8669d7b6833e0fef879ceb8d609e7b4212ebb78c (commit)
       via  3087ad20ead8e985a76a47687e578f1d21cdb1d5 (commit)
       via  3ad6f2a23fb6bca83a15620b5be699ed31a1bab4 (commit)
       via  cc5fc8d50694b4777521c3e7a11a85273a3c5975 (commit)
       via  d9ff58d313f33045ae8b1f21c7bc0d96c97a1a22 (commit)
       via  3586cd62d53a78ecbb688fb56810775561d4a5a2 (commit)
       via  13f4062e5e1ee615ff47e374a838719d56a0cef6 (commit)
       via  6a15a69c81244da2c6f8fd5f4ffc7e87a184bfe5 (commit)
       via  d052d8d33df04414db151c7a56855753bdf05599 (commit)
       via  47d7480b3973a5a77fa506a90a3272bb0bc5fc5a (commit)
       via  d14717728494bff5a5a36a32a3f16220bb6a908e (commit)
       via  d6d4afc5c9848b575ed0f61793e38658a26079ce (commit)
       via  8163e682004e5283fb8960ebf25cd6920380bf81 (commit)
       via  136a659a10fc923b13f7777ef4f90efe477001bb (commit)
       via  bf15b55fc96fcb532198008ed6b7c418baf9551a (commit)
       via  f35e3245a84b118eed55accff8af8d0ccbc875d8 (commit)
       via  34f69fb21fdceec180c2d99de8497f98c0a3e265 (commit)
       via  67bcfd2d976bc3376ebd54a8fdee8b20a9327e4a (commit)
       via  619a112d11a2bedc255b476c68a0d84afdf90b1f (commit)
       via  fe18f823cbbd4fb90b5d2925210049f454e72f7c (commit)
       via  46025c82d31f8005411e7c76aeba604aa2cea79d (commit)
       via  36485ab775bc9a758b40b8e3e77e0690f79d49e0 (commit)
       via  925f5671e74998e94cd128e02179d48204b060dc (commit)
       via  5b39881a981dd133b652510eb58d9b1bbf246eab (commit)
       via  9bfdf5ff8abcbc5f783afab13370386b93efb870 (commit)
       via  8373e02d8e40d4891a9e72becc05025315a96353 (commit)
       via  96eade91d3a3f6078b077b1e7708ff21d2716e7c (commit)
       via  7c3bf4874f7876a006ab8960934a219535013776 (commit)
       via  79f30d2b834c4451e97d105b342dc6d666de7e3b (commit)
       via  eed62ddc2c7e01a344d7527ebd474cfaa6d96068 (commit)
       via  fa9d55580873e7ec9ceb6a2790d483aabb589564 (commit)
       via  9b8b1216a728746dbe6acc04a303b43e3d041a67 (commit)
       via  563f9f6b154c1835c701d8d3c62f39fa1a3c97ed (commit)
       via  8626115a2d9b6376c07a1612f2d3fe9b767154c0 (commit)
       via  a3646fa8681721a4ba45d63edddfe9c7c54c8da5 (commit)
       via  20a97700b7405ea6d02dcb8d177a32d0fbf0018f (commit)
       via  fcb8f7c2a37606c91ddc9d7d9e3d4aae5c013475 (commit)
       via  7de7ee7de60cb8acf6d169d9de07bbaa7e521b3b (commit)
       via  727b3aaa6c744f9a47c06ad1bb209a277d6eef8f (commit)
       via  7100bf93e68783adfd2acfb3ef08d790a184a1e5 (commit)
       via  50e29c8989697976181cce3f6553c989754c9558 (commit)
       via  18685360b67b7650126479b4d706d0d754ba55d7 (commit)
       via  c0b28a21dceb5456c7013edc02e241297c030376 (commit)
       via  6aadda0137bb63162fc19707fe498957396abdcb (commit)
       via  07cbcaf14a327d41054620c8585fe72d153bb963 (commit)
       via  e95a0a9bf0afe088816b1e49b66d952e9835c543 (commit)
       via  62daee5c00c23719d0a44763cdff443dca513724 (commit)
       via  909a65aeb53bbe576c8abfbdb8742a27f3b8667b (commit)
       via  d5fedb173c8c363032965b7cb775b63a26c428da (commit)
       via  cdeba9189bff3df4d9960272c6c1ba7bca8af10f (commit)
       via  cb10834ff424afe024318c1c52e815aed12a291f (commit)
       via  ab14e648ba43e1217e5d498d3bef6d74ce12a1fa (commit)
       via  fafaf13337f94d6ce6f7715e09f4962c5a82df8e (commit)
       via  1900c52efc5aaf6cfa6add566739e19f8ea751c0 (commit)
       via  a57264517ef09fb62650b948e01aa713d48c3910 (commit)
       via  8bd2ba073a541ead833dd6592f9ec48392e506a9 (commit)
       via  a22de9cabf43402474aff50ce67ae3a1c2e0302d (commit)
       via  1f60f2400bfb83a9137c2f44257a52e47b7a905d (commit)
       via  2aedcc54cddbb33428affc714fb8a51d4416edf6 (commit)
       via  a08216b23ef31e26a30d3f9e3d4070efda1ced41 (commit)
       via  4ef85c9f86bef0f0b5f50cb9e9a56aba6f168c21 (commit)
       via  164e31cf9dd1a90500f6199c06e31f788e1c3b79 (commit)
       via  dbc21176c80d4354e66be0fd9a2c492738748db9 (commit)
       via  74e82dd2d59e83f897823ddc27386e7b6e87d49c (commit)
       via  6a68075223aa5f972c828b58e2426540b4bfb6cc (commit)
       via  9760e7fbdb9421e66f92fa2bee8c733138434c0c (commit)
       via  35f19dab587ce780030a45bdd3f6f764ebe37a35 (commit)
       via  26053571995689ef0f9e52a0c7ab4eae6c8a54a4 (commit)
       via  1ee55999132376109286fac48d0ec22104707f59 (commit)
       via  5925580b02ae1688b69e332e3f78a67613ea5acf (commit)
       via  cc2f895000bfeeaec30512259b5476d59df65483 (commit)
       via  6190a1a50580965521964916a5b8b78ae2a8f118 (commit)
       via  4591fad33019e7455166b61b933de3372ed079cd (commit)
       via  59a865cca319154f174699f0f8092143ef8dcbce (commit)
       via  39db203b0ea39da014d2507a9687befecc5e7292 (commit)
       via  b4f1a6c2346e5326d310f3c50ef387ca5864557c (commit)
       via  7df6e4924ef035feff403e53ae46ecabef869af3 (commit)
       via  e20a9657c7974065308e491db26b45f18544a219 (commit)
      from  e3a8b33d279ceefec3d9400ea27604a65dcaf34d (commit)

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

- Log -----------------------------------------------------------------
commit 0e19c8e3d03dabb8c3b1f712b1c5bddccfc65c40
Merge: e3a8b33 a7a4525
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date:   Sat Mar 5 08:17:40 2011 +0100

    Merge remote-tracking branch 'origin/master' into archer-tromey-python
    
    Conflicts:
    	gdb/Makefile.in

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

Summary of changes:
 ChangeLog                                          |   11 +
 bfd/ChangeLog                                      |   56 +
 bfd/aoutx.h                                        |    3 +-
 bfd/archive.c                                      |   75 +-
 bfd/coff-x86_64.c                                  |    2 +-
 bfd/corefile.c                                     |    2 +-
 bfd/dwarf2.c                                       |    2 +-
 bfd/elf32-bfin.c                                   |    6 +-
 bfd/elf32-frv.c                                    |    6 +-
 bfd/elf32-spu.c                                    |    4 +-
 bfd/elf64-x86-64.c                                 |   50 +-
 bfd/elflink.c                                      |   37 +-
 bfd/plugin.c                                       |   22 +-
 bfd/syms.c                                         |    4 +-
 bfd/version.h                                      |    2 +-
 bfd/xcofflink.c                                    |    6 +-
 bfd/xtensa-isa.c                                   |    4 +-
 config/cloog.m4                                    |    2 +-
 configure                                          |  110 +-
 configure.ac                                       |   73 +-
 gdb/ChangeLog                                      |  506 ++++
 gdb/Makefile.in                                    |   27 +-
 gdb/NEWS                                           |    2 +
 gdb/ada-exp.y                                      |    1 +
 gdb/ada-lang.c                                     |   10 +-
 gdb/amd64-linux-tdep.c                             |   37 +-
 gdb/arm-linux-tdep.c                               |   44 +-
 gdb/arm-tdep.c                                     |  111 +-
 gdb/arm-tdep.h                                     |   14 +
 gdb/ax-gdb.c                                       |   59 -
 gdb/ax-gdb.h                                       |    2 -
 gdb/ax-general.c                                   |   54 +-
 gdb/ax.h                                           |    2 -
 gdb/breakpoint.c                                   |  284 +-
 gdb/bsd-uthread.c                                  |    2 +-
 gdb/cli/cli-dump.c                                 |   10 +-
 gdb/cli/cli-utils.c                                |   52 +-
 gdb/cli/cli-utils.h                                |    4 +-
 gdb/coffread.c                                     |   12 +-
 gdb/common/ax.def                                  |    6 +-
 gdb/completer.c                                    |    8 +-
 gdb/corelow.c                                      |    2 +-
 gdb/cp-namespace.c                                 |    9 +-
 gdb/cp-support.c                                   |    2 +-
 gdb/cris-tdep.c                                    |    4 +-
 gdb/d-valprint.c                                   |   10 +-
 gdb/darwin-nat-info.c                              |    2 +-
 gdb/dbxread.c                                      |    7 +-
 gdb/doc/ChangeLog                                  |   40 +
 gdb/doc/agentexpr.texi                             |    7 -
 gdb/doc/gdb.texinfo                                |   99 +-
 gdb/dwarf2expr.h                                   |    2 +-
 gdb/dwarf2loc.c                                    |   32 +-
 gdb/dwarf2read.c                                   |   84 +-
 gdb/eval.c                                         |   27 +-
 gdb/event-top.c                                    |    4 +-
 gdb/expprint.c                                     |    2 +
 gdb/fbsd-nat.c                                     |    2 +-
 gdb/fbsd-nat.h                                     |    2 +-
 gdb/fork-child.c                                   |    7 +-
 gdb/frame-unwind.h                                 |    2 +-
 gdb/frame.h                                        |    4 +-
 gdb/gdbserver/ChangeLog                            |   58 +
 gdb/gdbserver/Makefile.in                          |   23 +-
 gdb/gdbserver/hostio.c                             |    5 +-
 gdb/gdbserver/i386-low.c                           |    1 +
 gdb/gdbserver/linux-amd64-ipa.c                    |    2 +-
 gdb/gdbserver/linux-arm-low.c                      |    2 +-
 gdb/gdbserver/linux-low.c                          |    3 +-
 gdb/gdbserver/server.c                             |    4 +-
 gdb/gdbserver/tracepoint.c                         |   44 -
 gdb/gdbserver/utils.c                              |   16 +-
 gdb/gdbtypes.h                                     |    2 +-
 gdb/hppa-hpux-tdep.c                               |    2 +-
 gdb/i386-linux-nat.c                               |    2 +-
 gdb/i386-nat.c                                     |    1 +
 gdb/i387-tdep.c                                    |   10 +-
 gdb/infcmd.c                                       |    6 +-
 gdb/inferior.c                                     |  137 +-
 gdb/inferior.h                                     |    8 +-
 gdb/inflow.c                                       |   18 +-
 gdb/infrun.c                                       |    1 -
 gdb/jv-lang.c                                      |    3 +-
 gdb/linespec.c                                     |   14 +-
 gdb/linux-fork.c                                   |    2 +-
 gdb/linux-nat.c                                    |   23 +-
 gdb/linux-record.c                                 |    2 +
 gdb/linux-thread-db.c                              |    2 +-
 gdb/m2-lang.c                                      |    2 +-
 gdb/maint.c                                        |    1 +
 gdb/mdebugread.c                                   |    4 +-
 gdb/memattr.c                                      |   63 +-
 gdb/mips-tdep.c                                    |   20 +-
 gdb/nbsd-nat.c                                     |    2 +-
 gdb/nbsd-nat.h                                     |    2 +-
 gdb/objc-lang.c                                    |    6 +
 gdb/opencl-lang.c                                  |   20 +-
 gdb/p-valprint.c                                   |    2 +-
 gdb/ppc-linux-nat.c                                |    4 +-
 gdb/ppc-linux-tdep.c                               |    4 +-
 gdb/printcmd.c                                     |   44 +-
 gdb/proc-service.c                                 |    1 +
 gdb/psymtab.c                                      |    4 +-
 gdb/python/py-block.c                              |    2 +-
 gdb/python/py-cmd.c                                |    3 +
 gdb/python/py-inferior.c                           |   10 +-
 gdb/python/py-param.c                              |    3 +-
 gdb/python/py-prettyprint.c                        |   18 +-
 gdb/python/py-symbol.c                             |   36 +-
 gdb/python/py-symtab.c                             |   14 +-
 gdb/python/py-utils.c                              |    1 -
 gdb/python/py-value.c                              |    5 +-
 gdb/python/python-internal.h                       |    3 +
 gdb/python/python.c                                |    6 +
 gdb/record.c                                       |    2 +-
 gdb/remote-fileio.c                                |    7 +-
 gdb/remote.c                                       |   11 +-
 gdb/ser-base.c                                     |    7 +
 gdb/ser-base.h                                     |    2 +
 gdb/ser-go32.c                                     |   12 +
 gdb/ser-mingw.c                                    |    4 +
 gdb/ser-pipe.c                                     |    1 +
 gdb/ser-tcp.c                                      |    1 +
 gdb/ser-unix.c                                     |   12 +
 gdb/serial.c                                       |    8 +-
 gdb/serial.h                                       |    7 +
 gdb/sol-thread.c                                   |    2 +-
 gdb/solib-frv.c                                    |    2 +-
 gdb/solib.c                                        |    1 +
 gdb/solist.h                                       |    4 +-
 gdb/sparc64-tdep.c                                 |    2 +-
 gdb/spu-tdep.c                                     |    2 +-
 gdb/stabsread.c                                    |    3 +-
 gdb/std-regs.c                                     |   14 +-
 gdb/symfile.c                                      |   30 +-
 gdb/symtab.c                                       |    3 +-
 gdb/target-descriptions.c                          |    2 +-
 gdb/testsuite/ChangeLog                            |  102 +
 gdb/testsuite/Makefile.in                          |    5 +-
 gdb/testsuite/configure                            |   87 +-
 gdb/testsuite/configure.ac                         |   59 +-
 gdb/testsuite/gdb.base/break.exp                   |  209 ++
 gdb/testsuite/gdb.base/completion.exp              |    2 +-
 gdb/testsuite/gdb.base/ena-dis-br.exp              |    2 +-
 gdb/testsuite/gdb.base/help.exp                    |    8 +-
 gdb/{printcmd.h => testsuite/gdb.base/memattr.c}   |   28 +-
 gdb/testsuite/gdb.base/memattr.exp                 |  455 +++
 gdb/testsuite/gdb.cell/configure                   | 2922 -------------------
 gdb/testsuite/gdb.cell/configure.ac                |   15 -
 gdb/testsuite/gdb.cp/overload.cc                   |    2 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.S              |   46 -
 .../gdb.dwarf2/{dw2-ranges3.S => dw2-ranges.c}     |   24 +-
 gdb/testsuite/gdb.dwarf2/dw2-ranges.exp            |   46 +-
 .../gdb.dwarf2/{dw2-ranges2.S => dw2-ranges2.c}    |   33 +-
 .../gdb.dwarf2/dw2-ranges3.c}                      |   30 +-
 gdb/testsuite/gdb.hp/Makefile.in                   |    5 +-
 gdb/testsuite/gdb.hp/configure                     | 3074 --------------------
 gdb/testsuite/gdb.hp/configure.ac                  |   17 -
 gdb/testsuite/gdb.hp/gdb.aCC/Makefile.in           |    3 -
 gdb/testsuite/gdb.hp/gdb.aCC/configure             | 2922 -------------------
 gdb/testsuite/gdb.hp/gdb.aCC/configure.ac          |   15 -
 gdb/testsuite/gdb.hp/gdb.base-hp/Makefile.in       |    3 -
 gdb/testsuite/gdb.hp/gdb.base-hp/configure         | 2922 -------------------
 gdb/testsuite/gdb.hp/gdb.base-hp/configure.ac      |   15 -
 gdb/testsuite/gdb.hp/gdb.compat/Makefile.in        |    3 -
 gdb/testsuite/gdb.hp/gdb.compat/configure          | 2922 -------------------
 gdb/testsuite/gdb.hp/gdb.compat/configure.ac       |   15 -
 gdb/testsuite/gdb.hp/gdb.defects/Makefile.in       |    3 -
 gdb/testsuite/gdb.hp/gdb.defects/configure         | 2922 -------------------
 gdb/testsuite/gdb.hp/gdb.defects/configure.ac      |   15 -
 gdb/testsuite/gdb.hp/gdb.objdbg/Makefile.in        |    3 -
 gdb/testsuite/gdb.hp/gdb.objdbg/configure          | 3073 -------------------
 gdb/testsuite/gdb.hp/gdb.objdbg/configure.ac       |   16 -
 gdb/testsuite/gdb.multi/base.exp                   |   85 +
 gdb/testsuite/gdb.python/py-frame.exp              |   11 +-
 gdb/testsuite/gdb.python/py-inferior.exp           |   80 +-
 gdb/testsuite/gdb.python/py-symbol.exp             |    7 +
 gdb/testsuite/gdb.stabs/Makefile.in                |    5 +-
 gdb/testsuite/gdb.stabs/configure                  | 2922 -------------------
 gdb/testsuite/gdb.stabs/configure.ac               |   15 -
 gdb/testsuite/gdb.trace/infotrace.exp              |    4 +-
 gdb/tracepoint.c                                   |   45 +-
 gdb/tui/tui-regs.c                                 |    1 -
 gdb/tui/tui-stack.c                                |    2 +-
 gdb/tui/tui-win.c                                  |    4 +-
 gdb/tui/tui-winsource.c                            |    6 +-
 gdb/ui-file.h                                      |    2 +-
 gdb/ui-out.c                                       |   26 +-
 gdb/ui-out.h                                       |    3 +
 gdb/utils.c                                        |   19 +-
 gdb/valops.c                                       |   14 +-
 gdb/value.c                                        |   55 +-
 gdb/value.h                                        |    3 +-
 gdb/varobj.c                                       |    2 +-
 gdb/vax-nat.c                                      |    2 +-
 gdb/version.in                                     |    2 +-
 gdb/xml-syscall.c                                  |    1 +
 include/ChangeLog                                  |   13 +
 include/dwarf2.h                                   |   93 +-
 include/elf/ChangeLog                              |    6 +
 include/elf/internal.h                             |   20 +-
 include/filenames.h                                |    3 +
 include/opcode/ChangeLog                           |    9 +-
 include/opcode/mips.h                              |    1 +
 libiberty/ChangeLog                                |   10 +
 libiberty/cplus-dem.c                              |    5 +-
 libiberty/filename_cmp.c                           |   49 +
 libiberty/functions.texi                           |   18 +
 opcodes/ChangeLog                                  |   14 +-
 opcodes/mips-opc.c                                 |    3 +-
 readline/ChangeLog.gdb                             |    4 +
 readline/bind.c                                    |    1 +
 sim/common/ChangeLog                               |    5 +
 sim/common/callback.c                              |    2 +-
 214 files changed, 3145 insertions(+), 25334 deletions(-)
 rename gdb/{printcmd.h => testsuite/gdb.base/memattr.c} (58%)
 create mode 100644 gdb/testsuite/gdb.base/memattr.exp
 delete mode 100644 gdb/testsuite/gdb.cell/configure
 delete mode 100644 gdb/testsuite/gdb.cell/configure.ac
 delete mode 100644 gdb/testsuite/gdb.dwarf2/dw2-ranges.S
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges3.S => dw2-ranges.c} (70%)
 rename gdb/testsuite/gdb.dwarf2/{dw2-ranges2.S => dw2-ranges2.c} (59%)
 copy gdb/{nbsd-nat.h => testsuite/gdb.dwarf2/dw2-ranges3.c} (61%)
 delete mode 100755 gdb/testsuite/gdb.hp/configure
 delete mode 100644 gdb/testsuite/gdb.hp/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.aCC/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.aCC/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.base-hp/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.base-hp/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.compat/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.compat/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.defects/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.defects/configure.ac
 delete mode 100755 gdb/testsuite/gdb.hp/gdb.objdbg/configure
 delete mode 100644 gdb/testsuite/gdb.hp/gdb.objdbg/configure.ac
 delete mode 100755 gdb/testsuite/gdb.stabs/configure
 delete mode 100644 gdb/testsuite/gdb.stabs/configure.ac

First 500 lines of diff:
diff --git a/ChangeLog b/ChangeLog
index 9f4591d..1f7648c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2011-03-03  Sebastian Pop  <sebastian.pop@amd.com>
+
+        * configure.ac: Adjust test of with_ppl.
+        * configure: Regenerated.
+
+2011-03-02  Sebastian Pop  <sebastian.pop@amd.com>
+
+	* configure.ac: Add -lpwl to ppllibs.
+	* config/cloog.m4: Add -lisl to clooglibs.
+	* configure: Regenerated.
+
 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Import from Libtool and gnulib:
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a8907a0..95166a3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,59 @@
+2011-03-04  Alan Modra  <amodra@gmail.com>
+
+	* archive.c (bsd_write_armap): Don't call stat in deterministic
+	mode, and don't use st_mtime if stat returns error.
+
+2011-03-03  Michael Snyder  <msnyder@vmware.com>
+
+	* elf64-x86-64.c (elf_x86_64_relocate_section): Remove dead code.
+
+	* coff-x86_64.c (coff_amd64_rtype_to_howto): Fencepost error.
+
+	* aoutx.h (aout_final_link): Use sizeof int not sizeof int*.
+	(aout_link_write_other_symbol): Missing break statement.
+
+	* dwarf2.c (scan_unit_for_symbols): Stop memory leak.
+
+	* archive.c (_bfd_slurp_extended_name_table): Fail if bfd_seek fails.
+
+2011-03-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* elf64-x86-64.c (elf_x86_64_check_tls_transition): Supprt TLS
+	x32 IE->LE transition.
+	(elf_x86_64_relocate_section): Likewise.
+
+2011-03-02  Bernd Schmidt  <bernds@codesourcery.com>
+
+        * elflink.c (is_reloc_section): Remove function.
+        (get_dynamic_reloc_section_name): Construct string manually.
+
+2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
+
+	* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
+	(adjust_relative_path): Likewise.
+	(_bfd_construct_extended_name_table): Likewise.
+	* corefile.c (generic_core_file_matches_executable_p): Likewise.
+	* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
+	* elf32-frv.c (elf32_frv_relocate_section): Likewise.
+	* elf32-spu.c (sort_bfds): Likewise.
+	(spu_elf_auto_overlay): Likewise.
+	* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
+	* xcofflink.c (xcoff_set_import_path): Likewise.
+	* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
+	(xtensa_regfile_lookup_shortname): Likewise.
+
+2011-02-28  Alan Modra  <amodra@gmail.com>
+
+	PR 12513
+	* archive.c (bfd_slurp_bsd_armap_f2): Sanity check parsed_size and
+	stringsize.  Properly sanity check symdef_count.  Remove redundant
+	bfd_release.
+
+2011-02-25  Rafael Ávila de Espíndola <respindola@mozilla.com>
+
+	* plugin.c (bfd_plugin_object_p): Correctly set the filesize
+	and handle claim_file seeking. Only try to load the plugin once.
+
 2011-02-22  Andreas Schwab  <schwab@redhat.com>
 
 	* elf32-m68k.c (elf_m68k_finish_dynamic_symbol): For a TLS_GD
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 7ca221e..ec0bdf0 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -3637,6 +3637,7 @@ aout_link_write_other_symbol (struct aout_link_hash_entry *h, void * data)
     case bfd_link_hash_undefweak:
       type = N_WEAKU;
       val = 0;
+      break;
     case bfd_link_hash_indirect:
       /* We ignore these symbols, since the indirected symbol is
 	 already in the hash table.  */
@@ -5448,7 +5449,7 @@ NAME (aout, final_link) (bfd *abfd,
   /* Allocate buffers to hold section contents and relocs.  */
   aout_info.contents = (bfd_byte *) bfd_malloc (max_contents_size);
   aout_info.relocs = bfd_malloc (max_relocs_size);
-  aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int *));
+  aout_info.symbol_map = (int *) bfd_malloc (max_sym_count * sizeof (int));
   aout_info.output_syms = (struct external_nlist *)
       bfd_malloc ((max_sym_count + 1) * sizeof (struct external_nlist));
   if ((aout_info.contents == NULL && max_contents_size != 0)
diff --git a/bfd/archive.c b/bfd/archive.c
index 258c8d9..86d07e9 100644
--- a/bfd/archive.c
+++ b/bfd/archive.c
@@ -1,6 +1,6 @@
 /* BFD back-end for archive files (libraries).
    Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
-   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+   2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
    Free Software Foundation, Inc.
    Written by Cygnus Support.  Mostly Gumby Henkel-Wallace's fault.
 
@@ -348,7 +348,7 @@ _bfd_find_nested_archive (bfd *arch_bfd, const char *filename)
        abfd != NULL;
        abfd = abfd->archive_next)
     {
-      if (strcmp (filename, abfd->filename) == 0)
+      if (filename_cmp (filename, abfd->filename) == 0)
         return abfd;
     }
   abfd = bfd_openr (filename, NULL);
@@ -1109,6 +1109,7 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd)
   struct artdata *ardata = bfd_ardata (abfd);
   char *stringbase;
   unsigned int stringsize;
+  unsigned int left;
   bfd_size_type amt;
   carsym *set;
   int i = bfd_bread (nextname, 16, abfd);
@@ -1136,43 +1137,46 @@ bfd_slurp_bsd_armap_f2 (bfd *abfd)
   if (mapdata == NULL)
     return FALSE;
 
-  amt = mapdata->parsed_size;
-  raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt);
-  if (raw_armap == NULL)
+  if (mapdata->parsed_size < HPUX_SYMDEF_COUNT_SIZE + BSD_STRING_COUNT_SIZE)
     {
+    wrong_format:
+      bfd_set_error (bfd_error_wrong_format);
     byebye:
       bfd_release (abfd, mapdata);
       return FALSE;
     }
+  left = mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE - BSD_STRING_COUNT_SIZE;
+
+  amt = mapdata->parsed_size;
+  raw_armap = (bfd_byte *) bfd_zalloc (abfd, amt);
+  if (raw_armap == NULL)
+    goto byebye;
 
   if (bfd_bread (raw_armap, amt, abfd) != amt)
     {
       if (bfd_get_error () != bfd_error_system_call)
 	bfd_set_error (bfd_error_malformed_archive);
-    byebyebye:
-      bfd_release (abfd, raw_armap);
       goto byebye;
     }
 
   ardata->symdef_count = H_GET_16 (abfd, raw_armap);
 
-  if (ardata->symdef_count * BSD_SYMDEF_SIZE
-      > mapdata->parsed_size - HPUX_SYMDEF_COUNT_SIZE)
-    {
-      /* Probably we're using the wrong byte ordering.  */
-      bfd_set_error (bfd_error_wrong_format);
-      goto byebyebye;
-    }
-
   ardata->cache = 0;
 
   stringsize = H_GET_32 (abfd, raw_armap + HPUX_SYMDEF_COUNT_SIZE);
+  if (stringsize > left)
+    goto wrong_format;
+  left -= stringsize;
+
   /* Skip sym count and string sz.  */
   stringbase = ((char *) raw_armap
 		+ HPUX_SYMDEF_COUNT_SIZE
 		+ BSD_STRING_COUNT_SIZE);
   rbase = (bfd_byte *) stringbase + stringsize;
   amt = ardata->symdef_count * BSD_SYMDEF_SIZE;
+  if (amt > left)
+    goto wrong_format;
+
   ardata->symdefs = (struct carsym *) bfd_alloc (abfd, amt);
   if (!ardata->symdefs)
     return FALSE;
@@ -1216,7 +1220,9 @@ _bfd_slurp_extended_name_table (bfd *abfd)
 
   /* FIXME:  Formatting sucks here, and in case of failure of BFD_READ,
      we probably don't want to return TRUE.  */
-  bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET);
+  if (bfd_seek (abfd, bfd_ardata (abfd)->first_file_filepos, SEEK_SET) != 0)
+    return FALSE;
+
   if (bfd_bread (nextname, 16, abfd) == 16)
     {
       if (bfd_seek (abfd, (file_ptr) -16, SEEK_CUR) != 0)
@@ -1355,7 +1361,7 @@ adjust_relative_path (const char * path, const char * ref_path)
       while (*e2 && ! IS_DIR_SEPARATOR (*e2))
 	++e2;
       if (*e1 == '\0' || *e2 == '\0' || e1 - pathp != e2 - refp
-	  || strncmp (pathp, refp, e1 - pathp) != 0)
+	  || filename_ncmp (pathp, refp, e1 - pathp) != 0)
 	break;
       pathp = e1 + 1;
       refp = e2 + 1;
@@ -1460,7 +1466,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
           /* If the path is the same as the previous path seen,
              reuse it.  This can happen when flattening a thin
              archive that contains other archives.  */
-          if (last_filename && strcmp (last_filename, filename) == 0)
+          if (last_filename && filename_cmp (last_filename, filename) == 0)
             continue;
 
           last_filename = filename;
@@ -1506,7 +1512,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
       else
 	{
 	  struct ar_hdr *hdr = arch_hdr (current);
-	  if (strncmp (normal, hdr->ar_name, thislen) != 0
+	  if (filename_ncmp (normal, hdr->ar_name, thislen) != 0
 	      || (thislen < sizeof hdr->ar_name
 		  && hdr->ar_name[thislen] != ar_padchar (current)))
 	    {
@@ -1554,7 +1560,7 @@ _bfd_construct_extended_name_table (bfd *abfd,
              archive that contains other archives.
              If the path is relative, adjust it relative to
              the containing archive.  */
-          if (last_filename && strcmp (last_filename, filename) == 0)
+          if (last_filename && filename_cmp (last_filename, filename) == 0)
             normal = last_filename;
           else if (! IS_ABSOLUTE_PATH (filename)
                    && ! IS_ABSOLUTE_PATH (abfd->filename))
@@ -2295,31 +2301,28 @@ bsd_write_armap (bfd *arch,
   bfd_byte temp[4];
   unsigned int count;
   struct ar_hdr hdr;
-  struct stat statbuf;
   long uid, gid;
 
   firstreal = mapsize + elength + sizeof (struct ar_hdr) + SARMAG;
 
-  stat (arch->filename, &statbuf);
+  /* If deterministic, we use 0 as the timestamp in the map.
+     Some linkers may require that the archive filesystem modification
+     time is less than (or near to) the archive map timestamp.  Those
+     linkers should not be used with deterministic mode.  (GNU ld and
+     Gold do not have this restriction.)  */
+  bfd_ardata (arch)->armap_timestamp = 0;
+  uid = 0;
+  gid = 0;
   if ((arch->flags & BFD_DETERMINISTIC_OUTPUT) == 0)
     {
-      /* Remember the timestamp, to keep it holy.  But fudge it a little.  */
-      bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
-                                            + ARMAP_TIME_OFFSET);
+      struct stat statbuf;
+
+      if (stat (arch->filename, &statbuf) == 0)
+	bfd_ardata (arch)->armap_timestamp = (statbuf.st_mtime
+					      + ARMAP_TIME_OFFSET);
       uid = getuid();
       gid = getgid();
     }
-  else
-    {
-      /* If deterministic, we use 0 as the timestamp in the map.
-         Some linkers may require that the archive filesystem modification
-         time is less than (or near to) the archive map timestamp.  Those
-         linkers should not be used with deterministic mode.  (GNU ld and
-         Gold do not have this restriction.)  */
-      bfd_ardata (arch)->armap_timestamp = 0;
-      uid = 0;
-      gid = 0;
-    }
 
   memset (&hdr, ' ', sizeof (struct ar_hdr));
   memcpy (hdr.ar_name, RANLIBMAG, strlen (RANLIBMAG));
diff --git a/bfd/coff-x86_64.c b/bfd/coff-x86_64.c
index 8083d97..c739d69 100644
--- a/bfd/coff-x86_64.c
+++ b/bfd/coff-x86_64.c
@@ -546,7 +546,7 @@ coff_amd64_rtype_to_howto (bfd *abfd ATTRIBUTE_UNUSED,
 {
   reloc_howto_type *howto;
 
-  if (rel->r_type > ARRAY_SIZE (howto_table))
+  if (rel->r_type >= ARRAY_SIZE (howto_table))
     {
       bfd_set_error (bfd_error_bad_value);
       return NULL;
diff --git a/bfd/corefile.c b/bfd/corefile.c
index 605be8d..bba0d1c 100644
--- a/bfd/corefile.c
+++ b/bfd/corefile.c
@@ -186,6 +186,6 @@ generic_core_file_matches_executable_p (bfd *core_bfd, bfd *exec_bfd)
   if (last_slash != NULL)
     exec = last_slash + 1;
   
-  return strcmp (exec, core) == 0;
+  return filename_cmp (exec, core) == 0;
 }
 
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index e5d0103..3826856 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -2148,7 +2148,7 @@ scan_unit_for_symbols (struct comp_unit *unit)
 	{
 	  info_ptr = read_attribute (&attr, &abbrev->attrs[i], unit, info_ptr);
 	  if (info_ptr == NULL)
-	    return FALSE;
+	    goto fail;
 
 	  if (func)
 	    {
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c
index 8aba7ed..40c2c04 100644
--- a/bfd/elf32-bfin.c
+++ b/bfd/elf32-bfin.c
@@ -3103,10 +3103,10 @@ bfinfdpic_relocate_section (bfd * output_bfd,
 	  if (silence_segment_error == 1)
 	    silence_segment_error =
 	      (strlen (input_bfd->filename) == 6
-	       && strcmp (input_bfd->filename, "crt0.o") == 0)
+	       && filename_cmp (input_bfd->filename, "crt0.o") == 0)
 	      || (strlen (input_bfd->filename) > 6
-		  && strcmp (input_bfd->filename
-			     + strlen (input_bfd->filename) - 7,
+		  && filename_cmp (input_bfd->filename
+				   + strlen (input_bfd->filename) - 7,
 			     "/crt0.o") == 0)
 	      ? -1 : 0;
 #endif
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index bce0540..8cd26f1 100644
--- a/bfd/elf32-frv.c
+++ b/bfd/elf32-frv.c
@@ -3957,10 +3957,10 @@ elf32_frv_relocate_section (output_bfd, info, input_bfd, input_section,
 	  if (silence_segment_error == 1)
 	    silence_segment_error =
 	      (strlen (input_bfd->filename) == 6
-	       && strcmp (input_bfd->filename, "crt0.o") == 0)
+	       && filename_cmp (input_bfd->filename, "crt0.o") == 0)
 	      || (strlen (input_bfd->filename) > 6
-		  && strcmp (input_bfd->filename
-			     + strlen (input_bfd->filename) - 7,
+		  && filename_cmp (input_bfd->filename
+				   + strlen (input_bfd->filename) - 7,
 			     "/crt0.o") == 0)
 	      ? -1 : 0;
 	  if (!silence_segment_error
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c
index bcee155..ae3ed10 100644
--- a/bfd/elf32-spu.c
+++ b/bfd/elf32-spu.c
@@ -4067,7 +4067,7 @@ sort_bfds (const void *a, const void *b)
   bfd *const *abfd1 = a;
   bfd *const *abfd2 = b;
 
-  return strcmp ((*abfd1)->filename, (*abfd2)->filename);
+  return filename_cmp ((*abfd1)->filename, (*abfd2)->filename);
 }
 
 static unsigned int
@@ -4299,7 +4299,7 @@ spu_elf_auto_overlay (struct bfd_link_info *info)
 
       qsort (bfd_arr, bfd_count, sizeof (*bfd_arr), sort_bfds);
       for (i = 1; i < bfd_count; ++i)
-	if (strcmp (bfd_arr[i - 1]->filename, bfd_arr[i]->filename) == 0)
+	if (filename_cmp (bfd_arr[i - 1]->filename, bfd_arr[i]->filename) == 0)
 	  {
 	    if (bfd_arr[i - 1]->my_archive == bfd_arr[i]->my_archive)
 	      {
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 343abce..ad2a1f3 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -913,16 +913,29 @@ elf_x86_64_check_tls_transition (bfd *abfd,
 
     case R_X86_64_GOTTPOFF:
       /* Check transition from IE access model:
-		movq foo@gottpoff(%rip), %reg
-		addq foo@gottpoff(%rip), %reg
+		mov foo@gottpoff(%rip), %reg
+		add foo@gottpoff(%rip), %reg
        */
 
-      if (offset < 3 || (offset + 4) > sec->size)
-	return FALSE;
-
-      val = bfd_get_8 (abfd, contents + offset - 3);
-      if (val != 0x48 && val != 0x4c)
-	return FALSE;
+      /* Check REX prefix first.  */
+      if (offset >= 3 && (offset + 4) <= sec->size)
+	{
+	  val = bfd_get_8 (abfd, contents + offset - 3);
+	  if (val != 0x48 && val != 0x4c)
+	    {
+	      /* X32 may have 0x44 REX prefix or no REX prefix.  */
+	      if (ABI_64_P (abfd))
+		return FALSE;
+	    }
+	}
+      else
+	{
+	  /* X32 may not have any REX prefix.  */
+	  if (ABI_64_P (abfd))
+	    return FALSE;
+	  if (offset < 2 || (offset + 3) > sec->size)
+	    return FALSE;
+	}
 
       val = bfd_get_8 (abfd, contents + offset - 2);
       if (val != 0x8b && val != 0x03)
@@ -2999,18 +3012,6 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 	      relocation = (base_got->output_section->vma
 			    + base_got->output_offset + off);
 
-	      if (r_type != R_X86_64_GOTPCREL
-		  && r_type != R_X86_64_GOTPCREL64)
-		{
-		  asection *gotplt;
-		  if (htab->elf.splt != NULL)
-		    gotplt = htab->elf.sgotplt;
-		  else
-		    gotplt = htab->elf.igotplt;
-		  relocation -= (gotplt->output_section->vma
-				 - gotplt->output_offset);
-		}
-
 	      goto do_relocation;
 	    }
 	}
@@ -3505,6 +3506,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x49,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x41,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0xc7,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0xc0 | reg,
@@ -3517,6 +3521,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x49,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x41,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0x81,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0xc0 | reg,
@@ -3528,6 +3535,9 @@ elf_x86_64_relocate_section (bfd *output_bfd,
 		      if (val == 0x4c)
 			bfd_put_8 (output_bfd, 0x4d,
 				   contents + roff - 3);
+		      else if (!ABI_64_P (output_bfd) && val == 0x44)
+			bfd_put_8 (output_bfd, 0x45,
+				   contents + roff - 3);
 		      bfd_put_8 (output_bfd, 0x8d,
 				 contents + roff - 2);
 		      bfd_put_8 (output_bfd, 0x80 | reg | (reg << 3),
diff --git a/bfd/elflink.c b/bfd/elflink.c
index dffe0ae..983d5e0 100644
--- a/bfd/elflink.c
+++ b/bfd/elflink.c
@@ -12597,20 +12597,6 @@ _bfd_elf_default_got_elt_size (bfd *abfd,
 
 /* Routines to support the creation of dynamic relocs.  */
 
-/* Return true if NAME is a name of a relocation
-   section associated with section S.  */
-
-static bfd_boolean
-is_reloc_section (bfd_boolean rela, const char * name, asection * s)
-{
-  if (rela)
-    return CONST_STRNEQ (name, ".rela")
-      && strcmp (bfd_get_section_name (NULL, s), name + 5) == 0;
-
-  return CONST_STRNEQ (name, ".rel")
-    && strcmp (bfd_get_section_name (NULL, s), name + 4) == 0;
-}
-
 /* Returns the name of the dynamic reloc section associated with SEC.  */
 
 static const char *
@@ -12618,26 +12604,15 @@ get_dynamic_reloc_section_name (bfd *       abfd,
 				asection *  sec,
 				bfd_boolean is_rela)


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


             reply	other threads:[~2011-03-05  7:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-05  7:17 jkratoch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-03-28 16:32 jkratoch
2011-02-22 23:00 jkratoch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110305071749.15569.qmail@sourceware.org \
    --to=jkratoch@sourceware.org \
    --cc=archer-commits@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: 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).