cvs commit: src/gnu/usr.bin/binutils Makefile.inc0 src/gnu/usr.bin/binutils/libbfd bfd.h

Ruslan Ermilov ru at FreeBSD.org
Sun Feb 11 18:15:47 UTC 2007


On Sun, Feb 11, 2007 at 07:15:06AM +0000, Marcel Moolenaar wrote:
> marcel      2007-02-11 07:15:06 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     gnu/usr.bin/binutils Makefile.inc0 
>     gnu/usr.bin/binutils/libbfd bfd.h 
>   Log:
>   Fix PowerPC-targeted cross-builds performed on 64-bit platforms.
>   Only PowerPC supports both 32-bit and 64-bit targets and the
>   BFD_DEFAULT_TARGET_SIZE is used by the binutils code to reflect
>   the preferred ABI. We define BFD_DEFAULT_TARGET_SIZE for all
>   platforms, but based on the build machine. As such 64-bit build
>   machines defined BFD_DEFAULT_TARGET_SIZE incorrectly for 32-bit
>   targets, but since this only affects PowerPC it went unnoticed
>   for a long time.
>   The fix is to define BFD_DEFAULT_TARGET_SIZE based on the target
>   architecture.
>   
>   PR: amd64/102996
>   MFC after: 1 month
>   
>   Revision  Changes    Path
>   1.38      +6 -0      src/gnu/usr.bin/binutils/Makefile.inc0
>   1.4       +0 -4      src/gnu/usr.bin/binutils/libbfd/bfd.h
> 
Thank you, Marcel!  :-)


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20070211/689b0815/attachment.pgp


More information about the cvs-src mailing list