Changeset 35938


Ignore:
Timestamp:
2013-03-10T18:04:36+01:00 (5 years ago)
Author:
nbd
Message:

kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/generic/patches-3.8/220-gc_sections.patch

    r35937 r35938  
    472472        } 
    473473        .init.data : { 
     474--- a/arch/arm/boot/compressed/Makefile 
     475+++ b/arch/arm/boot/compressed/Makefile 
     476@@ -119,6 +119,7 @@ ifeq ($(CONFIG_FUNCTION_TRACER),y) 
     477 ORIG_CFLAGS := $(KBUILD_CFLAGS) 
     478 KBUILD_CFLAGS = $(subst -pg, , $(ORIG_CFLAGS)) 
     479 endif 
     480+KBUILD_CFLAGS_KERNEL := $(patsubst -f%-sections,,$(KBUILD_CFLAGS_KERNEL)) 
     481  
     482 ccflags-y := -fpic -fno-builtin -I$(obj) 
     483 asflags-y := -Wa,-march=all -DZIMAGE 
Note: See TracChangeset for help on using the changeset viewer.