openwrt/target/linux/generic/patches-3.8
Gabor Juhos 668e529220 generic: fix gc_sections patch
Due to the patch, essential '.data..*' sections are merged
into the '.data' section:

  --- vmlinux.good.sect   2013-02-01 23:49:16.000000000 +0100
  +++ vmlinux.bad.sect    2013-02-01 23:49:02.000000000 +0100
  @@ -1,5 +1,5 @@

  -vmlinux.good:     file format elf32-powerpc
  +vmlinux.bad:     file format elf32-powerpc

   Sections:
   Idx Name          Size      VMA       LMA       File off  Algn
  @@ -53,43 +53,35 @@
                     CONTENTS, ALLOC, LOAD, READONLY, DATA
    24 .machine.desc 00000460  c04e1000  004e1000  004f1000  2**2
                     CONTENTS, ALLOC, LOAD, DATA
  - 25 .data         0000f6a0  c04e2000  004e2000  004f2000  2**12
  + 25 .data         0001635c  c04e2000  004e2000  004f2000  2**12
                     CONTENTS, ALLOC, LOAD, DATA
  - 26 .data..init_task 00002000  c04f2000  004f2000  00502000  2**3
  -                  CONTENTS, ALLOC, LOAD, DATA
  - 27 .data..page_aligned 00002000  c04f4000  004f4000  00504000  2**12
  -                  CONTENTS, ALLOC, LOAD, DATA
  - 28 .data..cacheline_aligned 00000c00  c04f6000  004f6000  00506000
    2**5
  -                  CONTENTS, ALLOC, LOAD, DATA
  - 29 .data..read_mostly 000015e0  c04f6c00  004f6c00  00506c00  2**3
  -                  CONTENTS, ALLOC, LOAD, DATA
  - 30 .sbss         000002e0  c04f9000  004f9000  005081e0  2**3
  + 26 .sbss         000002e0  c04fa000  004fa000  0050835c  2**3
  <...>

This causes boot hang on powerpc. Modify the patch to
ensure that the kernel specific '.data..*' sections
remain separate.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35447
2013-02-02 09:30:47 +00:00
..
010-mtd_mp25p80_add_gd25q32_gd25q64.patch fix mtd_mp25p80_add_gd25q32_gd25q64.patch 2013-01-29 11:06:57 +00:00
060-hso_devices.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
061-arm_xz_decompressor_build_fix.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
062-mips_decompressor_build_fix.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
084-x86_fix_perf_uclibc_build.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
100-overlayfs.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
102-ehci_hcd_ignore_oc.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
110-fix_mtd_include.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
200-fix_localversion.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
201-extra_optimization.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
202-reduce_module_size.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
203-kallsyms_uncompressed.patch kernel: port 203-kallsyms_uncompressed.patch and 305-mips_module_reloc.patch to 3.8 2013-01-14 18:55:36 +00:00
210-darwin_scripts_include.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
212-byteshift_portability.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
220-gc_sections.patch generic: fix gc_sections patch 2013-02-02 09:30:47 +00:00
221-module_exports.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
230-openwrt_lzma_options.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
250-netfilter_depends.patch kernel: refresh 3.8 patches 2013-01-17 22:28:53 +00:00
251-sound_kconfig.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
252-mv_cesa_depends.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
253-ssb_b43_default_on.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
254-textsearch_kconfig_hacks.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
255-lib80211_kconfig_hacks.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
256-crypto_add_kconfig_prompts.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
257-wireless_ext_kconfig_hack.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
258-netfilter_netlink_kconfig_hack.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
259-regmap_dynamic.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
260-crypto_test_dependencies.patch kernel: prevent cryptomgr from pulling in useless extra dependencies for tests that are not run 2013-01-27 16:21:08 +00:00
300-mips_expose_boot_raw.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
301-mips_image_cmdline_hack.patch kernel: refresh 3.8 patches 2013-01-17 22:28:53 +00:00
302-mips_no_branch_likely.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
304-mips_disable_fpu.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
305-mips_module_reloc.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
306-mips_mem_functions_performance.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
308-mips-show-correct-cpu-name-for-24KEc.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
309-mips_fuse_workaround.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
310-arm_module_unresolved_weak_sym.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
320-ppc4xx_optimization.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
321-powerpc_crtsavres_prereq.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
322-ppc4xx-crypto-compile-fix.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
400-rootfs_split.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
401-partial_eraseblock_write.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
410-mtd_info_move_forward_decl.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
420-redboot_space.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
430-mtd_myloader_partition_parser.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
440-block2mtd_init.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
441-block2mtd_refresh.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
442-block2mtd_probe.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
450-mtd_plat_nand_chip_fixup.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
451-mtd_fix_nand_correct_data_return_code.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
460-cfi_cmdset_0002_no_erase_suspend.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
470-mtd_m25p80_add_pm25lv_flash_support.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
473-mtd_m25p80_add_w25q128.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
475-mtd_cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
476-mtd-m25p80-allow-to-disable-small-sector-erase.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
478-mtd-partial_eraseblock_unlock.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
500-yaffs-Kbuild-integration.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
501-yaffs-Fix-directory-unlinking-in-yaffs1-mode.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
502-yaffs-Switch-from-semaphores-to-mutexes.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
503-yaffs-Replace-yaffs_dir_llseek-with-Linux-generic-ll.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
504-yaffs-Mods-for-Linux-3.0-and-fix-a-typo.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
505-yaffs-3.2-use-MTD_OPS_AUTO_OOB.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
506-yaffs-3.2-dont-use-i_nlink-directly.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
507-yaffs-3.3_fix.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
508-yaffs-3.3-use-mtd_-helpers.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
509-yaffs-3.4-add-underscore-to-mtd-internal-names.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
510-yaffs-3.4-use-d_make_root.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
511-yaffs-3.5-use-clear_inode.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
512-yaffs-3.5-convert-to-use-kuid_t-kgid_t.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
513-yaffs-3.6-fix-dir_inode-ops.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
514-yaffs-3.6-use-delayed-work-instead-of-write_super.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
520-squashfs_update_xz_comp_opts.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
530-jffs2_make_lzma_available.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
531-debloat_lzma.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
532-jffs2_eofdetect.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
540-crypto-xz-decompression-support.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
541-ubifs-xz-decompression-support.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
550-ubifs-symlink-xattr-support.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
551-ubifs-fix-default-compression-selection.patch generic: fix default compression selection in ubifs 2013-01-29 21:32:22 +00:00
600-netfilter_layer7_2.22.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
601-netfilter_layer7_pktmatch.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
602-netfilter_layer7_match.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
603-netfilter_layer7_2.6.36_fix.patch kernel: refresh 3.8 patches 2013-01-17 22:28:53 +00:00
604-netfilter_conntrack_flush.patch netfilter: add support for flushing conntrack via /proc 2013-01-27 19:02:38 +00:00
610-netfilter_match_bypass_default_checks.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
611-netfilter_match_bypass_default_table.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
612-netfilter_match_reduce_memory_access.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
613-netfilter_optional_tcp_window_check.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
620-sched_esfq.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
621-sched_act_connmark.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
630-packet_socket_type.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
640-bridge_no_eap_forward.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
641-bridge_always_accept_eap.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
642-bridge_port_isolate.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
643-bridge_remove_ipv6_dependency.patch kernel: refresh 3.8 patches 2013-01-24 17:04:52 +00:00
644-bridge_optimize_netfilter_hooks.patch kernel: refresh 3.8 patches 2013-01-17 22:28:53 +00:00
650-pppoe_header_pad.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
651-wireless_mesh_header.patch kernel: refresh 3.8 patches 2013-01-24 17:04:52 +00:00
652-atm_header_changes.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
653-disable_netlink_trim.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
655-increase_skb_pad.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
700-swconfig.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
701-phy_extension.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
702-phy_add_aneg_done_function.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
710-phy-add-mdio_register_board_info.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
720-phy_adm6996.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
721-phy_packets.patch kernel: refresh 3.8 patches 2013-01-24 17:04:52 +00:00
722-phy_mvswitch.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
723-phy_ip175c.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
724-phy_ar8216.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
725-phy_rtl8306.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
726-phy_rtl8366.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
727-phy-rtl8367.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
728-phy-micrel.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
729-phy-rtl8367b.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
729-phy-tantos.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
730-phy_b53.patch generic: add b53 swconfig switch driver 2013-01-23 10:12:33 +00:00
750-hostap_txpower.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
800-usb-ohci-multiple-platform-driver-fix.patch generic: add EHCI|OHCI platform driver fix from the cns21xx target 2013-01-14 17:47:23 +00:00
810-pci_disable_common_quirks.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
811-pci_disable_usb_common_quirks.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
820-usb_add_usb_find_device_by_name.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
830-ledtrig_morse.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
831-ledtrig_netdev.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
832-ledtrig_usbdev.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
840-rtc7301.patch kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
841-rtc_pt7c4338.patch kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
850-glamo_headers.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
861-04_spi_gpio_implement_spi_delay.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
862-gpio_spi_driver.patch kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
863-gpiommc.patch kernel: refresh 3.8 patches 2013-01-24 17:04:52 +00:00
864-gpiommc_configfs_locking.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
865-gpiopwm.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
870-hifn795x_byteswap.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
880-gateworks_system_controller.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
900-slab_maxsize.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
901-debloat_sock_diag.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
902-debloat_proc.patch kernel: refresh 3.8 patches 2013-01-17 22:28:53 +00:00
903-debloat_direct_io.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
910-kobject_uevent.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
911-kobject_add_broadcast_uevent.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
920-unable_to_open_console.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
921-use_preinit_as_init.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
930-crashlog.patch kernel: refresh 3.8 patches 2013-01-24 17:04:52 +00:00
940-ocf_kbuild_integration.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
941-ocf_20120127.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
950-vm_exports.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
960-decompress_unlzo_fix.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
970-remove-unsane-filenames-from-deps_initramfs-list.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
980-arm_openwrt_machtypes.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
992-mpcore_wdt_fix_watchdog_counter_loading.patch kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips 2013-01-26 16:26:13 +00:00
993-mpcore_wdt_fix_wdioc_setoptions_handling.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00
994-mpcore_wdt_fix_timer_mode_setup.patch kernel: add support for 3.8-rc2 2013-01-08 22:19:31 +00:00