diff options
author | marcel <marcel@FreeBSD.org> | 2007-02-11 07:15:06 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-02-11 07:15:06 +0000 |
commit | 3c925b07d6111dac4b4ad4a92620b3bf456aa1c9 (patch) | |
tree | 2fc6f63b6545a64292f5928d77e87ab02cb2eb42 /sys/fs/cd9660/cd9660_bmap.c | |
parent | 909177e227a00404bc8c412d1a3cb60f2b4b4262 (diff) | |
download | FreeBSD-src-3c925b07d6111dac4b4ad4a92620b3bf456aa1c9.zip FreeBSD-src-3c925b07d6111dac4b4ad4a92620b3bf456aa1c9.tar.gz |
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
Diffstat (limited to 'sys/fs/cd9660/cd9660_bmap.c')
0 files changed, 0 insertions, 0 deletions