Date: Sun, 11 Feb 2007 07:15:06 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/gnu/usr.bin/binutils Makefile.inc0 src/gnu/usr.bin/binutils/libbfd bfd.h Message-ID: <200702110715.l1B7F7K9091985@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702110715.l1B7F7K9091985>