From fe3e8542a8f6e81f30d587da5152d170b81573f7 Mon Sep 17 00:00:00 2001 From: Adrian Bunk Date: Tue, 7 Mar 2006 23:58:36 -0800 Subject: [PATCH] --- yaml --- r: 23736 b: refs/heads/master c: 8cab77a2f851363e35089b9720373b964f64550e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/Makefile | 7 ------- trunk/init/Kconfig | 37 ------------------------------------- 3 files changed, 1 insertion(+), 45 deletions(-) diff --git a/[refs] b/[refs] index ca397915e6a4..72b9ec6b1f41 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7d1859835cd6c0afd1773d249300da82b1b868a5 +refs/heads/master: 8cab77a2f851363e35089b9720373b964f64550e diff --git a/trunk/Makefile b/trunk/Makefile index eca667b4098e..3dbaac6d521d 100644 --- a/trunk/Makefile +++ b/trunk/Makefile @@ -472,13 +472,6 @@ else CFLAGS += -O2 endif -#Add align options if CONFIG_CC_* is not equal to 0 -add-align = $(if $(filter-out 0,$($(1))),$(cc-option-align)$(2)=$($(1))) -CFLAGS += $(call add-align,CONFIG_CC_ALIGN_FUNCTIONS,-functions) -CFLAGS += $(call add-align,CONFIG_CC_ALIGN_LABELS,-labels) -CFLAGS += $(call add-align,CONFIG_CC_ALIGN_LOOPS,-loops) -CFLAGS += $(call add-align,CONFIG_CC_ALIGN_JUMPS,-jumps) - ifdef CONFIG_FRAME_POINTER CFLAGS += -fno-omit-frame-pointer $(call cc-option,-fno-optimize-sibling-calls,) else diff --git a/trunk/init/Kconfig b/trunk/init/Kconfig index 38416a199def..411600cac88c 100644 --- a/trunk/init/Kconfig +++ b/trunk/init/Kconfig @@ -354,43 +354,6 @@ config SHMEM option replaces shmem and tmpfs with the much simpler ramfs code, which may be appropriate on small systems without swap. -config CC_ALIGN_FUNCTIONS - int "Function alignment" if EMBEDDED - default 0 - help - Align the start of functions to the next power-of-two greater than n, - skipping up to n bytes. For instance, 32 aligns functions - to the next 32-byte boundary, but 24 would align to the next - 32-byte boundary only if this can be done by skipping 23 bytes or less. - Zero means use compiler's default. - -config CC_ALIGN_LABELS - int "Label alignment" if EMBEDDED - default 0 - help - Align all branch targets to a power-of-two boundary, skipping - up to n bytes like ALIGN_FUNCTIONS. This option can easily - make code slower, because it must insert dummy operations for - when the branch target is reached in the usual flow of the code. - Zero means use compiler's default. - -config CC_ALIGN_LOOPS - int "Loop alignment" if EMBEDDED - default 0 - help - Align loops to a power-of-two boundary, skipping up to n bytes. - Zero means use compiler's default. - -config CC_ALIGN_JUMPS - int "Jump alignment" if EMBEDDED - default 0 - help - Align branch targets to a power-of-two boundary, for branch - targets where the targets can only be reached by jumping, - skipping up to n bytes like ALIGN_FUNCTIONS. In this case, - no dummy operations need be executed. - Zero means use compiler's default. - config SLAB default y bool "Use full SLAB allocator" if EMBEDDED