immortalwrt/target/linux/generic/hack-5.4
Rui Salvaterra ab68a553e1 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-26 12:08:38 +08:00
..
204-module_strip.patch kernel: bump 5.4 to 5.4.129 2021-07-18 12:07:40 +08:00
210-darwin_scripts_include.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
211-darwin-uuid-typedef-clash.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
212-tools_portability.patch kernel: fix portability issue with perf on linux 5.4 2020-06-05 12:21:19 +08:00
214-spidev_h_portability.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
220-arm-gc_sections.patch kernel/generic: fix the arm gc-sections patch 2021-07-26 12:08:38 +08:00
221-module_exports.patch kernel: bump 5.4 to 5.4.132 2021-07-18 12:08:24 +08:00
230-openwrt_lzma_options.patch kernel: bump 5.4 to 5.4.63 2020-09-06 19:56:39 +08:00
249-udp-tunnel-selection.patch kernel/hack-5.4: make UDP tunneling user-selectable 2021-01-02 12:02:09 +08:00
250-netfilter_depends.patch kernel: drop the conntrack rtcache patch 2021-04-22 23:14:24 +08:00
251-sound_kconfig.patch kernel: bump 5.4 to 5.4.69 2020-10-02 13:42:49 +08:00
259-regmap_dynamic.patch kernel: bump 5.4 to 5.4.69 2020-10-02 13:42:49 +08:00
260-crypto_test_dependencies.patch kernel: 5.4: fix patches after wireguard backport 2021-02-27 12:14:16 +08:00
260-lib-arc4-unhide.patch kernel: 5.4: fix patches after wireguard backport 2021-02-27 12:14:16 +08:00
280-rfkill-stubs.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
301-mips_image_cmdline_hack.patch kernel: Activate FORTIFY_SOURCE for MIPS kernel 5.4 2021-05-01 11:12:26 +08:00
312-arm64-cpuinfo-Add-model-name-in-proc-cpuinfo-for-64bit-ta.patch generic: move arm64 model name patch to hack 2021-02-17 21:35:44 +08:00
321-powerpc_crtsavres_prereq.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
400-block-fit-partition-parser.patch kernel: fix FIT partition parser compatibility issues 2021-04-01 23:17:54 +08:00
400-unlock_mx25l6406e_with_4bit_block_protect.patch kernel-5.4: bump to 5.4.102 and refresh patches 2021-03-05 12:07:01 +08:00
531-debloat_lzma.patch kernel: remove a bunch of trailing whitespaces 2020-05-26 11:53:19 +08:00
550-loop-Report-EOPNOTSUPP-properly.patch kernel: bump 5.4 to 5.4.63 2020-09-06 19:56:39 +08:00
640-bridge-only-accept-EAP-locally.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
645-netfilter-connmark-introduce-set-dscpmark.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
647-netfilter-flow-acct.patch kernel: bump 5.4 to 5.4.67 2020-09-27 13:16:32 +08:00
650-netfilter-add-xt_OFFLOAD-target.patch kernel: drop the conntrack rtcache patch 2021-04-22 23:14:24 +08:00
651-wireless_mesh_header.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
660-fq_codel_defaults.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
661-use_fq_codel_by_default.patch kernel: bump 5.4 to 5.4.132 2021-07-18 12:08:24 +08:00
662-remove_pfifo_fast.patch kernel: bump 5.4 to 5.4.124 2021-06-06 23:39:33 +08:00
683-NET-add-mac-address-property.patch generic: add mac-address property for NVMEM mac addresses 2021-07-22 12:04:27 +08:00
700-swconfig_switch_drivers.patch kernel: remove mvsw61xx swconfig driver 2020-11-21 17:47:55 +08:00
703-add_vsc8504_support.patch kernel: bump 5.4 to 5.4.75 2020-11-12 11:14:24 +08:00
710-net-dsa-mv88e6xxx-default-VID-1.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-24 12:21:16 +08:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch kernel: DSA roaming fix for Marvell mv88e6xxx 2021-02-24 12:21:16 +08:00
721-phy_packets.patch kernel: bump 5.4 to 5.4.110 2021-04-11 23:26:59 +08:00
773-bgmac-add-srab-switch.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
780-drivers-net-mediatek-register-of_platform-for-every-.patch generic: fix mediatek and dsa not detecting mac-addr from nvmem 2021-07-24 12:08:21 +08:00
781-dsa-register-every-port-with-of_platform.patch generic: fix mediatek and dsa not detecting mac-addr from nvmem 2021-07-24 12:08:21 +08:00
901-debloat_sock_diag.patch kernel: bump 5.4 to 5.4.74 2020-11-03 11:58:08 +08:00
902-debloat_proc.patch kernel: bump 5.4 to 5.4.119 2021-05-23 23:13:20 +08:00
904-debloat_dma_buf.patch kernel: bump 5.4 to 5.4.105 2021-03-14 11:21:14 +08:00
910-kobject_uevent.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
911-kobject_add_broadcast_uevent.patch kernel: bump 5.4 to 5.4.120 2021-05-23 23:13:45 +08:00
921-always-create-console-node-in-initramfs.patch kernel: init kernel 5.4 support 2020-04-14 00:08:05 +08:00
952-net-conntrack-events-support-multiple-registrant.patch sunxi: refresh kernel patches 2021-06-20 13:12:46 +08:00
953-net-patch-linux-kernel-to-support-shortcut-fe.patch sunxi: refresh kernel patches 2021-06-20 13:12:46 +08:00
991-platform-x86-pcengines-apuv2-revert-simswitch.patch target/hack-5.4: platform/x86/pcengines: revert led simswich compromise 2020-06-27 12:28:35 +08:00
992-add-ndo-do-ioctl.patch kernel: 5.4: refresh hack patches 2021-03-03 12:25:45 +08:00
993-usb-serial-option-add-u9300.patch sunxi: refresh kernel patches 2021-06-20 13:12:46 +08:00
999-make-phylink-tristate.patch kernel: update kmod-thermal package 2021-01-16 12:09:32 +08:00