kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
authorFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jan 2013 16:26:13 +0000 (16:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 26 Jan 2013 16:26:13 +0000 (16:26 +0000)
commit8933b918cd6bce2db5a6a5a51513b62672f13069
tree6bd79c5e27a84096f2b209d0e108c9a89f88581d
parent7809d73fd2b78c65aad0a1e18b06c3a4c0c15a8d
kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips

in combination with kernel symbol export stripping this significantly reduces
the kernel image size

SVN-Revision: 35320
54 files changed:
include/kernel-build.mk
target/linux/ar71xx/patches-3.7/169-MIPS-ath79-allow-to-specify-bus-number-in-PCI-IRQ-ma.patch
target/linux/ar71xx/patches-3.7/170-MIPS-ath79-add-PCI-controller-registration-code-for-.patch
target/linux/ar71xx/patches-3.7/203-spi-ath79-use-gpio_request_one.patch
target/linux/ar71xx/patches-3.7/204-spi-ath79-avoid-multiple-initialization-of-the-SPI-c.patch
target/linux/ar71xx/patches-3.7/206-spi-ath79-make-chipselect-logic-more-flexible.patch
target/linux/ar71xx/patches-3.7/212-MIPS-ath79-fix-GPIO-function-selection-for-AR934x-So.patch
target/linux/ar71xx/patches-3.7/500-MIPS-fw-myloader.patch
target/linux/ar71xx/patches-3.7/505-MIPS-ath79-add-ath79_gpio_function_select.patch
target/linux/ar71xx/patches-3.7/521-MIPS-ath79-enable-UART-for-early_serial.patch
target/linux/ar71xx/patches-3.7/606-MIPS-ath79-pb44-fixes.patch
target/linux/ar71xx/patches-3.7/902-unaligned_access_hacks.patch
target/linux/generic/patches-3.7/220-gc_sections.patch [new file with mode: 0644]
target/linux/generic/patches-3.7/220-module_exports.patch [deleted file]
target/linux/generic/patches-3.7/221-module_exports.patch [new file with mode: 0644]
target/linux/generic/patches-3.7/230-openwrt_lzma_options.patch
target/linux/generic/patches-3.7/302-mips_no_branch_likely.patch
target/linux/generic/patches-3.7/305-mips_module_reloc.patch
target/linux/generic/patches-3.7/306-mips_mem_functions_performance.patch
target/linux/generic/patches-3.7/340-module_alloc_size_check.patch
target/linux/generic/patches-3.7/504-yaffs-Mods-for-Linux-3.0-and-fix-a-typo.patch
target/linux/generic/patches-3.7/512-yaffs-3.5-convert-to-use-kuid_t-kgid_t.patch
target/linux/generic/patches-3.7/531-debloat_lzma.patch
target/linux/generic/patches-3.7/600-netfilter_layer7_2.22.patch
target/linux/generic/patches-3.7/610-netfilter_match_bypass_default_checks.patch
target/linux/generic/patches-3.7/653-disable_netlink_trim.patch
target/linux/generic/patches-3.7/750-hostap_txpower.patch
target/linux/generic/patches-3.7/901-debloat_sock_diag.patch
target/linux/generic/patches-3.7/941-ocf_20120127.patch
target/linux/generic/patches-3.7/992-mpcore_wdt_fix_watchdog_counter_loading.patch
target/linux/generic/patches-3.8/100-overlayfs.patch
target/linux/generic/patches-3.8/102-ehci_hcd_ignore_oc.patch
target/linux/generic/patches-3.8/220-gc_sections.patch [new file with mode: 0644]
target/linux/generic/patches-3.8/220-module_exports.patch [deleted file]
target/linux/generic/patches-3.8/221-module_exports.patch [new file with mode: 0644]
target/linux/generic/patches-3.8/230-openwrt_lzma_options.patch
target/linux/generic/patches-3.8/302-mips_no_branch_likely.patch
target/linux/generic/patches-3.8/305-mips_module_reloc.patch
target/linux/generic/patches-3.8/306-mips_mem_functions_performance.patch
target/linux/generic/patches-3.8/470-mtd_m25p80_add_pm25lv_flash_support.patch
target/linux/generic/patches-3.8/476-mtd-m25p80-allow-to-disable-small-sector-erase.patch
target/linux/generic/patches-3.8/504-yaffs-Mods-for-Linux-3.0-and-fix-a-typo.patch
target/linux/generic/patches-3.8/512-yaffs-3.5-convert-to-use-kuid_t-kgid_t.patch
target/linux/generic/patches-3.8/531-debloat_lzma.patch
target/linux/generic/patches-3.8/600-netfilter_layer7_2.22.patch
target/linux/generic/patches-3.8/610-netfilter_match_bypass_default_checks.patch
target/linux/generic/patches-3.8/653-disable_netlink_trim.patch
target/linux/generic/patches-3.8/750-hostap_txpower.patch
target/linux/generic/patches-3.8/810-pci_disable_common_quirks.patch
target/linux/generic/patches-3.8/901-debloat_sock_diag.patch
target/linux/generic/patches-3.8/920-unable_to_open_console.patch
target/linux/generic/patches-3.8/941-ocf_20120127.patch
target/linux/generic/patches-3.8/950-vm_exports.patch
target/linux/generic/patches-3.8/992-mpcore_wdt_fix_watchdog_counter_loading.patch