openwrt/target/linux/generic
Rui Salvaterra 023a1366ee kernel/generic: fix the arm gc-sections patch
Latest binutils (2.37) exposed a long-standing bug. The kernel linking stage
would break at the SORTTAB step, due to the exception table having been
previously purged from vmlinux, as its section wasn't marked as unconditionally
kept. Fix thusly.

Additionally, the "#define ARM_MMU_DISCARD(x) KEEP(x)" change is bogus. It
would only apply to !CONFIG_MMU devices (which we don't support in OpenWrt), and
it would even break the build if referenced. Drop it.

While at it, rename the patch in order to make it obvious that it's
arm-specific.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[Add same changes for kernel 5.4 too]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-07-25 13:52:34 +02:00
..
backport-5.4 kernel: bump 5.4 to 5.4.128 2021-06-26 12:49:15 +02:00
backport-5.10 kernel: bump 5.10 to 5.10.51 2021-07-20 04:11:05 +01:00
files kernel: make uImage.FIT partition parser work on MBR partitions 2021-07-20 04:11:05 +01:00
hack-5.4 kernel/generic: fix the arm gc-sections patch 2021-07-25 13:52:34 +02:00
hack-5.10 kernel/generic: fix the arm gc-sections patch 2021-07-25 13:52:34 +02:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-5.4 treewide: convert mtd-mac-address-increment* to generic implementation 2021-07-19 14:51:22 +02:00
pending-5.10 linux/rockchip: update the USB 3.0 controller node patch 2021-07-20 18:38:23 +01:00
config-5.4 generic: add missing symbol 2021-07-17 22:34:12 +02:00
config-5.10 generic: add missing symbol 2021-07-17 22:34:12 +02:00
config-filter kernel: generic: filter out CONFIG_PLUGIN_HOSTCC 2021-03-06 03:52:33 +00:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00