[patch] Add plugin support for bfd
Rafael Espindola
espindola@google.com
Tue May 12 08:31:00 GMT 2009
> I think that you may need to extend this patch to include an update to the
> configure script in the binutils subdirectory. See the start of
> binutils/configure.in and in particular the refernce to PR 9992. The
> problem is that for Solaris, the size of the stat structure changes
> depending upon whether large file support is enabled or not, and this
> structure is passed between the binutils code and the bfd library.
That is interesting. If bfd and binutils already check for largefile
support, there should be no need to define LFS_CFLAGS for example.
The attached patches does just that. I tested it by building with -m32
on linux x86-64 and checking that it can load a 32 bit plugin. I don't
have a solaris machine to test it, but I think the change is simple
enough: If the user asked for plugin support, don't disable large file
support.
> Cheers
> Nick
Cheers,
--
Rafael Avila de Espindola
Google | Gordon House | Barrow Street | Dublin 4 | Ireland
Registered in Dublin, Ireland | Registration Number: 368047
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make-dep-am.patch
Type: text/x-diff
Size: 9195 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090512/740dbd83/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bfd-plugins.patch
Type: text/x-diff
Size: 26135 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090512/740dbd83/attachment-0001.bin>
More information about the Binutils
mailing list