diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2021-07-23 13:34:49 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2021-07-25 13:52:34 +0200 |
commit | 023a1366ee8138a8adbf3044814c1855c5677bb1 (patch) | |
tree | 6285f747f82c5e32cde8f658e53f5c1e64153820 /target/linux/generic/pending-5.4/739-net-avoid-tx-fault-with-Nokia-GPON-module.patch | |
parent | 2801fe6132c4e2e364e2d5a304594185351b501b (diff) | |
download | upstream-023a1366ee8138a8adbf3044814c1855c5677bb1.tar.gz upstream-023a1366ee8138a8adbf3044814c1855c5677bb1.tar.bz2 upstream-023a1366ee8138a8adbf3044814c1855c5677bb1.zip |
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>
Diffstat (limited to 'target/linux/generic/pending-5.4/739-net-avoid-tx-fault-with-Nokia-GPON-module.patch')
0 files changed, 0 insertions, 0 deletions