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 [EMAIL PROTECTED] FreeBSD committer
pgplBtCbWRY47.pgp
Description: PGP signature
