kernel-fxtec-pro1x/arch/arm
Jason A. Donenfeld 23759ba062 ARM: 8867/1: vdso: pass --be8 to linker if necessary
[ Upstream commit c5d0e49e8d8f1a23034fdf8e935afc0c8f7ae27d ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-17 10:12:56 +02:00
..
boot ARM: 8939/1: kbuild: use correct nm executable 2020-10-17 10:12:56 +02:00
common ARM: 8847/1: pm: fix HYP/SVC mode mismatch when MCPM is used 2020-01-27 14:50:28 +01:00
configs scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled 2020-07-22 09:32:04 +02:00
crypto
firmware
include KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch 2020-10-01 13:14:54 +02:00
kernel ARM: 8948/1: Prevent OOB access in stacktrace 2020-10-01 13:14:31 +02:00
kvm
lib ARM: 8843/1: use unified assembler in headers 2020-06-03 08:19:34 +02:00
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 ARM: at91: pm: add missing put_device() call in at91_pm_sram_init() 2020-08-19 08:14:49 +02:00
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-cns3xxx
mach-davinci
mach-digicolor
mach-dove
mach-ebsa110
mach-efm32
mach-ep93xx
mach-exynos
mach-footbridge
mach-gemini
mach-highbank
mach-hisi
mach-imx ARM: imx6: add missing put_device() call in imx6q_suspend_init() 2020-07-16 08:17:23 +02:00
mach-integrator ARM: integrator: Add some Kconfig selections 2020-06-25 15:32:48 +02:00
mach-iop13xx
mach-iop32x
mach-iop33x
mach-ixp4xx
mach-keystone
mach-ks8695
mach-lpc18xx
mach-lpc32xx
mach-mediatek
mach-meson
mach-mmp
mach-moxart
mach-mv78xx0
mach-mvebu
mach-mxs
mach-netx
mach-nomadik
mach-npcm ARM: npcm: Bring back GPIOLIB support 2020-02-19 19:51:56 +01:00
mach-nspire
mach-omap1 ARM: OMAP1/2: fix SoC name printing 2019-12-13 08:52:11 +01:00
mach-omap2 hwrng: omap3-rom - Fix missing clock by probing with device tree 2020-01-27 14:51:20 +01:00
mach-orion5x
mach-oxnas
mach-picoxcell
mach-prima2
mach-pxa
mach-qcom
mach-realview
mach-rockchip
mach-rpc ARM: riscpc: fix lack of keyboard interrupts after irq conversion 2020-01-27 14:50:47 +01:00
mach-s3c24xx
mach-s3c64xx
mach-s5pv210
mach-sa1100
mach-shmobile
mach-socfpga ARM: socfpga: PM: add missing put_device() call in socfpga_setup_ocram_self_refresh() 2020-08-19 08:14:50 +02:00
mach-spear
mach-sti
mach-stm32 ARM: stm32: use "depends on" instead of "if" after prompt 2020-01-27 14:51:01 +01:00
mach-sunxi
mach-tango
mach-tegra ARM: tegra: Correct PL310 Auxiliary Control Register initialization 2020-06-22 09:05:28 +02:00
mach-u300
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress ARM: vexpress: Set-up shared OPP table instead of individual for each CPU 2020-01-12 12:17:08 +01:00
mach-vt8500
mach-w90x900
mach-zx
mach-zynq
mm ARM: 8978/1: mm: make act_mm() respect THREAD_SIZE 2020-06-22 09:05:12 +02:00
net arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0 2020-04-23 10:30:12 +02:00
nwfpe
oprofile
plat-iop
plat-omap
plat-orion
plat-pxa ARM: pxa: ssp: Fix "WARNING: invalid free of devm_ allocated data" 2020-01-27 14:50:38 +01:00
plat-samsung
plat-versatile
probes
tools
vdso ARM: 8867/1: vdso: pass --be8 to linker if necessary 2020-10-17 10:12:56 +02:00
vfp
xen
Kconfig ARM: 8951/1: Fix Kexec compilation issue. 2020-02-24 08:34:51 +01:00
Kconfig-nommu
Kconfig.debug ARM: debug: enable UART1 for socfpga Cyclone5 2019-12-13 08:52:08 +01:00
Makefile