[PATCHx2] Fix symbol handling bug in plugin API (+ testsuite noise fix reposted)

Dave Korn dave.korn.cygwin@gmail.com
Sun Oct 17 16:47:00 GMT 2010



    Hi list,

  I found one little bug in the plugin API while lto-bootstrapping GCC, a dumb
thinko where I check the initial rather than current symbol type before
deciding which format of hash table entry to access.  Easily fixed by looking
in the right place instead of the wrong one!

ld/ChangeLog:

	* plugin.c (get_symbols): Check symbol type correctly.

  There's also this testsuite tweak outstanding, which I'm reposting in case
it got lost in the noise.

ld/testsuite/ChangeLog:

	* ld-plugin/plugin.exp: Mark tests UNSUPPORTED, not UNRESOLVED, if
	no suitable target compiler is available.

  Both built and tested i686-pc-cygwin.  Can I get a couple of OKs?

    cheers,
      DaveK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-plugin-bugfix-2.diff
Type: text/x-c
Size: 658 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20101017/79631be3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ld-plugin-testfix-2.diff
Type: text/x-c
Size: 1034 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20101017/79631be3/attachment-0001.bin>


More information about the Binutils mailing list