diff options
author | John David Anglin <dave.anglin@bell.net> | 2014-09-22 20:54:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-10-05 14:52:21 -0700 |
commit | 0dd3e23fcb70daa8d879c5f320ff65029da2b371 (patch) | |
tree | 8609c0b9a8c173293283465760552a5c19cd1f40 /kernel | |
parent | a00e2af70dd39117d292fbc4ba30411d932e46a0 (diff) | |
download | lwn-0dd3e23fcb70daa8d879c5f320ff65029da2b371.tar.gz lwn-0dd3e23fcb70daa8d879c5f320ff65029da2b371.zip |
parisc: Only use -mfast-indirect-calls option for 32-bit kernel builds
commit d26a7730b5874a5fa6779c62f4ad7c5065a94723 upstream.
In spite of what the GCC manual says, the -mfast-indirect-calls has
never been supported in the 64-bit parisc compiler. Indirect calls have
always been done using function descriptors irrespective of the
-mfast-indirect-calls option.
Recently, it was noticed that a function descriptor was always requested
when the -mfast-indirect-calls option was specified. This caused
problems when the option was used in application code and doesn't make
any sense because the whole point of the option is to avoid using a
function descriptor for indirect calls.
Fixing this broke 64-bit kernel builds.
I will fix GCC but for now we need the attached change. This results in
the same kernel code as before.
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions