cvs commit: src/gnu/usr.bin/binutils Makefile.inc0
src/gnu/usr.bin/binutils/libbfd bfd.h
Marcel Moolenaar
marcel at FreeBSD.org
Sun Feb 11 07:15:07 UTC 2007
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
More information about the cvs-src
mailing list