openwrt/target
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
..
imagebuilder imagebuilder: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archive 2021-05-08 12:14:00 +02:00
linux kernel/generic: fix the arm gc-sections patch 2021-07-25 13:52:34 +02:00
sdk sdk: unset BINARY_FOLDER and DOWNLOAD_FOLDER in final archives 2021-05-08 12:14:04 +02:00
toolchain target: fix copying of licenses for SDK/toolchain 2021-02-14 21:56:29 +01:00
Config.in include/image*: add support for device-tree overlays 2021-03-17 17:45:34 +00:00
Makefile