Bug 16746 - ld complains about .gnu.warning symbols referenced by linker plugin inputs
Summary: ld complains about .gnu.warning symbols referenced by linker plugin inputs
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.24
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 13:20 UTC by Richard Biener
Modified: 2014-10-10 17:51 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Biener 2014-03-24 13:20:40 UTC
t.c
---
extern void foobar (void);
int
main (int argc, char **argv)
{
  if (__builtin_constant_p (argc))
    foobar ();
  return 0;
}

t2.c
---
static const char __evoke_link_warning_foobar[]
 __attribute__ ((used, section (".gnu.warning.foobar\n\t#")))
 = "foobar";

> gcc -c t2.c
> gcc t.c t2.o -O -flto
/tmp/cctYGzQc.o (symbol from plugin): warning: foobar

the symbol table from the t.o input claimed by lto-plugin contains
a reference to foobar () - which is the point LD already warns - but
the replacement object fed from lto-plugin to the linker doesn't contain
this reference anymore.

Thus, LD shouldn't complain about references in files claimed by a
linker plugin but only about references in files provided by the
linker plugin.

This works correctly with gold.
Comment 1 Richard Biener 2014-03-24 13:33:37 UTC
Fix maybe as simple as doing

diff --git a/ld/ldmain.c b/ld/ldmain.c
index ffc9f84..71d41bf 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -1160,6 +1160,9 @@ warning_callback (struct bfd_link_info *info ATTRIBUTE_UNUSED,
                  asection *section,
                  bfd_vma address)
 {
+  if (abfd->flags & BFD_PLUGIN)
+    return TRUE;
+
   /* This is a hack to support warn_multiple_gp.  FIXME: This should
      have a cleaner interface, but what?  */
   if (! config.warn_multiple_gp

?
Comment 2 Richard Biener 2014-03-24 13:54:41 UTC
Hmm, but that breaks the case where the symbol is still referenced from the linker plugin provided input

extern void foobar (void);
int
main (int argc, char **argv)
{
  if (!__builtin_constant_p (argc))
    foobar ();
  return 0;
}

add void foobar () {} to t2.c to make the link succeed.
Comment 3 Richard Biener 2014-03-24 13:59:30 UTC
(In reply to Richard Guenther from comment #2)
> Hmm, but that breaks the case where the symbol is still referenced from the
> linker plugin provided input
> 
> extern void foobar (void);
> int
> main (int argc, char **argv)
> {
>   if (!__builtin_constant_p (argc))
>     foobar ();
>   return 0;
> }
> 
> add void foobar () {} to t2.c to make the link succeed.

Which of course may simply mean that the path through lang_add_input_file misses
to emit warnings at all.
Comment 4 H.J. Lu 2014-03-24 21:06:57 UTC
_bfd_generic_link_add_one_symbol needs change to properly
handle it.  It should check BFD_PLUGIN for WARN.
Comment 5 Richard Biener 2014-03-25 11:57:08 UTC
(In reply to H.J. Lu from comment #4)
> _bfd_generic_link_add_one_symbol needs change to properly
> handle it.  It should check BFD_PLUGIN for WARN.

Can you try to fix it?  That would certainly be faster than me trying to dig
into ld sources for my first time...
Comment 6 H.J. Lu 2014-03-25 20:42:03 UTC
A patch is posted at

https://sourceware.org/ml/binutils/2014-03/msg00261.html
Comment 7 Sourceware Commits 2014-03-27 17:28:22 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, hjl/linux/master has been updated
       via  257f8802acce65d9b89f8fabf05210f0aa22b027 (commit)
       via  d18cb444af69b60967f1da0021a62bbc6654f0d1 (commit)
       via  4c6d802e592b3762a149c343bc5722e065e57841 (commit)
       via  6a631e86cfc2ddd979f9dc4b4da01133d9d3610f (commit)
       via  a6305403d4e1f5304f247b33b0f8473c7eed0d66 (commit)
       via  10be66a4910d39b508002eea2056783e3430af40 (commit)
       via  cb580a265c0344b2acfc3059b53689863378f5ed (commit)
       via  3cc27770cfa2080f70d44659de9d62adc80489fc (commit)
       via  b5bee914261ea82683b7da4245790465b9373131 (commit)
       via  595330b7cedfac2b073e9ffc6a815221b7121f0c (commit)
       via  467637ade646c54bac41721df4f3509cc98103e4 (commit)
       via  76dfed02aaee5074dc79c28c0224fd0a2bf0dd30 (commit)
       via  b3fe4307a625457c6953fce27bbbfc4c90e38e9d (commit)
       via  55bfc9ac025c1c9cd1ad5422829b3dc70f357a79 (commit)
       via  318d3177f7d67dac94baa07aab04192fc7bcba49 (commit)
       via  d80285301a6a55f4f3bb4fbf4df1d20d91b0ee24 (commit)
       via  f6c7c3e8b742de0a5926e6a2c268f5803062b556 (commit)
       via  0d4d0e772ac36d169d21951c46b0778ae7fa8d53 (commit)
       via  29361eee1499fa208baf06df5c6aa1ef4c1b2516 (commit)
       via  1e54db15c3ce69a7b3d6542066abdea36e7f8a79 (commit)
       via  f688ea36dfd8e3cdd359a040f231792d90e49c65 (commit)
       via  3c6256d29e2c528880a3cf8df43adf32c7780de5 (commit)
       via  bc9a55253ed7122cfeee90cd23d964f44c8b0e6a (commit)
       via  d3839ede057ef077667978dbd065e7b5702c9176 (commit)
       via  c955de363b91edba8a92877f97b1be68357d9582 (commit)
       via  3e60bf4df86f323dde4281886a355589488149aa (commit)
       via  01672a570af3899a85d12293bc7da38b0715e4a5 (commit)
       via  cea2f54dd97c7772b38827dd6c9c78d599ce9f07 (commit)
       via  88bbeca9d5e9429dbd2a11d754f24d649b8e5488 (commit)
       via  d23487918b315cccd04c2b60a7cf7775920caecb (commit)
       via  7588d2eca0397166c2445eae6559c89f9b44e4e7 (commit)
       via  a62904492b27b9fb77da8fa2714fd05cc28804a7 (commit)
       via  aa9fa1e22a61f60c51ef7886cb297bfbad3cc305 (commit)
       via  31ae9d245c409ce407c32a36034acf89fdc23a5f (commit)
       via  69fa4030016295f3da40005fca7dd287a8c75406 (commit)
       via  156c80b2f63a8b8fc08bf03442000c5be6c9d7a3 (commit)
       via  6339bfc47d2f4f5b681220ee2e735ea7828ae2e0 (commit)
       via  0a07590bf432ef8d03fcfdc7849a6f03ec05f2b5 (commit)
       via  a4ff09242a4017c6e1a3b4bf5a53d45d305ca61c (commit)
       via  b55fbac484a3057b21532805241d429b6cc23532 (commit)
       via  9217e74e903fcc21755e7b320ce54a9209f9b5e7 (commit)
       via  8acf9577e5acd99c23fe8f3fa87a961668de7805 (commit)
       via  25d743f9e6f23ec5fc1529a56d7178ad9cfe5611 (commit)
       via  51b8d20cf46627f9e97b90ada6467e69eb6d4439 (commit)
       via  feef67abfaf328082c445b9d25696d44551478d1 (commit)
       via  ecebef6a9acbca2f98e1ed64b986d792c6933ec5 (commit)
       via  ecdf850f8515140a3c15bc8ca55172276bcc914d (commit)
       via  d0e6d77b3fb64561ca66535f8ed6ca523eac923e (commit)
       via  af93e61fe7b3663cc4601c547d47d9c30661ea38 (commit)
       via  a82c7d9030b67a6a76a5403d0e1641f9e42141ac (commit)
       via  b65dc60b233704405c334bbe16c4fc5689187b7b (commit)
       via  36cb1214c9f26b4e9b42d146dcf64621b36b91df (commit)
       via  ccdd1909ad5299cf0753aaa113928a41f8f27391 (commit)
       via  b4ab256ded5020a82ff7ce8dc485e7882fc5b6a7 (commit)
       via  a2db7c07510f1f682af586153fa7ca8ad42b56c6 (commit)
       via  0c315784bf5f5d972dd85f5f621ed9674efc5665 (commit)
       via  deba7593bb5b6e5159f5f0ea0afecd69125057a7 (commit)
       via  d56a8dda6d5a1864b54230b356d92ce60397f0e8 (commit)
       via  1bff71c3251e2f0836163e49ecd4b55861f4eb83 (commit)
       via  90e289504f844c162ab2e701f99a309d2b37a62a (commit)
       via  beb460e8d2ddf5327a6ab146055a6e6e9f552a4b (commit)
       via  5fc35d961bda7f8d40bfad9ca458a6b08de02bcb (commit)
       via  40acf43aadb4d5348cff0dd554ae97de4dd775af (commit)
       via  9f5e1e021a843e573b72ee448397a4db139adf2e (commit)
       via  99619beac6252113fed212fdb9e1ab97bface423 (commit)
       via  2adfaa28b5ba2fb78ba5113977082c4d04752bd6 (commit)
       via  31e77af205cf6564c2bf4c18400b4ca16bdf92cd (commit)
       via  b9f437de50bcca478359c4c2ec0da50c29ddc512 (commit)
       via  bcf83b2a66f0d968b51af8357f1543523ef83470 (commit)
       via  97323ad11305610185a0265392cabcd37510f50e (commit)
       via  e1f8f1b3af798e8af99bffdb695f74c6c916d150 (commit)
       via  c24cf8b6e831967c353f0c518e180cea689c0b58 (commit)
       via  ec92c392f7d6b4f43d6191a0d3fa1cd47db9f738 (commit)
       via  999bf65c4b277ffc40dc32f377cf99de0f9684b3 (commit)
       via  05adc73e8266faab5abd485237cb59bb69a4f936 (commit)
       via  6048b9501dec2a621a336bffdc6675646437a000 (commit)
       via  8bcfb00a77f64a4496de90355f8c46b0da643e84 (commit)
       via  884e37dceb64daa1c6d33f007fb294e809c47847 (commit)
       via  148e57e2327e27e3d8bb6040138ea0843cf55e33 (commit)
       via  f48088c7de251319d9f874d07317d867e0cf66cb (commit)
       via  e2f6c966284e2f204779e9c7becf260bd4fe5117 (commit)
       via  c30568d4d17d1a1efa62d2f36651fd0228b0b8e5 (commit)
       via  6caf711179d96da75860b79434bc792c92c0fa4c (commit)
       via  288c6b306e6e5531647968bdcd99594bf0483802 (commit)
       via  2e6976a881711242cc151971b83e36844edbc310 (commit)
       via  e57190430e09d0df5c2277a527eb2bed4328fd6c (commit)
       via  b41c812c966de02326a9df6c57db648feb26dceb (commit)
       via  b8985e5c0e880ddaac7dd42171fca4359f85ea95 (commit)
       via  1d63324c56f29034782396ce7f25c09edd0cdc6e (commit)
       via  0172b6a7deca953ff33b4458da2f4e666bee7e51 (commit)
       via  1d09f4731b514c2e9b352639329a82189e0590ff (commit)
       via  06c868a8dc5ef46ab7dd6601c8bc2f417e415af9 (commit)
       via  dea80df0999ae0bad56e79af2a88a30be38bb8e4 (commit)
       via  0c7e1a4602a41a1caf637823f67948be31d27732 (commit)
       via  a52e6fd34add3dbf267ac78e4d7912a0a3f65ece (commit)
       via  d68d7e6b82b5dbdcc98dcb8c03530f3ed1f6173a (commit)
       via  c24ff48c7517fb7d435e22568add0f12d8b00d16 (commit)
       via  9c1fcd01cf4f222b7065af353cedc3f9701c739c (commit)
       via  c712f1e3f711d0f3b694cdfcf4a965d8419fde94 (commit)
       via  1f5afe1cc03bb2cd50b75a21d491a349d7011ea1 (commit)
       via  f7c77d9323a3dcd6e52a8038d0cdab0748e5bc62 (commit)
       via  11aa919a07114ba99a99a7dcd43079440bbe5161 (commit)
       via  d4ccb5e05c99c4006fe43ab08ebe13b7a74fc111 (commit)
       via  a2a0d05662961e9d59fe2ddf9026319d53022ac0 (commit)
       via  167e1c1f1fde89cb29a9dae05a9c6cac5d27fdb2 (commit)
       via  fbe383b9ee1b597e294ee41b795308d504fd09f5 (commit)
       via  49f2e27ce40a556955e70b6fa70ac6d17d6756de (commit)
       via  49840f2a6669ae2366c522da41edf615785b3626 (commit)
       via  c296d686edc052490d31385f9a2712462b33f648 (commit)
       via  2b8118237ae25785e3afddafd9c554b1ad03d424 (commit)
       via  ed4123e58e954741e724872b509b5fc89415cbb5 (commit)
       via  182a105a387c08da7daaba548d84bc42f73edd87 (commit)
       via  8d052926671eb0e8c83ffab6d15a98790c215a36 (commit)
       via  b9366cf3955d81e26537ea1932b183dbdf237361 (commit)
       via  e5b98723a5f36c5bc32d465deefd20c334627f5a (commit)
       via  5a026fc9a26fa613b67cffe87f8cf3b91bb186b4 (commit)
       via  dc6ae99692892c869dc068c0cfd842168078305c (commit)
       via  c3301df1daed30afd62d8d2f8895d5aadfafb514 (commit)
       via  d4ae5fb0b5d1ae4270b3343509e8bd2d529aa291 (commit)
       via  d6b6434614d9752d705d4f3199c3d59330938c66 (commit)
       via  221c28eceaa29411ef2f54f02f329c39c757e4ca (commit)
       via  df359aa7ab836525492570af920654f46dc005ba (commit)
       via  5a1e8c7a83c17df130a48fb0a736cde6f22bfca9 (commit)
       via  350e1a768cca6deab7aeca8adcff9561faeb1f35 (commit)
      from  162677ea17dae82a33a208001cd13f61e3613556 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=257f8802acce65d9b89f8fabf05210f0aa22b027

commit 257f8802acce65d9b89f8fabf05210f0aa22b027
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Mar 27 10:27:09 2014 -0700

    Don't issue a warning for reference in LTO IR
    
    Update binutils-lto-mixed.patch for PR ld/16746.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d18cb444af69b60967f1da0021a62bbc6654f0d1

commit d18cb444af69b60967f1da0021a62bbc6654f0d1
Merge: af93e61 4c6d802
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Mar 27 08:36:01 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=af93e61fe7b3663cc4601c547d47d9c30661ea38

commit af93e61fe7b3663cc4601c547d47d9c30661ea38
Merge: 162677e a82c7d9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 21 08:12:34 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

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

Summary of changes:
 ChangeLog                                          |    6 +
 Makefile.def                                       |    1 +
 Makefile.in                                        |    8 +
 bfd/ChangeLog                                      |   84 ++
 bfd/cofflink.c                                     |    5 +
 bfd/config.in                                      |    4 +
 bfd/configure                                      |   11 +
 bfd/configure.in                                   |    1 +
 bfd/elf32-arm.c                                    |  226 ++++-
 bfd/elf32-ppc.c                                    |   12 +-
 bfd/elf64-ppc.c                                    |  106 +-
 bfd/elfnn-aarch64.c                                |    4 +-
 bfd/mach-o.c                                       |   52 +-
 bfd/mach-o.h                                       |    2 +
 bfd/peXXigen.c                                     |   77 +-
 bfd/sysdep.h                                       |    4 +
 bfd/version.h                                      |    2 +-
 binutils/ChangeLog                                 |   70 ++
 binutils/dwarf.c                                   |    4 -
 binutils/objcopy.c                                 |    7 +-
 binutils/objdump.c                                 |    2 +-
 binutils/od-macho.c                                |  546 +++++++++-
 binutils/readelf.c                                 |    6 +
 binutils/sysdep.h                                  |    4 +
 binutils/testsuite/ChangeLog                       |   10 +
 .../testsuite/binutils-all/aarch64/aarch64.exp     |   30 +
 .../binutils-all/aarch64/unallocated-encoding.d    |   29 +
 .../binutils-all/aarch64/unallocated-encoding.s    |   51 +
 binutils/testsuite/binutils-all/readelf.ss         |    2 +
 gas/ChangeLog                                      |  133 +++
 gas/NEWS                                           |    3 +
 gas/app.c                                          |    5 +-
 gas/config/obj-coff-seh.c                          |    7 +
 gas/config/obj-coff-seh.h                          |    4 +-
 gas/config/rl78-defs.h                             |    3 +
 gas/config/rl78-parse.y                            |   18 +-
 gas/config/tc-aarch64.c                            |    8 +-
 gas/config/tc-arm.c                                |  186 +++-
 gas/config/tc-arm.h                                |   13 +
 gas/config/tc-mips.c                               |   48 +-
 gas/config/tc-mips.h                               |    5 +
 gas/config/tc-ppc.c                                |   23 +-
 gas/config/tc-rl78.c                               |  524 ++++++++-
 gas/config/tc-rl78.h                               |    3 +
 gas/config/tc-score.c                              |    2 +-
 gas/config/tc-sparc.c                              |    2 +
 gas/config/tc-xtensa.c                             |  558 +++++++++-
 gas/config/tc-xtensa.h                             |    5 +
 gas/doc/as.texinfo                                 |    3 +
 gas/doc/c-aarch64.texi                             |   92 ++-
 gas/doc/c-arm.texi                                 |    4 +
 gas/doc/c-sparc.texi                               |   12 +-
 gas/doc/c-xtensa.texi                              |   92 ++
 gas/doc/internals.texi                             |    9 +
 gas/frags.c                                        |   15 +
 gas/frags.h                                        |    3 +
 gas/read.c                                         |    5 +-
 gas/testsuite/ChangeLog                            |   63 +
 gas/testsuite/gas/aarch64/illegal.d                |    2 +-
 gas/testsuite/gas/aarch64/verbose-error.l          |  132 +++
 gas/testsuite/gas/aarch64/verbose-error.s          |   42 +
 gas/testsuite/gas/all/gas.exp                      |    2 +-
 gas/testsuite/gas/arm/ccs.d                        |   25 +
 gas/testsuite/gas/arm/ccs.s                        |   33 +
 gas/testsuite/gas/cfi/cfi-arm-1.d                  |    9 +-
 gas/testsuite/gas/cfi/cfi-arm-1.s                  |    6 +
 gas/testsuite/gas/i386/avx512f-intel.d             |   64 +-
 gas/testsuite/gas/i386/avx512f.s                   |   32 +-
 gas/testsuite/gas/i386/avx512pf-intel.d            |   64 +-
 gas/testsuite/gas/i386/avx512pf.s                  |   32 +-
 gas/testsuite/gas/i386/x86-64-avx512f-intel.d      |   64 +-
 gas/testsuite/gas/i386/x86-64-avx512f.s            |   32 +-
 gas/testsuite/gas/i386/x86-64-avx512pf-intel.d     |   64 +-
 gas/testsuite/gas/i386/x86-64-avx512pf.s           |   32 +-
 gas/testsuite/gas/mips/lui-2.l                     |    2 +-
 gas/testsuite/gas/mips/mips.exp                    |    9 +
 gas/testsuite/gas/mips/pcrel-1.d                   |   14 +
 gas/testsuite/gas/mips/pcrel-1.s                   |   13 +
 gas/testsuite/gas/mips/pcrel-2.d                   |    8 +
 gas/testsuite/gas/mips/pcrel-2.s                   |    7 +
 gas/testsuite/gas/mips/pcrel-3.l                   |    7 +
 gas/testsuite/gas/mips/pcrel-3.s                   |   11 +
 gas/testsuite/gas/mips/pcrel-4-32.d                |   18 +
 gas/testsuite/gas/mips/pcrel-4-64.d                |   21 +
 gas/testsuite/gas/mips/pcrel-4-n32.d               |   13 +
 gas/testsuite/gas/mips/pcrel-4.s                   |    6 +
 gas/testsuite/gas/rx/mov.d                         |  678 ++++++------
 gas/testsuite/gas/sparc/ldd_std.d                  |    2 +-
 gas/testsuite/gas/sparc/rdhpr.d                    |    4 +-
 gas/testsuite/gas/sparc/rdhpr.s                    |    4 +-
 gas/testsuite/gas/sparc/wrhpr.d                    |    4 +-
 gas/testsuite/gas/sparc/wrhpr.s                    |    4 +-
 gas/testsuite/gas/xtensa/all.exp                   |    1 +
 gas/testsuite/gas/xtensa/trampoline.d              |   26 +
 gas/testsuite/gas/xtensa/trampoline.s              |   21 +
 gdb/ChangeLog                                      |  290 +++++
 gdb/MAINTAINERS                                    |    3 +-
 gdb/ada-lang.c                                     |   16 +-
 gdb/ada-tasks.c                                    |   12 +-
 gdb/avr-tdep.c                                     |    2 +-
 gdb/break-catch-throw.c                            |   37 +-
 gdb/breakpoint.c                                   |   25 +-
 gdb/breakpoint.h                                   |   13 +
 gdb/cli/cli-script.c                               |    3 +
 gdb/ctf.c                                          |   16 +-
 gdb/darwin-nat.c                                   |   38 +-
 gdb/defs.h                                         |    5 +-
 gdb/doc/ChangeLog                                  |   10 +-
 gdb/doc/gdb.texinfo                                |   24 +-
 gdb/event-top.c                                    |   27 +-
 gdb/extension.c                                    |    3 +-
 gdb/fbsd-nat.c                                     |   18 +-
 gdb/features/nios2-cpu.xml                         |    8 +-
 gdb/features/nios2-linux.c                         |    8 +-
 gdb/features/nios2.c                               |    8 +-
 gdb/gnu-nat.c                                      |    6 +-
 gdb/guile/scm-type.c                               |   19 +
 gdb/inf-child.c                                    |   10 +-
 gdb/infcall.c                                      |   10 +
 gdb/infcmd.c                                       |   15 +-
 gdb/inferior.h                                     |   24 +-
 gdb/inflow.c                                       |   36 +-
 gdb/infrun.c                                       |  901 +++++++--------
 gdb/linux-nat.c                                    |   26 +-
 gdb/mi/mi-interp.c                                 |    5 +-
 gdb/nbsd-nat.c                                     |   18 +-
 gdb/probe.c                                        |    3 +-
 gdb/python/py-value.c                              |    3 +-
 gdb/remote.c                                       |  132 ++-
 gdb/rs6000-tdep.c                                  |    6 +-
 gdb/solib-darwin.c                                 |    7 +-
 gdb/target.c                                       |  138 ---
 gdb/testsuite/ChangeLog                            |  195 ++++
 gdb/testsuite/gdb.ada/complete.exp                 |   23 +-
 gdb/testsuite/gdb.ada/pckd_arr_ren.exp             |   33 +
 gdb/testsuite/gdb.ada/pckd_arr_ren/foo.adb         |   24 +
 gdb/testsuite/gdb.ada/pckd_arr_ren/pck.adb         |   26 +
 gdb/testsuite/gdb.ada/pckd_arr_ren/pck.ads         |   24 +
 gdb/testsuite/gdb.asm/asm-source.exp               |    5 +
 gdb/testsuite/gdb.asm/powerpc64le.inc              |   47 +
 gdb/testsuite/gdb.base/async.c                     |    9 +-
 gdb/testsuite/gdb.base/async.exp                   |  136 +--
 gdb/testsuite/gdb.base/attach.exp                  |   49 +
 gdb/testsuite/gdb.base/completion.exp              |  121 +-
 gdb/testsuite/gdb.base/condbreak-call-false.c      |   39 +
 gdb/testsuite/gdb.base/condbreak-call-false.exp    |   33 +
 gdb/testsuite/gdb.base/dprintf.exp                 |   53 +-
 gdb/testsuite/gdb.base/filesym.exp                 |    6 +
 gdb/testsuite/gdb.base/gdb-sigterm.c               |   26 +
 gdb/testsuite/gdb.base/gdb-sigterm.exp             |   95 ++
 gdb/testsuite/gdb.base/macscp.exp                  |  137 ++-
 gdb/testsuite/gdb.base/readline-ask.exp            |    5 +
 gdb/testsuite/gdb.base/readline.exp                |    5 +
 gdb/testsuite/gdb.base/source-execution.c          |   41 +
 gdb/testsuite/gdb.base/source-execution.exp        |   33 +
 gdb/testsuite/gdb.base/source-execution.gdb        |   21 +
 gdb/testsuite/gdb.base/watchpoint.exp              |   13 +-
 gdb/testsuite/gdb.cp/annota2.exp                   |    3 -
 gdb/testsuite/gdb.cp/annota3.exp                   |    3 -
 gdb/testsuite/gdb.guile/guile.exp                  |    7 +
 gdb/testsuite/gdb.guile/scm-value.exp              |    7 +
 gdb/testsuite/gdb.linespec/macro-relative.exp      |    6 +
 gdb/testsuite/gdb.mi/mi-dprintf.exp                |   45 +-
 gdb/testsuite/gdb.mi/mi-solib.exp                  |    4 -
 gdb/testsuite/gdb.python/py-cmd.exp                |   18 +-
 gdb/testsuite/gdb.python/python.exp                |    7 +
 gdb/testsuite/gdb.threads/multiple-step-overs.c    |  105 ++
 gdb/testsuite/gdb.threads/multiple-step-overs.exp  |   80 ++
 .../signal-while-stepping-over-bp-other-thread.c   |   31 +-
 .../signal-while-stepping-over-bp-other-thread.exp |   16 +-
 .../gdb.threads/step-over-lands-on-breakpoint.c    |   65 +
 .../gdb.threads/step-over-lands-on-breakpoint.exp  |   62 +
 .../gdb.threads/step-over-trips-on-watchpoint.c    |   67 ++
 .../gdb.threads/step-over-trips-on-watchpoint.exp  |   90 ++
 gdb/testsuite/gdb.threads/thread-specific.exp      |   20 +-
 gdb/testsuite/gdb.trace/tfile.exp                  |    8 +-
 gdb/testsuite/lib/gdb.exp                          |   18 +-
 gdb/testsuite/lib/mi-support.exp                   |   19 +-
 gdb/top.c                                          |    4 +-
 gdb/tracefile-tfile.c                              |   16 +-
 gdb/tracepoint.c                                   |   15 -
 gdb/tracepoint.h                                   |    9 -
 gdb/ui-out.c                                       |    5 +-
 gdb/utils.c                                        |    6 +
 gdb/value.c                                        |    6 +-
 gdb/windows-nat.c                                  |    2 +-
 include/mach-o/ChangeLog                           |   10 +-
 include/mach-o/loader.h                            |    8 +-
 include/mach-o/unwind.h                            |  199 ++++
 ld/ChangeLog                                       |   60 +
 ld/Makefile.am                                     |    2 +-
 ld/Makefile.in                                     |    2 +-
 ld/emultempl/aix.em                                |    8 +-
 ld/emultempl/default-manifest.rc                   |    2 +-
 ld/emultempl/elf32.em                              |   49 +-
 ld/emultempl/linux.em                              |    2 +-
 ld/emultempl/pe.em                                 |   20 +-
 ld/emultempl/pep.em                                |    2 +-
 ld/emultempl/vms.em                                |    2 +-
 ld/ld.texinfo                                      |   11 +-
 ld/ldfile.c                                        |    2 +-
 ld/ldlang.c                                        |   15 +-
 ld/ldlang.h                                        |    3 +
 ld/ldmain.c                                        |   43 +-
 ld/scripttempl/pe.sc                               |   13 +-
 ld/scripttempl/pep.sc                              |   13 +-
 ld/testsuite/ChangeLog                             |   74 ++
 ld/testsuite/config/default.exp                    |    5 +
 ld/testsuite/ld-aarch64/aarch64-elf.exp            |    2 +
 ld/testsuite/ld-aarch64/relasz.d                   |   18 +
 ld/testsuite/ld-aarch64/relasz.s                   |    9 +
 ld/testsuite/ld-arm/arm-app-abs32.d                |    5 +-
 ld/testsuite/ld-arm/arm-app.d                      |    7 +-
 ld/testsuite/ld-arm/arm-lib-plt32.d                |    7 +-
 ld/testsuite/ld-arm/arm-lib.d                      |    7 +-
 ld/testsuite/ld-arm/armthumb-lib.d                 |    7 +-
 ld/testsuite/ld-arm/cortex-a8-fix-b-plt.d          |    7 +-
 ld/testsuite/ld-arm/cortex-a8-fix-bcc-plt.d        |    7 +-
 ld/testsuite/ld-arm/cortex-a8-fix-bl-plt.d         |    7 +-
 ld/testsuite/ld-arm/cortex-a8-fix-bl-rel-plt.d     |   69 +-
 ld/testsuite/ld-arm/cortex-a8-fix-blx-plt.d        |    7 +-
 ld/testsuite/ld-arm/farcall-mixed-app-v5.d         |   12 +-
 ld/testsuite/ld-arm/farcall-mixed-app.d            |   12 +-
 ld/testsuite/ld-arm/farcall-mixed-lib-v4t.d        |   16 +-
 ld/testsuite/ld-arm/farcall-mixed-lib.d            |   16 +-
 ld/testsuite/ld-arm/ifunc-10.dd                    |  164 ++--
 ld/testsuite/ld-arm/ifunc-14.dd                    |    4 +-
 ld/testsuite/ld-arm/ifunc-14.rd                    |    4 +-
 ld/testsuite/ld-arm/ifunc-15.dd                    |    4 +-
 ld/testsuite/ld-arm/ifunc-3.dd                     |   13 +-
 ld/testsuite/ld-arm/ifunc-4.dd                     |  202 ++--
 ld/testsuite/ld-arm/ifunc-7.dd                     |   14 +-
 ld/testsuite/ld-arm/ifunc-8.dd                     |  208 ++--
 ld/testsuite/ld-arm/ifunc-9.dd                     |    9 +-
 ld/testsuite/ld-arm/long-plt-format.d              |    3 +-
 ld/testsuite/ld-arm/mixed-app-v5.d                 |    8 +-
 ld/testsuite/ld-arm/mixed-app.d                    |    8 +-
 ld/testsuite/ld-arm/mixed-lib.d                    |    7 +-
 ld/testsuite/ld-arm/thumb2-bl-undefweak.d          |    2 +-
 ld/testsuite/ld-arm/thumb2-bl-undefweak1.d         |    2 +-
 ld/testsuite/ld-elf/merge.d                        |    2 +-
 ld/testsuite/ld-plugin/lto.exp                     |    4 +-
 ld/testsuite/ld-powerpc/ambiguousv1.d              |   12 +
 ld/testsuite/ld-powerpc/ambiguousv2.d              |   12 +
 ld/testsuite/ld-powerpc/funref.s                   |    4 +
 ld/testsuite/ld-powerpc/funv1.s                    |   10 +
 ld/testsuite/ld-powerpc/funv2.s                    |    6 +
 ld/testsuite/ld-powerpc/powerpc.exp                |    4 +
 ld/testsuite/ld-powerpc/startv1.s                  |    8 +
 ld/testsuite/ld-powerpc/startv2.s                  |    5 +
 ld/testsuite/ld-powerpc/vle-reloc-3.d              |    8 +-
 ld/testsuite/ld-powerpc/vle.ld                     |    3 +-
 opcodes/ChangeLog                                  |   24 +
 opcodes/aarch64-dis.c                              |   12 +-
 opcodes/i386-dis-evex.h                            |   16 +-
 opcodes/i386-dis.c                                 |   32 +-
 opcodes/i386-opc.tbl                               |   16 +-
 opcodes/i386-tbl.h                                 |   16 +-
 opcodes/rx-decode.c                                | 1223 ++++++++++----------
 opcodes/rx-decode.opc                              |   11 +-
 opcodes/sparc-dis.c                                |    2 +-
 patches/binutils-lto-mixed.patch                   |  212 +++-
 sim/arm/ChangeLog                                  |   45 +
 sim/arm/armcopro.c                                 |   34 +-
 sim/arm/armemu.c                                   |   67 +-
 sim/arm/armemu.h                                   |   10 +-
 sim/arm/maverick.c                                 |   23 +-
 sim/arm/thumbemu.c                                 |   70 +-
 sim/arm/wrapper.c                                  |  249 +++--
 269 files changed, 8935 insertions(+), 3207 deletions(-)
 create mode 100644 binutils/testsuite/binutils-all/aarch64/aarch64.exp
 create mode 100644 binutils/testsuite/binutils-all/aarch64/unallocated-encoding.d
 create mode 100644 binutils/testsuite/binutils-all/aarch64/unallocated-encoding.s
 create mode 100644 gas/testsuite/gas/arm/ccs.d
 create mode 100644 gas/testsuite/gas/arm/ccs.s
 create mode 100644 gas/testsuite/gas/mips/pcrel-1.d
 create mode 100644 gas/testsuite/gas/mips/pcrel-1.s
 create mode 100644 gas/testsuite/gas/mips/pcrel-2.d
 create mode 100644 gas/testsuite/gas/mips/pcrel-2.s
 create mode 100644 gas/testsuite/gas/mips/pcrel-3.l
 create mode 100644 gas/testsuite/gas/mips/pcrel-3.s
 create mode 100644 gas/testsuite/gas/mips/pcrel-4-32.d
 create mode 100644 gas/testsuite/gas/mips/pcrel-4-64.d
 create mode 100644 gas/testsuite/gas/mips/pcrel-4-n32.d
 create mode 100644 gas/testsuite/gas/mips/pcrel-4.s
 create mode 100644 gas/testsuite/gas/xtensa/trampoline.d
 create mode 100644 gas/testsuite/gas/xtensa/trampoline.s
 create mode 100644 gdb/testsuite/gdb.ada/pckd_arr_ren.exp
 create mode 100644 gdb/testsuite/gdb.ada/pckd_arr_ren/foo.adb
 create mode 100644 gdb/testsuite/gdb.ada/pckd_arr_ren/pck.adb
 create mode 100644 gdb/testsuite/gdb.ada/pckd_arr_ren/pck.ads
 create mode 100644 gdb/testsuite/gdb.asm/powerpc64le.inc
 create mode 100644 gdb/testsuite/gdb.base/condbreak-call-false.c
 create mode 100644 gdb/testsuite/gdb.base/condbreak-call-false.exp
 create mode 100644 gdb/testsuite/gdb.base/gdb-sigterm.c
 create mode 100644 gdb/testsuite/gdb.base/gdb-sigterm.exp
 create mode 100644 gdb/testsuite/gdb.base/source-execution.c
 create mode 100644 gdb/testsuite/gdb.base/source-execution.exp
 create mode 100644 gdb/testsuite/gdb.base/source-execution.gdb
 create mode 100644 gdb/testsuite/gdb.threads/multiple-step-overs.c
 create mode 100644 gdb/testsuite/gdb.threads/multiple-step-overs.exp
 create mode 100644 gdb/testsuite/gdb.threads/step-over-lands-on-breakpoint.c
 create mode 100644 gdb/testsuite/gdb.threads/step-over-lands-on-breakpoint.exp
 create mode 100644 gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.c
 create mode 100644 gdb/testsuite/gdb.threads/step-over-trips-on-watchpoint.exp
 create mode 100644 include/mach-o/unwind.h
 create mode 100644 ld/testsuite/ld-aarch64/relasz.d
 create mode 100644 ld/testsuite/ld-aarch64/relasz.s
 create mode 100644 ld/testsuite/ld-powerpc/ambiguousv1.d
 create mode 100644 ld/testsuite/ld-powerpc/ambiguousv2.d
 create mode 100644 ld/testsuite/ld-powerpc/funref.s
 create mode 100644 ld/testsuite/ld-powerpc/funv1.s
 create mode 100644 ld/testsuite/ld-powerpc/funv2.s
 create mode 100644 ld/testsuite/ld-powerpc/startv1.s
 create mode 100644 ld/testsuite/ld-powerpc/startv2.s
Comment 8 Sourceware Commits 2014-03-27 17:28:50 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, hjl/lto-mixed has been created
        at  26c2ff33f8fcd57d52194a159226b639a4fee00c (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=26c2ff33f8fcd57d52194a159226b639a4fee00c

commit 26c2ff33f8fcd57d52194a159226b639a4fee00c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Mar 25 13:33:51 2014 -0700

    Don't issue a warning for reference in LTO IR
    
    References in LTO IR may be removed by LTO later.  Instead, make a
    warning symbol if needed.  Warnings will be handled after LTO resolves
    all references.
    
    bfd/
    
    	PR ld/16746
    	* linker.c (_bfd_generic_link_add_one_symbol): Don't issue a
    	warning for reference in LTO IR which may be removed by LTO later.
    
    ld/testsuite/
    
    	PR ld/16746
    	* ld-plugin/lto.exp: Add 4 tests for PR ld/16746.
    	* ld-plugin/pr16746a.c: New file.
    	* ld-plugin/pr16746b.c: Likewise.
    	* ld-plugin/pr16746c.c: Likewise.
    	* ld-plugin/pr16746d.c: Likewise.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5d76a12be67642d84e507351c19a6c8ee730f2dc

commit 5d76a12be67642d84e507351c19a6c8ee730f2dc
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 7 12:18:30 2014 -0800

    Don't check the plugin target twice

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4bca33926178cc21e948df4ba39b604a86b448b6

commit 4bca33926178cc21e948df4ba39b604a86b448b6
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 7 10:51:47 2014 -0800

    Add test for nm on mixed LTO/non-LTO object

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ec53ec2ad484367a384390d44b6cdb5427b5de06

commit ec53ec2ad484367a384390d44b6cdb5427b5de06
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Nov 4 09:17:45 2013 -0800

    Add lto and none-lto input support for ld -r
    
    This patch adds lto and none-lto input support for ld -r so that
    LTO can be used with ld -r without Makefile changes.  It is useful
    for Linux kernel build with LTO.

-----------------------------------------------------------------------
Comment 9 Sourceware Commits 2014-06-10 18:50:48 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, hjl/lto-mixed has been created
        at  2daaadb4e82667d67e5bb868f39207f4687feb3c (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2daaadb4e82667d67e5bb868f39207f4687feb3c

commit 2daaadb4e82667d67e5bb868f39207f4687feb3c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Mar 25 13:33:51 2014 -0700

    Don't issue a warning for reference in LTO IR
    
    References in LTO IR may be removed by LTO later.  Instead, make a
    warning symbol if needed.  Warnings will be handled after LTO resolves
    all references.
    
    bfd/
    
    	PR ld/16746
    	* linker.c (_bfd_generic_link_add_one_symbol): Don't issue a
    	warning for reference in LTO IR which may be removed by LTO later.
    
    ld/testsuite/
    
    	PR ld/16746
    	* ld-plugin/lto.exp: Add 4 tests for PR ld/16746.
    	* ld-plugin/pr16746a.c: New file.
    	* ld-plugin/pr16746b.c: Likewise.
    	* ld-plugin/pr16746c.c: Likewise.
    	* ld-plugin/pr16746d.c: Likewise.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1a69ad69ab87d0b518afcfd5df5687b729a9d918

commit 1a69ad69ab87d0b518afcfd5df5687b729a9d918
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 7 12:18:30 2014 -0800

    Don't check the plugin target twice

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=37db573f3bacd40d134145ca532a9d8401450a89

commit 37db573f3bacd40d134145ca532a9d8401450a89
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 7 10:51:47 2014 -0800

    Add test for nm on mixed LTO/non-LTO object

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ec8ebecb54c20cd14b399bea61709bf4373e0c72

commit ec8ebecb54c20cd14b399bea61709bf4373e0c72
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Nov 4 09:17:45 2013 -0800

    Add lto and none-lto input support for ld -r
    
    This patch adds lto and none-lto input support for ld -r so that
    LTO can be used with ld -r without Makefile changes.  It is useful
    for Linux kernel build with LTO.

-----------------------------------------------------------------------
Comment 10 Sourceware Commits 2014-08-06 18:40:44 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, hjl/lto-mixed has been created
        at  9639ea9d18e19bfb930c355c0ac3a734518d5e67 (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9639ea9d18e19bfb930c355c0ac3a734518d5e67

commit 9639ea9d18e19bfb930c355c0ac3a734518d5e67
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Mar 25 13:33:51 2014 -0700

    Don't issue a warning for reference in LTO IR
    
    References in LTO IR may be removed by LTO later.  Instead, make a
    warning symbol if needed.  Warnings will be handled after LTO resolves
    all references.
    
    bfd/
    
    	PR ld/16746
    	* linker.c (_bfd_generic_link_add_one_symbol): Don't issue a
    	warning for reference in LTO IR which may be removed by LTO later.
    
    ld/testsuite/
    
    	PR ld/16746
    	* ld-plugin/lto.exp: Add 4 tests for PR ld/16746.
    	* ld-plugin/pr16746a.c: New file.
    	* ld-plugin/pr16746b.c: Likewise.
    	* ld-plugin/pr16746c.c: Likewise.
    	* ld-plugin/pr16746d.c: Likewise.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7981ad8b0113c1b3172ac811424c8365fec0181a

commit 7981ad8b0113c1b3172ac811424c8365fec0181a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 7 12:18:30 2014 -0800

    Don't check the plugin target twice

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0f5ef7a4dbca6291f261accbaf82359a04e5b148

commit 0f5ef7a4dbca6291f261accbaf82359a04e5b148
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 7 10:51:47 2014 -0800

    Add test for nm on mixed LTO/non-LTO object

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3b1cc575ae5bf89b9a0ca9bbfdff147c744b2cd2

commit 3b1cc575ae5bf89b9a0ca9bbfdff147c744b2cd2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Nov 4 09:17:45 2013 -0800

    Add lto and none-lto input support for ld -r
    
    This patch adds lto and none-lto input support for ld -r so that
    LTO can be used with ld -r without Makefile changes.  It is useful
    for Linux kernel build with LTO.

-----------------------------------------------------------------------
Comment 11 Sourceware Commits 2014-08-07 01:00:34 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  db7129469b10a701659f0e38e3edeb2191236831 (commit)
      from  59c2656733ccb54660f48c10608f4c1753dcaf01 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=db7129469b10a701659f0e38e3edeb2191236831

commit db7129469b10a701659f0e38e3edeb2191236831
Author: H.J. Lu <hongjiu.lu@intel.com>
Date:   Thu Aug 7 09:53:46 2014 +0930

    Don't issue a warning for references in LTO IR to warning symbols
    
    bfd/
    	PR ld/16746
    	* linker.c (_bfd_generic_link_add_one_symbol): Don't issue a
    	warning for references in LTO IR to warning symbols.
    
    ld/testsuite/
    	PR ld/16746
    	* ld-plugin/lto.exp: Add 4 tests for PR ld/16746.
    	* ld-plugin/pr16746a.c: New file.
    	* ld-plugin/pr16746b.c: Likewise.
    	* ld-plugin/pr16746c.c: Likewise.
    	* ld-plugin/pr16746d.c: Likewise.

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

Summary of changes:
 bfd/ChangeLog                     |    7 +++++++
 bfd/linker.c                      |   15 +++++++--------
 ld/testsuite/ChangeLog            |    9 +++++++++
 ld/testsuite/ld-plugin/lto.exp    |   26 ++++++++++++++++++++++++++
 ld/testsuite/ld-plugin/pr16746a.c |    3 +++
 ld/testsuite/ld-plugin/pr16746b.c |    5 +++++
 ld/testsuite/ld-plugin/pr16746c.c |    8 ++++++++
 ld/testsuite/ld-plugin/pr16746d.c |    8 ++++++++
 8 files changed, 73 insertions(+), 8 deletions(-)
 create mode 100644 ld/testsuite/ld-plugin/pr16746a.c
 create mode 100644 ld/testsuite/ld-plugin/pr16746b.c
 create mode 100644 ld/testsuite/ld-plugin/pr16746c.c
 create mode 100644 ld/testsuite/ld-plugin/pr16746d.c
Comment 12 Alan Modra 2014-08-07 01:04:01 UTC
Fixed mainline
Comment 13 Sourceware Commits 2014-08-12 01:13:04 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  61f41c3c243bbcc0ab2e5adb3157ce00dc11fc27 (commit)
      from  d769e349bc2c28261d4b2391b58eb7dc3f452e99 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=61f41c3c243bbcc0ab2e5adb3157ce00dc11fc27

commit 61f41c3c243bbcc0ab2e5adb3157ce00dc11fc27
Author: Alan Modra <amodra@gmail.com>
Date:   Tue Aug 12 10:31:41 2014 +0930

    Fix non-plugin warning symbol handling
    
    	PR ld/16746
    include/
    	* bfdlink.h (struct bfd_link_info): Add lto_plugin_active.
    bfd/
    	* linker.c (_bfd_generic_link_add_one_symbol <WARN>): Handle
    	!lto_plugin_active.
    ld/
    	* plugin.c (plugin_load_plugins): Set link_info.lto_plugin_active.

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

Summary of changes:
 bfd/linker.c      |    4 +++-
 include/bfdlink.h |    3 +++
 ld/plugin.c       |    1 +
 3 files changed, 7 insertions(+), 1 deletions(-)
Comment 14 Sourceware Commits 2014-10-10 17:51:55 UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, hjl/linux/master has been created
        at  437353b63e31e35c19ceeea7c58320110c0beb61 (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=437353b63e31e35c19ceeea7c58320110c0beb61

commit 437353b63e31e35c19ceeea7c58320110c0beb61
Merge: 6992dd8 9e5e528
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Oct 10 10:45:50 2014 -0700

    Merge commit '9e5e52835bb205850fb0fa6f0393ecd64b02b22f' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6992dd88e2eb4ec851640c97db73248667f68184

commit 6992dd88e2eb4ec851640c97db73248667f68184
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Sep 8 09:57:09 2014 -0700

    Rebase binutils-secondary.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=31e5f334201f98bf9aa30944608470096970b27a

commit 31e5f334201f98bf9aa30944608470096970b27a
Merge: de52a97 2e4bb98
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Sep 8 09:45:37 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=de52a9709c4d12a65323ac6dcb9490478ecd5b58

commit de52a9709c4d12a65323ac6dcb9490478ecd5b58
Merge: 2305663 fb0576e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Aug 28 15:11:20 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=23056638c2e74611206dd8be2405f019a89145ce

commit 23056638c2e74611206dd8be2405f019a89145ce
Merge: fae008a 656e886
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Aug 21 09:45:08 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fae008ab6d5803ea3f36ae6efc90a99f2d7a29b9

commit fae008ab6d5803ea3f36ae6efc90a99f2d7a29b9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Aug 15 09:52:24 2014 -0700

    Update binutils-lto-mixed.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d30c1fa14020805c02fdee4621d1a3eb2b5f8415

commit d30c1fa14020805c02fdee4621d1a3eb2b5f8415
Merge: 9c2f3cec cb039ba
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Aug 15 09:40:52 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9c2f3cec4317c68f0f0bafb34340ffdb580c98f0

commit 9c2f3cec4317c68f0f0bafb34340ffdb580c98f0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 6 10:31:10 2014 -0700

    Update binutils-lto-mixed.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=571528977311ff8db7fadb99c123564a3a647f71

commit 571528977311ff8db7fadb99c123564a3a647f71
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 6 10:30:55 2014 -0700

    Rebase binutils-secondary.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c85a5f11c1f161d1f2953c9c175b40dc541e5c2d

commit c85a5f11c1f161d1f2953c9c175b40dc541e5c2d
Merge: 8c06239 d022bdd
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Aug 6 10:21:48 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8c06239995e17a360d78bb3c0a4981e572c55d4b

commit 8c06239995e17a360d78bb3c0a4981e572c55d4b
Merge: 129b0c6 90debf2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Aug 1 08:43:48 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=129b0c63634ab7aa3dcffbecad717734537d03d6

commit 129b0c63634ab7aa3dcffbecad717734537d03d6
Merge: 75ccfde cca5b8b
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jul 16 11:18:20 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=75ccfdea077a41e20e0ac4cb08a2d478e17187fb

commit 75ccfdea077a41e20e0ac4cb08a2d478e17187fb
Merge: b63206a 144bed8
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jul 16 11:03:21 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b63206aa3fb312f622c3d98553f53be48d4e6c52

commit b63206aa3fb312f622c3d98553f53be48d4e6c52
Merge: cb5fd63 41e9956
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 15 11:23:01 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cb5fd6395ea0fb4d2aafc7b5a0a5f57998f1935b

commit cb5fd6395ea0fb4d2aafc7b5a0a5f57998f1935b
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 8 09:02:37 2014 -0700

    Update binutils-lto-mixed.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=da8efc9b0b1f957f204313cc7e6f0f62d9545a3c

commit da8efc9b0b1f957f204313cc7e6f0f62d9545a3c
Merge: 7e029f3 792f775
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jul 8 08:41:02 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7e029f31acbc22d4828b22eb422058afec9b7e9b

commit 7e029f31acbc22d4828b22eb422058afec9b7e9b
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jun 10 17:23:33 2014 -0700

    Update binutils-lto-mixed.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=870732a6909bdcb297909306ac2428114bc67778

commit 870732a6909bdcb297909306ac2428114bc67778
Merge: 4346f84 d9949a3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Jun 10 11:39:08 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4346f84097cb0de3e397285fcdbb9bd0f9f82712

commit 4346f84097cb0de3e397285fcdbb9bd0f9f82712
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 22 10:47:50 2014 -0700

    Rebase binutils-secondary.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f5dd86223ab8a7404ed548319f3a1c6389c82079

commit f5dd86223ab8a7404ed548319f3a1c6389c82079
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 22 10:37:14 2014 -0700

    Update binutils-lto-mixed.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bec0f0cd21fc94bb9743189dfef9868dc42a9f69

commit bec0f0cd21fc94bb9743189dfef9868dc42a9f69
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 22 10:36:47 2014 -0700

    Pass --follow-symlinks to patch

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ea437852a647d2dd6da32aadabf7561a961525fc

commit ea437852a647d2dd6da32aadabf7561a961525fc
Merge: c8420f0 43c001c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Apr 22 10:33:15 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c8420f045ffbe01d22015a98113714bae1cbd289

commit c8420f045ffbe01d22015a98113714bae1cbd289
Merge: 257f880 2cf200a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Apr 4 08:40:58 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=257f8802acce65d9b89f8fabf05210f0aa22b027

commit 257f8802acce65d9b89f8fabf05210f0aa22b027
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Mar 27 10:27:09 2014 -0700

    Don't issue a warning for reference in LTO IR
    
    Update binutils-lto-mixed.patch for PR ld/16746.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d18cb444af69b60967f1da0021a62bbc6654f0d1

commit d18cb444af69b60967f1da0021a62bbc6654f0d1
Merge: af93e61 4c6d802
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Mar 27 08:36:01 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=af93e61fe7b3663cc4601c547d47d9c30661ea38

commit af93e61fe7b3663cc4601c547d47d9c30661ea38
Merge: 162677e a82c7d9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 21 08:12:34 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=162677ea17dae82a33a208001cd13f61e3613556

commit 162677ea17dae82a33a208001cd13f61e3613556
Merge: c77463c c307e84
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Mar 13 08:14:08 2014 -0700

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c77463c11cae96b181100c3ec9b88d587228ab6f

commit c77463c11cae96b181100c3ec9b88d587228ab6f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Mar 11 09:20:30 2014 -0700

    Don't check the plugin target twice
    
    Also add test for nm on mixed LTO/non-LTO object.

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=238e501888b3f8187ee852817839212b942e6e0f

commit 238e501888b3f8187ee852817839212b942e6e0f
Merge: 5a2d130 c1a7b7c
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Mar 7 12:19:44 2014 -0800

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5a2d1302cc985b905d5586d5061d2863e43e5e32

commit 5a2d1302cc985b905d5586d5061d2863e43e5e32
Merge: d77e956 f17c8bf
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 27 11:04:19 2014 -0800

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d77e95685b16512a6bab7e972dba6bd7a9c9c88e

commit d77e95685b16512a6bab7e972dba6bd7a9c9c88e
Merge: e3eeec1 10632b7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Feb 19 12:58:37 2014 -0800

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e3eeec10bb710a89d90e9172dd0286234c6b9fde

commit e3eeec10bb710a89d90e9172dd0286234c6b9fde
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Feb 19 12:26:57 2014 -0800

    Update binutils-sharable.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b3fbfd21308406f5494abe2bde776e37c918e318

commit b3fbfd21308406f5494abe2bde776e37c918e318
Merge: 795df15 0ff2b86
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Feb 19 12:21:26 2014 -0800

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=795df15bf4adfb2c17075eef53ab468d3db747c2

commit 795df15bf4adfb2c17075eef53ab468d3db747c2
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Feb 10 12:20:33 2014 -0800

    Update binutils-pr16496.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e5668ec9a4cadf4e5eec9f4f72ab4cff8ec36115

commit e5668ec9a4cadf4e5eec9f4f72ab4cff8ec36115
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Feb 10 08:28:09 2014 -0800

    Remove binutils-pr16530.patch

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=573900ef6adf509ae8b188533c0f09644d0912eb

commit 573900ef6adf509ae8b188533c0f09644d0912eb
Merge: 8579807 d6f6f45
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Feb 10 08:27:29 2014 -0800

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8579807196e03c199e3f1b211f5e8ef991581ae8

commit 8579807196e03c199e3f1b211f5e8ef991581ae8
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 6 11:04:54 2014 -0800

    Add and apply binutils-pr16530.patch

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=851d767d8680980345443c2de923e8f21d3cdfd4

commit 851d767d8680980345443c2de923e8f21d3cdfd4
Merge: e2e9609 926c538
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 6 10:49:30 2014 -0800

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e2e9609d28aad3df8ce350dd42ade09e7dbb55cc

commit e2e9609d28aad3df8ce350dd42ade09e7dbb55cc
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jan 31 09:45:12 2014 -0800

    Update binutils-pr16496.patch against master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4594cfb9e6858edf2c5619c72067dedc2183f3a0

commit 4594cfb9e6858edf2c5619c72067dedc2183f3a0
Merge: 9134fcc 83861ea
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri Jan 31 09:14:05 2014 -0800

    Merge remote-tracking branch 'origin/master' into hjl/linux/master

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9134fcc197d833e42b32df53c5b1c90ccaead369

commit 9134fcc197d833e42b32df53c5b1c90ccaead369
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Jan 27 16:34:06 2014 -0800

    Update version to 2.24.51.0.4

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