diff options
| author | Kyle Moffett <[email protected]> | 2011-11-07 13:30:43 +0000 |
|---|---|---|
| committer | Benjamin Herrenschmidt <[email protected]> | 2011-11-17 05:26:07 +0000 |
| commit | a9a8f77ac72d6dd3c92ea268291678836f77681c (patch) | |
| tree | 5418164440e9897bbd68be6ee50aaf6334a00f42 /lib/debugobjects.c | |
| parent | powerpc/book3e-64: Fix debug support for userspace (diff) | |
| download | kernel-a9a8f77ac72d6dd3c92ea268291678836f77681c.tar.gz kernel-a9a8f77ac72d6dd3c92ea268291678836f77681c.zip | |
powerpc: Remove buggy 9-year-old test for binutils < 2.12.1
Recent binutils refuses to assemble AltiVec opcodes when in e500/SPE
mode, as some of those opcodes alias the "SPE" instructions. This
triggers an ancient binutils version check even when building a kernel
with CONFIG_ALTIVEC disabled.
In theory, the check could be conditionalized on CONFIG_ALTIVEC, but in
practice it has long outlived its utility. It is virtually impossible
to find binutils older than 2.12.1 (released 2002) in the wild anymore.
Even ancient RedHat Enterprise Linux 4 has binutils-2.14.
To fix the kernel build when done natively on e500 systems with this new
binutils, the test is simply removed.
Signed-off-by: Kyle Moffett <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
