diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-06-17 15:29:19 +0300 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-06-21 00:28:52 +0300 |
commit | c5d0e49e8d8f1a23034fdf8e935afc0c8f7ae27d (patch) | |
tree | 421552414d589fdd6fe29a043fd899a09eb8ce69 /arch/parisc/kernel/inventory.c | |
parent | cd6c84d8f0cdc911df435bb075ba22ce3c605b07 (diff) | |
download | linux-c5d0e49e8d8f1a23034fdf8e935afc0c8f7ae27d.tar.xz |
ARM: 8867/1: vdso: pass --be8 to linker if necessary
The commit fe00e50b2db8 ("ARM: 8858/1: vdso: use $(LD) instead of $(CC)
to link VDSO") removed the passing of CFLAGS, since ld doesn't take
those directly. However, prior, big-endian ARM was relying on gcc to
translate its -mbe8 option into ld's --be8 option. Lacking this, ld
generated be32 code, making the VDSO generate SIGILL when called by
userspace.
This commit passes --be8 if CONFIG_CPU_ENDIAN_BE8 is enabled.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/parisc/kernel/inventory.c')
0 files changed, 0 insertions, 0 deletions