* [PATCH 01/24] Rename .data.cacheline_aligned to .data..cacheline_aligned.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 02/24] Rename .data.init_task to .data..init_task Denys Vlasenko
` (25 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Sam Ravnborg, Denys Vlasenko
From: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/powerpc/kernel/vmlinux.lds.S | 2 +-
arch/x86/kernel/init_task.c | 2 +-
include/asm-generic/vmlinux.lds.h | 2 +-
include/linux/cache.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index dcd01c8..3229c06 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -231,7 +231,7 @@ SECTIONS
PAGE_ALIGNED_DATA(PAGE_SIZE)
}
- .data.cacheline_aligned : AT(ADDR(.data.cacheline_aligned) - LOAD_OFFSET) {
+ .data..cacheline_aligned : AT(ADDR(.data..cacheline_aligned) - LOAD_OFFSET) {
CACHELINE_ALIGNED_DATA(L1_CACHE_BYTES)
}
diff --git a/arch/x86/kernel/init_task.c b/arch/x86/kernel/init_task.c
index 3a54dcb..43e9ccf 100644
--- a/arch/x86/kernel/init_task.c
+++ b/arch/x86/kernel/init_task.c
@@ -34,7 +34,7 @@ EXPORT_SYMBOL(init_task);
/*
* per-CPU TSS segments. Threads are completely 'soft' on Linux,
* no more per-task TSS's. The TSS size is kept cacheline-aligned
- * so they are allowed to end up in the .data.cacheline_aligned
+ * so they are allowed to end up in the .data..cacheline_aligned
* section. Since TSS's are completely CPU-local, we want them
* on exact cacheline boundaries, to eliminate cacheline ping-pong.
*/
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 67e6520..78450aa 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -189,7 +189,7 @@
#define CACHELINE_ALIGNED_DATA(align) \
. = ALIGN(align); \
- *(.data.cacheline_aligned)
+ *(.data..cacheline_aligned)
#define INIT_TASK_DATA(align) \
. = ALIGN(align); \
diff --git a/include/linux/cache.h b/include/linux/cache.h
index 97e2488..4c57065 100644
--- a/include/linux/cache.h
+++ b/include/linux/cache.h
@@ -31,7 +31,7 @@
#ifndef __cacheline_aligned
#define __cacheline_aligned \
__attribute__((__aligned__(SMP_CACHE_BYTES), \
- __section__(".data.cacheline_aligned")))
+ __section__(".data..cacheline_aligned")))
#endif /* __cacheline_aligned */
#ifndef __cacheline_aligned_in_smp
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 02/24] Rename .data.init_task to .data..init_task.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
2010-02-20 0:03 ` [PATCH 01/24] Rename .data.cacheline_aligned to .data..cacheline_aligned Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 03/24] powerpc: remove unused __page_aligned definition Denys Vlasenko
` (24 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Sam Ravnborg, Denys Vlasenko
From: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/ia64/kernel/init_task.c | 2 +-
arch/powerpc/kernel/vmlinux.lds.S | 4 +---
include/asm-generic/vmlinux.lds.h | 4 ++--
include/linux/init_task.h | 2 +-
4 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/arch/ia64/kernel/init_task.c b/arch/ia64/kernel/init_task.c
index e253ab8..f9efe97 100644
--- a/arch/ia64/kernel/init_task.c
+++ b/arch/ia64/kernel/init_task.c
@@ -23,7 +23,7 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
* Initial task structure.
*
* We need to make sure that this is properly aligned due to the way process stacks are
- * handled. This is done by having a special ".data.init_task" section...
+ * handled. This is done by having a special ".data..init_task" section...
*/
#define init_thread_info init_task_mem.s.thread_info
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index 3229c06..136dcf3 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -223,9 +223,7 @@ SECTIONS
#endif
/* The initial task and kernel stack */
- .data.init_task : AT(ADDR(.data.init_task) - LOAD_OFFSET) {
- INIT_TASK_DATA(THREAD_SIZE)
- }
+ INIT_TASK_DATA_SECTION(THREAD_SIZE)
.data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET) {
PAGE_ALIGNED_DATA(PAGE_SIZE)
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 78450aa..9cb9a90 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -193,7 +193,7 @@
#define INIT_TASK_DATA(align) \
. = ALIGN(align); \
- *(.data.init_task)
+ *(.data..init_task)
/*
* Read only Data
@@ -435,7 +435,7 @@
*/
#define INIT_TASK_DATA_SECTION(align) \
. = ALIGN(align); \
- .data.init_task : { \
+ .data..init_task : { \
INIT_TASK_DATA(align) \
}
diff --git a/include/linux/init_task.h b/include/linux/init_task.h
index abec69b..f00253b 100644
--- a/include/linux/init_task.h
+++ b/include/linux/init_task.h
@@ -191,7 +191,7 @@ extern struct cred init_cred;
}
/* Attach to the init_task data structure for proper alignment */
-#define __init_task_data __attribute__((__section__(".data.init_task")))
+#define __init_task_data __attribute__((__section__(".data..init_task")))
#endif
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 03/24] powerpc: remove unused __page_aligned definition.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
2010-02-20 0:03 ` [PATCH 01/24] Rename .data.cacheline_aligned to .data..cacheline_aligned Denys Vlasenko
2010-02-20 0:03 ` [PATCH 02/24] Rename .data.init_task to .data..init_task Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 04/24] Rename .data.page_aligned to .data..page_aligned Denys Vlasenko
` (23 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Benjamin Herrenschmidt, Paul Mackerras,
Sam Ravnborg, Denys Vlasenko
From: Tim Abbott <tabbott@ksplice.com>
There is already an architecture-independent __page_aligned_data macro
for this purpose, so removing the powerpc-specific macro should be
harmless.
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/powerpc/include/asm/page_64.h | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/arch/powerpc/include/asm/page_64.h b/arch/powerpc/include/asm/page_64.h
index bfc4e02..358ff14 100644
--- a/arch/powerpc/include/asm/page_64.h
+++ b/arch/powerpc/include/asm/page_64.h
@@ -162,14 +162,6 @@ do { \
#endif /* !CONFIG_HUGETLB_PAGE */
-#ifdef MODULE
-#define __page_aligned __attribute__((__aligned__(PAGE_SIZE)))
-#else
-#define __page_aligned \
- __attribute__((__aligned__(PAGE_SIZE), \
- __section__(".data.page_aligned")))
-#endif
-
#define VM_DATA_DEFAULT_FLAGS \
(test_thread_flag(TIF_32BIT) ? \
VM_DATA_DEFAULT_FLAGS32 : VM_DATA_DEFAULT_FLAGS64)
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 04/24] Rename .data.page_aligned to .data..page_aligned.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (2 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 03/24] powerpc: remove unused __page_aligned definition Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 05/24] Rename .bss.page_aligned to .bss..page_aligned Denys Vlasenko
` (22 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Sam Ravnborg, Denys Vlasenko
From: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/ia64/kernel/vmlinux.lds.S | 2 +-
arch/powerpc/kernel/vmlinux.lds.S | 2 +-
include/asm-generic/vmlinux.lds.h | 2 +-
include/linux/linkage.h | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S
index 1295ba3..7fb1198 100644
--- a/arch/ia64/kernel/vmlinux.lds.S
+++ b/arch/ia64/kernel/vmlinux.lds.S
@@ -175,7 +175,7 @@ SECTIONS
. = ALIGN(PAGE_SIZE);
__init_end = .;
- .data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET)
+ .data..page_aligned : AT(ADDR(.data..page_aligned) - LOAD_OFFSET)
{
PAGE_ALIGNED_DATA(PAGE_SIZE)
. = ALIGN(PAGE_SIZE);
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index 136dcf3..951e6c5 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -225,7 +225,7 @@ SECTIONS
/* The initial task and kernel stack */
INIT_TASK_DATA_SECTION(THREAD_SIZE)
- .data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET) {
+ .data..page_aligned : AT(ADDR(.data..page_aligned) - LOAD_OFFSET) {
PAGE_ALIGNED_DATA(PAGE_SIZE)
}
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 9cb9a90..569c25a 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -181,7 +181,7 @@
#define PAGE_ALIGNED_DATA(page_align) \
. = ALIGN(page_align); \
- *(.data.page_aligned)
+ *(.data..page_aligned)
#define READ_MOSTLY_DATA(align) \
. = ALIGN(align); \
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 5126cce..05f4406 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -18,7 +18,7 @@
# define asmregparm
#endif
-#define __page_aligned_data __section(.data.page_aligned) __aligned(PAGE_SIZE)
+#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
#define __page_aligned_bss __section(.bss.page_aligned) __aligned(PAGE_SIZE)
/*
@@ -27,7 +27,7 @@
* Note when using these that you must specify the appropriate
* alignment directives yourself
*/
-#define __PAGE_ALIGNED_DATA .section ".data.page_aligned", "aw"
+#define __PAGE_ALIGNED_DATA .section ".data..page_aligned", "aw"
#define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw"
/*
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 05/24] Rename .bss.page_aligned to .bss..page_aligned.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (3 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 04/24] Rename .data.page_aligned to .data..page_aligned Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 06/24] Rename .bss.stack to .bss..stack Denys Vlasenko
` (21 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Sam Ravnborg, Denys Vlasenko
From: Tim Abbott <tabbott@ksplice.com>
Signed-off-by: Tim Abbott <tabbott@ksplice.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/x86/kernel/vmlinux.lds.S | 2 +-
include/asm-generic/vmlinux.lds.h | 2 +-
include/linux/linkage.h | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index f92a0da..8b6bb4e 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -305,7 +305,7 @@ SECTIONS
. = ALIGN(PAGE_SIZE);
.bss : AT(ADDR(.bss) - LOAD_OFFSET) {
__bss_start = .;
- *(.bss.page_aligned)
+ *(.bss..page_aligned)
*(.bss)
. = ALIGN(4);
__bss_stop = .;
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 569c25a..32cddc1 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -499,7 +499,7 @@
#define BSS(bss_align) \
. = ALIGN(bss_align); \
.bss : AT(ADDR(.bss) - LOAD_OFFSET) { \
- *(.bss.page_aligned) \
+ *(.bss..page_aligned) \
*(.dynbss) \
*(.bss) \
*(COMMON) \
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 05f4406..7135ebc 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -19,7 +19,7 @@
#endif
#define __page_aligned_data __section(.data..page_aligned) __aligned(PAGE_SIZE)
-#define __page_aligned_bss __section(.bss.page_aligned) __aligned(PAGE_SIZE)
+#define __page_aligned_bss __section(.bss..page_aligned) __aligned(PAGE_SIZE)
/*
* For assembly routines.
@@ -28,7 +28,7 @@
* alignment directives yourself
*/
#define __PAGE_ALIGNED_DATA .section ".data..page_aligned", "aw"
-#define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw"
+#define __PAGE_ALIGNED_BSS .section ".bss..page_aligned", "aw"
/*
* This is used by architectures to keep arguments on the stack
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 06/24] Rename .bss.stack to .bss..stack.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (4 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 05/24] Rename .bss.page_aligned to .bss..page_aligned Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 07/24] Rename .data.gate to .data..gate Denys Vlasenko
` (20 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/frv/kernel/break.S | 2 +-
arch/frv/kernel/vmlinux.lds.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/frv/kernel/break.S b/arch/frv/kernel/break.S
index bd0bdf9..c5388b7 100644
--- a/arch/frv/kernel/break.S
+++ b/arch/frv/kernel/break.S
@@ -21,7 +21,7 @@
#
# the break handler has its own stack
#
- .section .bss.stack
+ .section .bss..stack
.globl __break_user_context
.balign THREAD_SIZE
__break_stack:
diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S
index cbe811f..472eb8c 100644
--- a/arch/frv/kernel/vmlinux.lds.S
+++ b/arch/frv/kernel/vmlinux.lds.S
@@ -114,7 +114,7 @@ SECTIONS
.sbss : { *(.sbss .sbss.*) }
.bss : { *(.bss .bss.*) }
- .bss.stack : { *(.bss) }
+ .bss..stack : { *(.bss) }
__bss_stop = .;
_end = . ;
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 07/24] Rename .data.gate to .data..gate.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (5 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 06/24] Rename .bss.stack to .bss..stack Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 08/24] Rename .data.init_irqstack to .data..init_irqstack Denys Vlasenko
` (19 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/ia64/kernel/Makefile.gate | 2 +-
arch/ia64/kernel/gate-data.S | 2 +-
arch/ia64/kernel/vmlinux.lds.S | 4 ++--
arch/ia64/xen/gate-data.S | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/ia64/kernel/Makefile.gate b/arch/ia64/kernel/Makefile.gate
index ab9b03a..ceeffc5 100644
--- a/arch/ia64/kernel/Makefile.gate
+++ b/arch/ia64/kernel/Makefile.gate
@@ -21,7 +21,7 @@ GATECFLAGS_gate-syms.o = -r
$(obj)/gate-syms.o: $(obj)/gate.lds $(obj)/gate.o FORCE
$(call if_changed,gate)
-# gate-data.o contains the gate DSO image as data in section .data.gate.
+# gate-data.o contains the gate DSO image as data in section .data..gate.
# We must build gate.so before we can assemble it.
# Note: kbuild does not track this dependency due to usage of .incbin
$(obj)/gate-data.o: $(obj)/gate.so
diff --git a/arch/ia64/kernel/gate-data.S b/arch/ia64/kernel/gate-data.S
index 258c0a3..b3ef1c7 100644
--- a/arch/ia64/kernel/gate-data.S
+++ b/arch/ia64/kernel/gate-data.S
@@ -1,3 +1,3 @@
- .section .data.gate, "aw"
+ .section .data..gate, "aw"
.incbin "arch/ia64/kernel/gate.so"
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S
index 7fb1198..3e33809 100644
--- a/arch/ia64/kernel/vmlinux.lds.S
+++ b/arch/ia64/kernel/vmlinux.lds.S
@@ -180,12 +180,12 @@ SECTIONS
PAGE_ALIGNED_DATA(PAGE_SIZE)
. = ALIGN(PAGE_SIZE);
__start_gate_section = .;
- *(.data.gate)
+ *(.data..gate)
__stop_gate_section = .;
#ifdef CONFIG_XEN
. = ALIGN(PAGE_SIZE);
__xen_start_gate_section = .;
- *(.data.gate.xen)
+ *(.data..gate.xen)
__xen_stop_gate_section = .;
#endif
}
diff --git a/arch/ia64/xen/gate-data.S b/arch/ia64/xen/gate-data.S
index 7d4830a..6f95b6b 100644
--- a/arch/ia64/xen/gate-data.S
+++ b/arch/ia64/xen/gate-data.S
@@ -1,3 +1,3 @@
- .section .data.gate.xen, "aw"
+ .section .data..gate.xen, "aw"
.incbin "arch/ia64/xen/gate.so"
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 08/24] Rename .data.init_irqstack to .data..init_irqstack.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (6 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 07/24] Rename .data.gate to .data..gate Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 11/24] Rename .data.read_mostly to .data..read_mostly Denys Vlasenko
` (18 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/um/kernel/dyn.lds.S | 2 +-
arch/um/kernel/init_task.c | 2 +-
arch/um/kernel/uml.lds.S | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/um/kernel/dyn.lds.S b/arch/um/kernel/dyn.lds.S
index 7fcad58..6926801 100644
--- a/arch/um/kernel/dyn.lds.S
+++ b/arch/um/kernel/dyn.lds.S
@@ -94,7 +94,7 @@ SECTIONS
.data : {
INIT_TASK_DATA(KERNEL_STACK_SIZE)
. = ALIGN(KERNEL_STACK_SIZE);
- *(.data.init_irqstack)
+ *(.data..init_irqstack)
DATA_DATA
*(.data.* .gnu.linkonce.d.*)
SORT(CONSTRUCTORS)
diff --git a/arch/um/kernel/init_task.c b/arch/um/kernel/init_task.c
index 8aa77b6..ddc9698 100644
--- a/arch/um/kernel/init_task.c
+++ b/arch/um/kernel/init_task.c
@@ -34,5 +34,5 @@ union thread_union init_thread_union __init_task_data =
{ INIT_THREAD_INFO(init_task) };
union thread_union cpu0_irqstack
- __attribute__((__section__(".data.init_irqstack"))) =
+ __attribute__((__section__(".data..init_irqstack"))) =
{ INIT_THREAD_INFO(init_task) };
diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S
index e7a6cca..ec63785 100644
--- a/arch/um/kernel/uml.lds.S
+++ b/arch/um/kernel/uml.lds.S
@@ -50,7 +50,7 @@ SECTIONS
{
INIT_TASK_DATA(KERNEL_STACK_SIZE)
. = ALIGN(KERNEL_STACK_SIZE);
- *(.data.init_irqstack)
+ *(.data..init_irqstack)
DATA_DATA
*(.gnu.linkonce.d*)
CONSTRUCTORS
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 11/24] Rename .data.read_mostly to .data..read_mostly.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (7 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 08/24] Rename .data.init_irqstack to .data..init_irqstack Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 13/24] Rename .rodata.compressed to .rodata..compressed Denys Vlasenko
` (17 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/ia64/include/asm/cache.h | 2 +-
arch/ia64/kernel/paravirtentry.S | 2 +-
arch/ia64/xen/xensetup.S | 2 +-
arch/parisc/include/asm/cache.h | 2 +-
arch/parisc/kernel/head.S | 2 +-
arch/powerpc/include/asm/cache.h | 2 +-
arch/powerpc/kernel/vmlinux.lds.S | 2 +-
arch/s390/include/asm/cache.h | 2 +-
arch/sh/include/asm/cache.h | 2 +-
arch/sparc/include/asm/cache.h | 2 +-
arch/x86/include/asm/cache.h | 2 +-
include/asm-generic/vmlinux.lds.h | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/arch/ia64/include/asm/cache.h b/arch/ia64/include/asm/cache.h
index e7482bd..988254a 100644
--- a/arch/ia64/include/asm/cache.h
+++ b/arch/ia64/include/asm/cache.h
@@ -24,6 +24,6 @@
# define SMP_CACHE_BYTES (1 << 3)
#endif
-#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+#define __read_mostly __attribute__((__section__(".data..read_mostly")))
#endif /* _ASM_IA64_CACHE_H */
diff --git a/arch/ia64/kernel/paravirtentry.S b/arch/ia64/kernel/paravirtentry.S
index 6158560..92d880c 100644
--- a/arch/ia64/kernel/paravirtentry.S
+++ b/arch/ia64/kernel/paravirtentry.S
@@ -28,7 +28,7 @@
#include "entry.h"
#define DATA8(sym, init_value) \
- .pushsection .data.read_mostly ; \
+ .pushsection .data..read_mostly ; \
.align 8 ; \
.global sym ; \
sym: ; \
diff --git a/arch/ia64/xen/xensetup.S b/arch/ia64/xen/xensetup.S
index aff8346..b820ed0 100644
--- a/arch/ia64/xen/xensetup.S
+++ b/arch/ia64/xen/xensetup.S
@@ -14,7 +14,7 @@
#include <linux/init.h>
#include <xen/interface/elfnote.h>
- .section .data.read_mostly
+ .section .data..read_mostly
.align 8
.global xen_domain_type
xen_domain_type:
diff --git a/arch/parisc/include/asm/cache.h b/arch/parisc/include/asm/cache.h
index 32c2cca..45effe6 100644
--- a/arch/parisc/include/asm/cache.h
+++ b/arch/parisc/include/asm/cache.h
@@ -28,7 +28,7 @@
#define SMP_CACHE_BYTES L1_CACHE_BYTES
-#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+#define __read_mostly __attribute__((__section__(".data..read_mostly")))
void parisc_cache_init(void); /* initializes cache-flushing */
void disable_sr_hashing_asm(int); /* low level support for above */
diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S
index 0e3d9f9..4dbdf0e 100644
--- a/arch/parisc/kernel/head.S
+++ b/arch/parisc/kernel/head.S
@@ -345,7 +345,7 @@ smp_slave_stext:
ENDPROC(stext)
#ifndef CONFIG_64BIT
- .section .data.read_mostly
+ .section .data..read_mostly
.align 4
.export $global$,data
diff --git a/arch/powerpc/include/asm/cache.h b/arch/powerpc/include/asm/cache.h
index 81de6eb..3f41ab9 100644
--- a/arch/powerpc/include/asm/cache.h
+++ b/arch/powerpc/include/asm/cache.h
@@ -38,7 +38,7 @@ extern struct ppc64_caches ppc64_caches;
#endif /* __powerpc64__ && ! __ASSEMBLY__ */
#if !defined(__ASSEMBLY__)
-#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+#define __read_mostly __attribute__((__section__(".data..read_mostly")))
#endif
#endif /* __KERNEL__ */
diff --git a/arch/powerpc/kernel/vmlinux.lds.S b/arch/powerpc/kernel/vmlinux.lds.S
index 951e6c5..8a0deef 100644
--- a/arch/powerpc/kernel/vmlinux.lds.S
+++ b/arch/powerpc/kernel/vmlinux.lds.S
@@ -233,7 +233,7 @@ SECTIONS
CACHELINE_ALIGNED_DATA(L1_CACHE_BYTES)
}
- .data.read_mostly : AT(ADDR(.data.read_mostly) - LOAD_OFFSET) {
+ .data..read_mostly : AT(ADDR(.data..read_mostly) - LOAD_OFFSET) {
READ_MOSTLY_DATA(L1_CACHE_BYTES)
}
diff --git a/arch/s390/include/asm/cache.h b/arch/s390/include/asm/cache.h
index 9b86681..24aafa6 100644
--- a/arch/s390/include/asm/cache.h
+++ b/arch/s390/include/asm/cache.h
@@ -14,6 +14,6 @@
#define L1_CACHE_BYTES 256
#define L1_CACHE_SHIFT 8
-#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+#define __read_mostly __attribute__((__section__(".data..read_mostly")))
#endif
diff --git a/arch/sh/include/asm/cache.h b/arch/sh/include/asm/cache.h
index 02df18e..455a9a9 100644
--- a/arch/sh/include/asm/cache.h
+++ b/arch/sh/include/asm/cache.h
@@ -14,7 +14,7 @@
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
-#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+#define __read_mostly __attribute__((__section__(".data..read_mostly")))
#ifndef __ASSEMBLY__
struct cache_info {
diff --git a/arch/sparc/include/asm/cache.h b/arch/sparc/include/asm/cache.h
index 41f85ae..2909f0a 100644
--- a/arch/sparc/include/asm/cache.h
+++ b/arch/sparc/include/asm/cache.h
@@ -19,7 +19,7 @@
#define SMP_CACHE_BYTES (1 << SMP_CACHE_BYTES_SHIFT)
-#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+#define __read_mostly __attribute__((__section__(".data..read_mostly")))
#ifdef CONFIG_SPARC32
#include <asm/asi.h>
diff --git a/arch/x86/include/asm/cache.h b/arch/x86/include/asm/cache.h
index 2f9047c..48f99f1 100644
--- a/arch/x86/include/asm/cache.h
+++ b/arch/x86/include/asm/cache.h
@@ -7,7 +7,7 @@
#define L1_CACHE_SHIFT (CONFIG_X86_L1_CACHE_SHIFT)
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
-#define __read_mostly __attribute__((__section__(".data.read_mostly")))
+#define __read_mostly __attribute__((__section__(".data..read_mostly")))
#define INTERNODE_CACHE_SHIFT CONFIG_X86_INTERNODE_CACHE_SHIFT
#define INTERNODE_CACHE_BYTES (1 << INTERNODE_CACHE_SHIFT)
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index e304fcd..6f6da4f 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -185,7 +185,7 @@
#define READ_MOSTLY_DATA(align) \
. = ALIGN(align); \
- *(.data.read_mostly)
+ *(.data..read_mostly)
#define CACHELINE_ALIGNED_DATA(align) \
. = ALIGN(align); \
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 13/24] Rename .rodata.compressed to .rodata..compressed.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (8 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 11/24] Rename .data.read_mostly to .data..read_mostly Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 14/24] Rename .text.ivt to .text..ivt Denys Vlasenko
` (16 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/sh/boot/compressed/vmlinux.scr | 2 +-
arch/x86/boot/compressed/mkpiggy.c | 2 +-
arch/x86/boot/compressed/vmlinux.lds.S | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/sh/boot/compressed/vmlinux.scr b/arch/sh/boot/compressed/vmlinux.scr
index f02382a..862d748 100644
--- a/arch/sh/boot/compressed/vmlinux.scr
+++ b/arch/sh/boot/compressed/vmlinux.scr
@@ -1,6 +1,6 @@
SECTIONS
{
- .rodata.compressed : {
+ .rodata..compressed : {
input_len = .;
LONG(input_data_end - input_data) input_data = .;
*(.data)
diff --git a/arch/x86/boot/compressed/mkpiggy.c b/arch/x86/boot/compressed/mkpiggy.c
index bcbd36c..5c22812 100644
--- a/arch/x86/boot/compressed/mkpiggy.c
+++ b/arch/x86/boot/compressed/mkpiggy.c
@@ -77,7 +77,7 @@ int main(int argc, char *argv[])
offs += 32*1024 + 18; /* Add 32K + 18 bytes slack */
offs = (offs+4095) & ~4095; /* Round to a 4K boundary */
- printf(".section \".rodata.compressed\",\"a\",@progbits\n");
+ printf(".section \".rodata..compressed\",\"a\",@progbits\n");
printf(".globl z_input_len\n");
printf("z_input_len = %lu\n", ilen);
printf(".globl z_output_len\n");
diff --git a/arch/x86/boot/compressed/vmlinux.lds.S b/arch/x86/boot/compressed/vmlinux.lds.S
index a6f1a59..5ddabce 100644
--- a/arch/x86/boot/compressed/vmlinux.lds.S
+++ b/arch/x86/boot/compressed/vmlinux.lds.S
@@ -26,8 +26,8 @@ SECTIONS
HEAD_TEXT
_ehead = . ;
}
- .rodata.compressed : {
- *(.rodata.compressed)
+ .rodata..compressed : {
+ *(.rodata..compressed)
}
.text : {
_text = .; /* Text */
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 14/24] Rename .text.ivt to .text..ivt.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (9 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 13/24] Rename .rodata.compressed to .rodata..compressed Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 15/24] Rename .text.lock to .text..lock Denys Vlasenko
` (15 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/ia64/kernel/ivt.S | 2 +-
arch/ia64/kernel/vmlinux.lds.S | 2 +-
arch/ia64/kvm/vmm_ivt.S | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/ia64/kernel/ivt.S b/arch/ia64/kernel/ivt.S
index ec9a5fd..0c14512 100644
--- a/arch/ia64/kernel/ivt.S
+++ b/arch/ia64/kernel/ivt.S
@@ -83,7 +83,7 @@
mov r19=n;; /* prepare to save predicates */ \
br.sptk.many dispatch_to_fault_handler
- .section .text.ivt,"ax"
+ .section .text..ivt,"ax"
.align 32768 // align on 32KB boundary
.global ia64_ivt
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S
index b943eff..5c01d3c 100644
--- a/arch/ia64/kernel/vmlinux.lds.S
+++ b/arch/ia64/kernel/vmlinux.lds.S
@@ -8,7 +8,7 @@
#define IVT_TEXT \
VMLINUX_SYMBOL(__start_ivt_text) = .; \
- *(.text.ivt) \
+ *(.text..ivt) \
VMLINUX_SYMBOL(__end_ivt_text) = .;
OUTPUT_FORMAT("elf64-ia64-little")
diff --git a/arch/ia64/kvm/vmm_ivt.S b/arch/ia64/kvm/vmm_ivt.S
index 40920c6..2401848 100644
--- a/arch/ia64/kvm/vmm_ivt.S
+++ b/arch/ia64/kvm/vmm_ivt.S
@@ -104,7 +104,7 @@ GLOBAL_ENTRY(kvm_vmm_panic)
br.call.sptk.many b6=vmm_panic_handler;
END(kvm_vmm_panic)
- .section .text.ivt,"ax"
+ .section .text..ivt,"ax"
.align 32768 // align on 32KB boundary
.global kvm_ia64_ivt
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 15/24] Rename .text.lock to .text..lock.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (10 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 14/24] Rename .text.ivt to .text..ivt Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 16/24] Rename .text.page_aligned to .text..page_aligned Denys Vlasenko
` (14 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
Documentation/mutex-design.txt | 4 ++--
arch/ia64/kernel/vmlinux.lds.S | 4 ++--
arch/m68knommu/kernel/vmlinux.lds.S | 2 +-
include/linux/spinlock.h | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Documentation/mutex-design.txt b/Documentation/mutex-design.txt
index aa60d1f..c91ccc0 100644
--- a/Documentation/mutex-design.txt
+++ b/Documentation/mutex-design.txt
@@ -66,14 +66,14 @@ of advantages of mutexes:
c0377ccb <mutex_lock>:
c0377ccb: f0 ff 08 lock decl (%eax)
- c0377cce: 78 0e js c0377cde <.text.lock.mutex>
+ c0377cce: 78 0e js c0377cde <.text..lock.mutex>
c0377cd0: c3 ret
the unlocking fastpath is equally tight:
c0377cd1 <mutex_unlock>:
c0377cd1: f0 ff 00 lock incl (%eax)
- c0377cd4: 7e 0f jle c0377ce5 <.text.lock.mutex+0x7>
+ c0377cd4: 7e 0f jle c0377ce5 <.text..lock.mutex+0x7>
c0377cd6: c3 ret
- 'struct mutex' semantics are well-defined and are enforced if
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S
index 5c01d3c..e07218a 100644
--- a/arch/ia64/kernel/vmlinux.lds.S
+++ b/arch/ia64/kernel/vmlinux.lds.S
@@ -54,8 +54,8 @@ SECTIONS
.text2 : AT(ADDR(.text2) - LOAD_OFFSET)
{ *(.text2) }
#ifdef CONFIG_SMP
- .text.lock : AT(ADDR(.text.lock) - LOAD_OFFSET)
- { *(.text.lock) }
+ .text..lock : AT(ADDR(.text..lock) - LOAD_OFFSET)
+ { *(.text..lock) }
#endif
_etext = .;
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S
index 9f1784f..fd3df56 100644
--- a/arch/m68knommu/kernel/vmlinux.lds.S
+++ b/arch/m68knommu/kernel/vmlinux.lds.S
@@ -68,7 +68,7 @@ SECTIONS {
TEXT_TEXT
SCHED_TEXT
LOCK_TEXT
- *(.text.lock)
+ *(.text..lock)
. = ALIGN(16); /* Exception table */
__start___ex_table = .;
diff --git a/include/linux/spinlock.h b/include/linux/spinlock.h
index 8608821..dd57af4 100644
--- a/include/linux/spinlock.h
+++ b/include/linux/spinlock.h
@@ -60,7 +60,7 @@
/*
* Must define these before including other files, inline functions need them
*/
-#define LOCK_SECTION_NAME ".text.lock."KBUILD_BASENAME
+#define LOCK_SECTION_NAME ".text..lock."KBUILD_BASENAME
#define LOCK_SECTION_START(extra) \
".subsection 1\n\t" \
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 16/24] Rename .text.page_aligned to .text..page_aligned.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (11 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 15/24] Rename .text.lock to .text..lock Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 17/24] Rename .text.reset to .text..reset Denys Vlasenko
` (13 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/x86/kernel/acpi/wakeup_32.S | 2 +-
arch/x86/kernel/vmlinux.lds.S | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/acpi/wakeup_32.S b/arch/x86/kernel/acpi/wakeup_32.S
index 8ded418..13ab720 100644
--- a/arch/x86/kernel/acpi/wakeup_32.S
+++ b/arch/x86/kernel/acpi/wakeup_32.S
@@ -1,4 +1,4 @@
- .section .text.page_aligned
+ .section .text..page_aligned
#include <linux/linkage.h>
#include <asm/segment.h>
#include <asm/page_types.h>
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S
index 8b6bb4e..f3d77d7 100644
--- a/arch/x86/kernel/vmlinux.lds.S
+++ b/arch/x86/kernel/vmlinux.lds.S
@@ -97,7 +97,7 @@ SECTIONS
HEAD_TEXT
#ifdef CONFIG_X86_32
. = ALIGN(PAGE_SIZE);
- *(.text.page_aligned)
+ *(.text..page_aligned)
#endif
. = ALIGN(8);
_stext = .;
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 17/24] Rename .text.reset to .text..reset.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (12 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 16/24] Rename .text.page_aligned to .text..page_aligned Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-03-01 2:31 ` Tim Abbott
2010-03-01 4:41 ` Haavard Skinnemoen
2010-02-20 0:03 ` [PATCH 18/24] Rename .text.startup to .text..startup Denys Vlasenko
` (12 subsequent siblings)
26 siblings, 2 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/avr32/kernel/vmlinux.lds.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/avr32/kernel/vmlinux.lds.S b/arch/avr32/kernel/vmlinux.lds.S
index 9cd2bd9..5d7fe57 100644
--- a/arch/avr32/kernel/vmlinux.lds.S
+++ b/arch/avr32/kernel/vmlinux.lds.S
@@ -26,7 +26,7 @@ SECTIONS
_stext = .;
__init_begin = .;
_sinittext = .;
- *(.text.reset)
+ *(.text..reset)
INIT_TEXT
/*
* .exit.text is discarded at runtime, not
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* Re: [PATCH 17/24] Rename .text.reset to .text..reset.
2010-02-20 0:03 ` [PATCH 17/24] Rename .text.reset to .text..reset Denys Vlasenko
@ 2010-03-01 2:31 ` Tim Abbott
2010-03-01 4:37 ` Haavard Skinnemoen
2010-03-01 4:41 ` Haavard Skinnemoen
1 sibling, 1 reply; 34+ messages in thread
From: Tim Abbott @ 2010-03-01 2:31 UTC (permalink / raw)
To: Haavard Skinnemoen
Cc: Denys Vlasenko, Michal Marek, Sam Ravnborg, David Howells,
linux-kernel, Bjorn Wesen, Tim Bird, Anders Kaseorg, Waseem Daher,
Rusty Russell, Andi Kleen, Stephen Rothwell, H. Peter Anvin
Haavard,
How does the .text.reset section get populated on the avr32 architecture?
As far as I can tell, there's no code in the kernel to put anything in the
.text.reset section, yet the linker script places that section at the
start of the text section.
-Tim Abbott
On Sat, 20 Feb 2010, Denys Vlasenko wrote:
> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
> ---
> arch/avr32/kernel/vmlinux.lds.S | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/avr32/kernel/vmlinux.lds.S b/arch/avr32/kernel/vmlinux.lds.S
> index 9cd2bd9..5d7fe57 100644
> --- a/arch/avr32/kernel/vmlinux.lds.S
> +++ b/arch/avr32/kernel/vmlinux.lds.S
> @@ -26,7 +26,7 @@ SECTIONS
> _stext = .;
> __init_begin = .;
> _sinittext = .;
> - *(.text.reset)
> + *(.text..reset)
> INIT_TEXT
> /*
> * .exit.text is discarded at runtime, not
> --
> 1.6.2.4
>
>
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 17/24] Rename .text.reset to .text..reset.
2010-03-01 2:31 ` Tim Abbott
@ 2010-03-01 4:37 ` Haavard Skinnemoen
0 siblings, 0 replies; 34+ messages in thread
From: Haavard Skinnemoen @ 2010-03-01 4:37 UTC (permalink / raw)
To: Tim Abbott
Cc: Denys Vlasenko, Michal Marek, Sam Ravnborg, David Howells,
linux-kernel, Bjorn Wesen, Tim Bird, Anders Kaseorg, Waseem Daher,
Rusty Russell, Andi Kleen, Stephen Rothwell, H. Peter Anvin
Hi Tim,
Tim Abbott <tabbott@ksplice.com> wrote:
> How does the .text.reset section get populated on the avr32 architecture?
It doesn't. Feel free to remove it from the linker script.
> As far as I can tell, there's no code in the kernel to put anything in the
> .text.reset section, yet the linker script places that section at the
> start of the text section.
You're right, it's a leftover from some startup code which later got
removed.
Haavard
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 17/24] Rename .text.reset to .text..reset.
2010-02-20 0:03 ` [PATCH 17/24] Rename .text.reset to .text..reset Denys Vlasenko
2010-03-01 2:31 ` Tim Abbott
@ 2010-03-01 4:41 ` Haavard Skinnemoen
1 sibling, 0 replies; 34+ messages in thread
From: Haavard Skinnemoen @ 2010-03-01 4:41 UTC (permalink / raw)
To: Denys Vlasenko
Cc: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells,
linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Denys Vlasenko <vda.linux@googlemail.com> wrote:
> diff --git a/arch/avr32/kernel/vmlinux.lds.S b/arch/avr32/kernel/vmlinux.lds.S
> index 9cd2bd9..5d7fe57 100644
> --- a/arch/avr32/kernel/vmlinux.lds.S
> +++ b/arch/avr32/kernel/vmlinux.lds.S
> @@ -26,7 +26,7 @@ SECTIONS
> _stext = .;
> __init_begin = .;
> _sinittext = .;
> - *(.text.reset)
> + *(.text..reset)
Please remove it instead. I'm sure there's no code which actually
places something in .text.reset, but if there is, this patch would
break it in exactly the same way as removing it altogether would do.
Haavard
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH 18/24] Rename .text.startup to .text..startup.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (13 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 17/24] Rename .text.reset to .text..reset Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 19/24] Rename .data.nosave to .data..nosave Denys Vlasenko
` (11 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/h8300/boot/compressed/head.S | 2 +-
arch/h8300/boot/compressed/vmlinux.lds | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/h8300/boot/compressed/head.S b/arch/h8300/boot/compressed/head.S
index 985a81a..10e9a2d 100644
--- a/arch/h8300/boot/compressed/head.S
+++ b/arch/h8300/boot/compressed/head.S
@@ -9,7 +9,7 @@
#define SRAM_START 0xff4000
- .section .text.startup
+ .section .text..startup
.global startup
startup:
mov.l #SRAM_START+0x8000, sp
diff --git a/arch/h8300/boot/compressed/vmlinux.lds b/arch/h8300/boot/compressed/vmlinux.lds
index 65e2a0d..a0a3a0e 100644
--- a/arch/h8300/boot/compressed/vmlinux.lds
+++ b/arch/h8300/boot/compressed/vmlinux.lds
@@ -4,7 +4,7 @@ SECTIONS
{
__stext = . ;
__text = .;
- *(.text.startup)
+ *(.text..startup)
*(.text)
__etext = . ;
}
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 19/24] Rename .data.nosave to .data..nosave.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (14 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 18/24] Rename .text.startup to .text..startup Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 20/24] Rename .data.init to .data..init Denys Vlasenko
` (10 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/s390/kernel/swsusp_asm64.S | 2 +-
include/asm-generic/vmlinux.lds.h | 2 +-
include/linux/init.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/s390/kernel/swsusp_asm64.S b/arch/s390/kernel/swsusp_asm64.S
index 0c26cc1..e5cd623 100644
--- a/arch/s390/kernel/swsusp_asm64.S
+++ b/arch/s390/kernel/swsusp_asm64.S
@@ -261,7 +261,7 @@ restore_registers:
lghi %r2,0
br %r14
- .section .data.nosave,"aw",@progbits
+ .section .data..nosave,"aw",@progbits
.align 8
.Ldisabled_wait_31:
.long 0x000a0000,0x00000000
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 6f6da4f..ea36605 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -175,7 +175,7 @@
#define NOSAVE_DATA \
. = ALIGN(PAGE_SIZE); \
VMLINUX_SYMBOL(__nosave_begin) = .; \
- *(.data.nosave) \
+ *(.data..nosave) \
. = ALIGN(PAGE_SIZE); \
VMLINUX_SYMBOL(__nosave_end) = .;
diff --git a/include/linux/init.h b/include/linux/init.h
index ab1d31f..de99430 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -301,7 +301,7 @@ void __init parse_early_options(char *cmdline);
#endif
/* Data marked not to be saved by software suspend */
-#define __nosavedata __section(.data.nosave)
+#define __nosavedata __section(.data..nosave)
/* This means "can be init if no module support, otherwise module load
may call it." */
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 20/24] Rename .data.init to .data..init.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (15 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 19/24] Rename .data.nosave to .data..nosave Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 21/24] Rename .data.initvect to .data..initvect Denys Vlasenko
` (9 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/sparc/boot/btfixupprep.c | 2 +-
arch/x86/kernel/setup_percpu.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/sparc/boot/btfixupprep.c b/arch/sparc/boot/btfixupprep.c
index bbf91b9..e7f2940 100644
--- a/arch/sparc/boot/btfixupprep.c
+++ b/arch/sparc/boot/btfixupprep.c
@@ -325,7 +325,7 @@ main1:
(*rr)->next = NULL;
}
printf("! Generated by btfixupprep. Do not edit.\n\n");
- printf("\t.section\t\".data.init\",#alloc,#write\n\t.align\t4\n\n");
+ printf("\t.section\t\".data..init\",#alloc,#write\n\t.align\t4\n\n");
printf("\t.global\t___btfixup_start\n___btfixup_start:\n\n");
for (i = 0; i < last; i++) {
f = array + i;
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c
index 35abcb8..8c9f68e 100644
--- a/arch/x86/kernel/setup_percpu.c
+++ b/arch/x86/kernel/setup_percpu.c
@@ -241,7 +241,7 @@ void __init setup_per_cpu_areas(void)
#endif
#endif
/*
- * Up to this point, the boot CPU has been using .data.init
+ * Up to this point, the boot CPU has been using .init.data
* area. Reload any changed state for the boot CPU.
*/
if (cpu == boot_cpu_id)
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 21/24] Rename .data.initvect to .data..initvect.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (16 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 20/24] Rename .data.init to .data..init Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 22/24] Rename .data.lock_aligned to .data..lock_aligned Denys Vlasenko
` (8 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/m68knommu/kernel/vmlinux.lds.S | 2 +-
arch/m68knommu/platform/68360/head-ram.S | 2 +-
arch/m68knommu/platform/68360/head-rom.S | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/m68knommu/kernel/vmlinux.lds.S b/arch/m68knommu/kernel/vmlinux.lds.S
index fd3df56..a91b271 100644
--- a/arch/m68knommu/kernel/vmlinux.lds.S
+++ b/arch/m68knommu/kernel/vmlinux.lds.S
@@ -57,7 +57,7 @@ SECTIONS {
.romvec : {
__rom_start = . ;
_romvec = .;
- *(.data.initvect)
+ *(.data..initvect)
} > romvec
#endif
diff --git a/arch/m68knommu/platform/68360/head-ram.S b/arch/m68knommu/platform/68360/head-ram.S
index 2ef0624..8eb94fb 100644
--- a/arch/m68knommu/platform/68360/head-ram.S
+++ b/arch/m68knommu/platform/68360/head-ram.S
@@ -280,7 +280,7 @@ _dprbase:
* and then overwritten as needed.
*/
-.section ".data.initvect","awx"
+.section ".data..initvect","awx"
.long RAMEND /* Reset: Initial Stack Pointer - 0. */
.long _start /* Reset: Initial Program Counter - 1. */
.long buserr /* Bus Error - 2. */
diff --git a/arch/m68knommu/platform/68360/head-rom.S b/arch/m68knommu/platform/68360/head-rom.S
index 62ecf41..97510e5 100644
--- a/arch/m68knommu/platform/68360/head-rom.S
+++ b/arch/m68knommu/platform/68360/head-rom.S
@@ -291,7 +291,7 @@ _dprbase:
* and then overwritten as needed.
*/
-.section ".data.initvect","awx"
+.section ".data..initvect","awx"
.long RAMEND /* Reset: Initial Stack Pointer - 0. */
.long _start /* Reset: Initial Program Counter - 1. */
.long buserr /* Bus Error - 2. */
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 22/24] Rename .data.lock_aligned to .data..lock_aligned.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (17 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 21/24] Rename .data.initvect to .data..initvect Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:03 ` [PATCH 24/24] Rename .text.start to .text..start Denys Vlasenko
` (7 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/parisc/include/asm/system.h | 2 +-
arch/parisc/kernel/vmlinux.lds.S | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/parisc/include/asm/system.h b/arch/parisc/include/asm/system.h
index d91357b..4bbb673 100644
--- a/arch/parisc/include/asm/system.h
+++ b/arch/parisc/include/asm/system.h
@@ -174,7 +174,7 @@ static inline void set_eiem(unsigned long val)
})
#ifdef CONFIG_SMP
-# define __lock_aligned __attribute__((__section__(".data.lock_aligned")))
+# define __lock_aligned __attribute__((__section__(".data..lock_aligned")))
#endif
#define arch_align_stack(x) (x)
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index 33ec31d..d64a6bb 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -94,8 +94,8 @@ SECTIONS
/* PA-RISC locks requires 16-byte alignment */
. = ALIGN(16);
- .data.lock_aligned : {
- *(.data.lock_aligned)
+ .data..lock_aligned : {
+ *(.data..lock_aligned)
}
/* End of data section */
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 24/24] Rename .text.start to .text..start.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (18 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 22/24] Rename .data.lock_aligned to .data..lock_aligned Denys Vlasenko
@ 2010-02-20 0:03 ` Denys Vlasenko
2010-02-20 0:37 ` [PATCH 09/24] Rename .data..patch.xxx to .data..patch.xxx Denys Vlasenko
` (6 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:03 UTC (permalink / raw)
To: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells
Cc: linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/mips/lasat/image/head.S | 2 +-
arch/mips/lasat/image/romscript.normal | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/mips/lasat/image/head.S b/arch/mips/lasat/image/head.S
index efb95f2..e0ecda9 100644
--- a/arch/mips/lasat/image/head.S
+++ b/arch/mips/lasat/image/head.S
@@ -1,7 +1,7 @@
#include <asm/lasat/head.h>
.text
- .section .text.start, "ax"
+ .section .text..start, "ax"
.set noreorder
.set mips3
diff --git a/arch/mips/lasat/image/romscript.normal b/arch/mips/lasat/image/romscript.normal
index 988f8ad..0864c96 100644
--- a/arch/mips/lasat/image/romscript.normal
+++ b/arch/mips/lasat/image/romscript.normal
@@ -4,7 +4,7 @@ SECTIONS
{
.text :
{
- *(.text.start)
+ *(.text..start)
}
/* Data in ROM */
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 09/24] Rename .data..patch.xxx to .data..patch.xxx.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (19 preceding siblings ...)
2010-02-20 0:03 ` [PATCH 24/24] Rename .text.start to .text..start Denys Vlasenko
@ 2010-02-20 0:37 ` Denys Vlasenko
2010-02-20 0:37 ` [PATCH 10/24] Rename .data[.percpu][.xxx] to .data[..percpu][..xxx] Denys Vlasenko
` (5 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:37 UTC (permalink / raw)
To: Denys Vlasenko; +Cc: linux-kernel, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/ia64/include/asm/asmmacro.h | 12 ++++++------
arch/ia64/kernel/gate.S | 8 ++++----
arch/ia64/kernel/gate.lds.S | 10 +++++-----
arch/ia64/kernel/minstate.h | 4 ++--
arch/ia64/kernel/vmlinux.lds.S | 16 ++++++++--------
5 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/arch/ia64/include/asm/asmmacro.h b/arch/ia64/include/asm/asmmacro.h
index c1642fd..3ab6d75 100644
--- a/arch/ia64/include/asm/asmmacro.h
+++ b/arch/ia64/include/asm/asmmacro.h
@@ -70,12 +70,12 @@ name:
* path (ivt.S - TLB miss processing) or in places where it might not be
* safe to use a "tpa" instruction (mca_asm.S - error recovery).
*/
- .section ".data.patch.vtop", "a" // declare section & section attributes
+ .section ".data..patch.vtop", "a" // declare section & section attributes
.previous
#define LOAD_PHYSICAL(pr, reg, obj) \
[1:](pr)movl reg = obj; \
- .xdata4 ".data.patch.vtop", 1b-.
+ .xdata4 ".data..patch.vtop", 1b-.
/*
* For now, we always put in the McKinley E9 workaround. On CPUs that don't need it,
@@ -84,11 +84,11 @@ name:
#define DO_MCKINLEY_E9_WORKAROUND
#ifdef DO_MCKINLEY_E9_WORKAROUND
- .section ".data.patch.mckinley_e9", "a"
+ .section ".data..patch.mckinley_e9", "a"
.previous
/* workaround for Itanium 2 Errata 9: */
# define FSYS_RETURN \
- .xdata4 ".data.patch.mckinley_e9", 1f-.; \
+ .xdata4 ".data..patch.mckinley_e9", 1f-.; \
1:{ .mib; \
nop.m 0; \
mov r16=ar.pfs; \
@@ -107,11 +107,11 @@ name:
* If physical stack register size is different from DEF_NUM_STACK_REG,
* dynamically patch the kernel for correct size.
*/
- .section ".data.patch.phys_stack_reg", "a"
+ .section ".data..patch.phys_stack_reg", "a"
.previous
#define LOAD_PHYS_STACK_REG_SIZE(reg) \
[1:] adds reg=IA64_NUM_PHYS_STACK_REG*8+8,r0; \
- .xdata4 ".data.patch.phys_stack_reg", 1b-.
+ .xdata4 ".data..patch.phys_stack_reg", 1b-.
/*
* Up until early 2004, use of .align within a function caused bad unwind info.
diff --git a/arch/ia64/kernel/gate.S b/arch/ia64/kernel/gate.S
index cf5e0a1..245d3e1 100644
--- a/arch/ia64/kernel/gate.S
+++ b/arch/ia64/kernel/gate.S
@@ -21,18 +21,18 @@
* to targets outside the shared object) and to avoid multi-phase kernel builds, we
* simply create minimalistic "patch lists" in special ELF sections.
*/
- .section ".data.patch.fsyscall_table", "a"
+ .section ".data..patch.fsyscall_table", "a"
.previous
#define LOAD_FSYSCALL_TABLE(reg) \
[1:] movl reg=0; \
- .xdata4 ".data.patch.fsyscall_table", 1b-.
+ .xdata4 ".data..patch.fsyscall_table", 1b-.
- .section ".data.patch.brl_fsys_bubble_down", "a"
+ .section ".data..patch.brl_fsys_bubble_down", "a"
.previous
#define BRL_COND_FSYS_BUBBLE_DOWN(pr) \
[1:](pr)brl.cond.sptk 0; \
;; \
- .xdata4 ".data.patch.brl_fsys_bubble_down", 1b-.
+ .xdata4 ".data..patch.brl_fsys_bubble_down", 1b-.
GLOBAL_ENTRY(__kernel_syscall_via_break)
.prologue
diff --git a/arch/ia64/kernel/gate.lds.S b/arch/ia64/kernel/gate.lds.S
index 88c64ed..d32b085 100644
--- a/arch/ia64/kernel/gate.lds.S
+++ b/arch/ia64/kernel/gate.lds.S
@@ -33,21 +33,21 @@ SECTIONS
*/
. = GATE_ADDR + 0x600;
- .data.patch : {
+ .data..patch : {
__paravirt_start_gate_mckinley_e9_patchlist = .;
- *(.data.patch.mckinley_e9)
+ *(.data..patch.mckinley_e9)
__paravirt_end_gate_mckinley_e9_patchlist = .;
__paravirt_start_gate_vtop_patchlist = .;
- *(.data.patch.vtop)
+ *(.data..patch.vtop)
__paravirt_end_gate_vtop_patchlist = .;
__paravirt_start_gate_fsyscall_patchlist = .;
- *(.data.patch.fsyscall_table)
+ *(.data..patch.fsyscall_table)
__paravirt_end_gate_fsyscall_patchlist = .;
__paravirt_start_gate_brl_fsys_bubble_down_patchlist = .;
- *(.data.patch.brl_fsys_bubble_down)
+ *(.data..patch.brl_fsys_bubble_down)
__paravirt_end_gate_brl_fsys_bubble_down_patchlist = .;
} :readable
diff --git a/arch/ia64/kernel/minstate.h b/arch/ia64/kernel/minstate.h
index 292e214..d56753a 100644
--- a/arch/ia64/kernel/minstate.h
+++ b/arch/ia64/kernel/minstate.h
@@ -16,7 +16,7 @@
#define ACCOUNT_SYS_ENTER
#endif
-.section ".data.patch.rse", "a"
+.section ".data..patch.rse", "a"
.previous
/*
@@ -215,7 +215,7 @@
(pUStk) extr.u r17=r18,3,6; \
(pUStk) sub r16=r18,r22; \
[1:](pKStk) br.cond.sptk.many 1f; \
- .xdata4 ".data.patch.rse",1b-. \
+ .xdata4 ".data..patch.rse",1b-. \
;; \
cmp.ge p6,p7 = 33,r17; \
;; \
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S
index 3e33809..b943eff 100644
--- a/arch/ia64/kernel/vmlinux.lds.S
+++ b/arch/ia64/kernel/vmlinux.lds.S
@@ -75,10 +75,10 @@ SECTIONS
__stop___mca_table = .;
}
- .data.patch.phys_stack_reg : AT(ADDR(.data.patch.phys_stack_reg) - LOAD_OFFSET)
+ .data..patch.phys_stack_reg : AT(ADDR(.data..patch.phys_stack_reg) - LOAD_OFFSET)
{
__start___phys_stack_reg_patchlist = .;
- *(.data.patch.phys_stack_reg)
+ *(.data..patch.phys_stack_reg)
__end___phys_stack_reg_patchlist = .;
}
@@ -110,24 +110,24 @@ SECTIONS
INIT_TEXT_SECTION(PAGE_SIZE)
INIT_DATA_SECTION(16)
- .data.patch.vtop : AT(ADDR(.data.patch.vtop) - LOAD_OFFSET)
+ .data..patch.vtop : AT(ADDR(.data..patch.vtop) - LOAD_OFFSET)
{
__start___vtop_patchlist = .;
- *(.data.patch.vtop)
+ *(.data..patch.vtop)
__end___vtop_patchlist = .;
}
- .data.patch.rse : AT(ADDR(.data.patch.rse) - LOAD_OFFSET)
+ .data..patch.rse : AT(ADDR(.data..patch.rse) - LOAD_OFFSET)
{
__start___rse_patchlist = .;
- *(.data.patch.rse)
+ *(.data..patch.rse)
__end___rse_patchlist = .;
}
- .data.patch.mckinley_e9 : AT(ADDR(.data.patch.mckinley_e9) - LOAD_OFFSET)
+ .data..patch.mckinley_e9 : AT(ADDR(.data..patch.mckinley_e9) - LOAD_OFFSET)
{
__start___mckinley_e9_bundles = .;
- *(.data.patch.mckinley_e9)
+ *(.data..patch.mckinley_e9)
__end___mckinley_e9_bundles = .;
}
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 10/24] Rename .data[.percpu][.xxx] to .data[..percpu][..xxx].
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (20 preceding siblings ...)
2010-02-20 0:37 ` [PATCH 09/24] Rename .data..patch.xxx to .data..patch.xxx Denys Vlasenko
@ 2010-02-20 0:37 ` Denys Vlasenko
2010-02-20 0:37 ` [PATCH 12/24] Rename .data.vmpages and .data.vm0.xxx to .data..vmpages and .data..vm0.xxx Denys Vlasenko
` (4 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:37 UTC (permalink / raw)
To: Denys Vlasenko; +Cc: linux-kernel, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/ia64/include/asm/percpu.h | 2 +-
include/asm-generic/percpu.h | 10 +++++-----
include/asm-generic/vmlinux.lds.h | 24 ++++++++++++------------
include/linux/percpu-defs.h | 4 ++--
kernel/module.c | 2 +-
5 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/arch/ia64/include/asm/percpu.h b/arch/ia64/include/asm/percpu.h
index 30cf465..35d9aeb 100644
--- a/arch/ia64/include/asm/percpu.h
+++ b/arch/ia64/include/asm/percpu.h
@@ -31,7 +31,7 @@ extern void *per_cpu_init(void);
#endif /* SMP */
-#define PER_CPU_BASE_SECTION ".data.percpu"
+#define PER_CPU_BASE_SECTION ".data..percpu"
/*
* Be extremely careful when taking the address of this variable! Due to virtual
diff --git a/include/asm-generic/percpu.h b/include/asm-generic/percpu.h
index 8087b90..1202a15 100644
--- a/include/asm-generic/percpu.h
+++ b/include/asm-generic/percpu.h
@@ -76,7 +76,7 @@ extern void setup_per_cpu_areas(void);
#ifndef PER_CPU_BASE_SECTION
#ifdef CONFIG_SMP
-#define PER_CPU_BASE_SECTION ".data.percpu"
+#define PER_CPU_BASE_SECTION ".data..percpu"
#else
#define PER_CPU_BASE_SECTION ".data"
#endif
@@ -88,15 +88,15 @@ extern void setup_per_cpu_areas(void);
#define PER_CPU_SHARED_ALIGNED_SECTION ""
#define PER_CPU_ALIGNED_SECTION ""
#else
-#define PER_CPU_SHARED_ALIGNED_SECTION ".shared_aligned"
-#define PER_CPU_ALIGNED_SECTION ".shared_aligned"
+#define PER_CPU_SHARED_ALIGNED_SECTION "..shared_aligned"
+#define PER_CPU_ALIGNED_SECTION "..shared_aligned"
#endif
-#define PER_CPU_FIRST_SECTION ".first"
+#define PER_CPU_FIRST_SECTION "..first"
#else
#define PER_CPU_SHARED_ALIGNED_SECTION ""
-#define PER_CPU_ALIGNED_SECTION ".shared_aligned"
+#define PER_CPU_ALIGNED_SECTION "..shared_aligned"
#define PER_CPU_FIRST_SECTION ""
#endif
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
index 32cddc1..e304fcd 100644
--- a/include/asm-generic/vmlinux.lds.h
+++ b/include/asm-generic/vmlinux.lds.h
@@ -666,16 +666,16 @@
*/
#define PERCPU_VADDR(vaddr, phdr) \
VMLINUX_SYMBOL(__per_cpu_load) = .; \
- .data.percpu vaddr : AT(VMLINUX_SYMBOL(__per_cpu_load) \
+ .data..percpu vaddr : AT(VMLINUX_SYMBOL(__per_cpu_load) \
- LOAD_OFFSET) { \
VMLINUX_SYMBOL(__per_cpu_start) = .; \
- *(.data.percpu.first) \
- *(.data.percpu.page_aligned) \
- *(.data.percpu) \
- *(.data.percpu.shared_aligned) \
+ *(.data..percpu..first) \
+ *(.data..percpu..page_aligned) \
+ *(.data..percpu) \
+ *(.data..percpu..shared_aligned) \
VMLINUX_SYMBOL(__per_cpu_end) = .; \
} phdr \
- . = VMLINUX_SYMBOL(__per_cpu_load) + SIZEOF(.data.percpu);
+ . = VMLINUX_SYMBOL(__per_cpu_load) + SIZEOF(.data..percpu);
/**
* PERCPU - define output section for percpu area, simple version
@@ -687,18 +687,18 @@
*
* This macro is equivalent to ALIGN(align); PERCPU_VADDR( , ) except
* that __per_cpu_load is defined as a relative symbol against
- * .data.percpu which is required for relocatable x86_32
+ * .data..percpu which is required for relocatable x86_32
* configuration.
*/
#define PERCPU(align) \
. = ALIGN(align); \
- .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { \
+ .data..percpu : AT(ADDR(.data..percpu) - LOAD_OFFSET) { \
VMLINUX_SYMBOL(__per_cpu_load) = .; \
VMLINUX_SYMBOL(__per_cpu_start) = .; \
- *(.data.percpu.first) \
- *(.data.percpu.page_aligned) \
- *(.data.percpu) \
- *(.data.percpu.shared_aligned) \
+ *(.data..percpu..first) \
+ *(.data..percpu..page_aligned) \
+ *(.data..percpu) \
+ *(.data..percpu..shared_aligned) \
VMLINUX_SYMBOL(__per_cpu_end) = .; \
}
diff --git a/include/linux/percpu-defs.h b/include/linux/percpu-defs.h
index 5a5d6ce..2351191 100644
--- a/include/linux/percpu-defs.h
+++ b/include/linux/percpu-defs.h
@@ -127,11 +127,11 @@
* Declaration/definition used for per-CPU variables that must be page aligned.
*/
#define DECLARE_PER_CPU_PAGE_ALIGNED(type, name) \
- DECLARE_PER_CPU_SECTION(type, name, ".page_aligned") \
+ DECLARE_PER_CPU_SECTION(type, name, "..page_aligned") \
__aligned(PAGE_SIZE)
#define DEFINE_PER_CPU_PAGE_ALIGNED(type, name) \
- DEFINE_PER_CPU_SECTION(type, name, ".page_aligned") \
+ DEFINE_PER_CPU_SECTION(type, name, "..page_aligned") \
__aligned(PAGE_SIZE)
/*
diff --git a/kernel/module.c b/kernel/module.c
index f82386b..5daf0ab 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -397,7 +397,7 @@ static unsigned int find_pcpusec(Elf_Ehdr *hdr,
Elf_Shdr *sechdrs,
const char *secstrings)
{
- return find_sec(hdr, sechdrs, secstrings, ".data.percpu");
+ return find_sec(hdr, sechdrs, secstrings, ".data..percpu");
}
static void percpu_modcopy(void *pcpudest, const void *from, unsigned long size)
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 12/24] Rename .data.vmpages and .data.vm0.xxx to .data..vmpages and .data..vm0.xxx.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (21 preceding siblings ...)
2010-02-20 0:37 ` [PATCH 10/24] Rename .data[.percpu][.xxx] to .data[..percpu][..xxx] Denys Vlasenko
@ 2010-02-20 0:37 ` Denys Vlasenko
2010-02-20 0:45 ` [PATCH 23/24] Rename special text sections in arch/frv from .text.xxx to .text..xxx Denys Vlasenko
` (3 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:37 UTC (permalink / raw)
To: Denys Vlasenko; +Cc: linux-kernel, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/parisc/kernel/init_task.c | 6 +++---
arch/parisc/kernel/vmlinux.lds.S | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/arch/parisc/kernel/init_task.c b/arch/parisc/kernel/init_task.c
index d020eae..4a91e43 100644
--- a/arch/parisc/kernel/init_task.c
+++ b/arch/parisc/kernel/init_task.c
@@ -53,11 +53,11 @@ union thread_union init_thread_union __init_task_data
* guarantee that global objects will be laid out in memory in the same order
* as the order of declaration, so put these in different sections and use
* the linker script to order them. */
-pmd_t pmd0[PTRS_PER_PMD] __attribute__ ((__section__ (".data.vm0.pmd"), aligned(PAGE_SIZE)));
+pmd_t pmd0[PTRS_PER_PMD] __attribute__ ((__section__ (".data..vm0.pmd"), aligned(PAGE_SIZE)));
#endif
-pgd_t swapper_pg_dir[PTRS_PER_PGD] __attribute__ ((__section__ (".data.vm0.pgd"), aligned(PAGE_SIZE)));
-pte_t pg0[PT_INITIAL * PTRS_PER_PTE] __attribute__ ((__section__ (".data.vm0.pte"), aligned(PAGE_SIZE)));
+pgd_t swapper_pg_dir[PTRS_PER_PGD] __attribute__ ((__section__ (".data..vm0.pgd"), aligned(PAGE_SIZE)));
+pte_t pg0[PT_INITIAL * PTRS_PER_PTE] __attribute__ ((__section__ (".data..vm0.pte"), aligned(PAGE_SIZE)));
/*
* Initial task structure.
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S
index 9dab4a4..33ec31d 100644
--- a/arch/parisc/kernel/vmlinux.lds.S
+++ b/arch/parisc/kernel/vmlinux.lds.S
@@ -105,10 +105,10 @@ SECTIONS
__bss_start = .;
/* page table entries need to be PAGE_SIZE aligned */
. = ALIGN(PAGE_SIZE);
- .data.vmpages : {
- *(.data.vm0.pmd)
- *(.data.vm0.pgd)
- *(.data.vm0.pte)
+ .data..vmpages : {
+ *(.data..vm0.pmd)
+ *(.data..vm0.pgd)
+ *(.data..vm0.pte)
}
.bss : {
*(.bss)
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* [PATCH 23/24] Rename special text sections in arch/frv from .text.xxx to .text..xxx.
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (22 preceding siblings ...)
2010-02-20 0:37 ` [PATCH 12/24] Rename .data.vmpages and .data.vm0.xxx to .data..vmpages and .data..vm0.xxx Denys Vlasenko
@ 2010-02-20 0:45 ` Denys Vlasenko
2010-02-20 9:22 ` [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Andi Kleen
` (2 subsequent siblings)
26 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 0:45 UTC (permalink / raw)
To: Denys Vlasenko; +Cc: linux-kernel, Denys Vlasenko
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
arch/frv/kernel/break.S | 2 +-
arch/frv/kernel/entry.S | 2 +-
arch/frv/kernel/head.S | 2 +-
arch/frv/kernel/vmlinux.lds.S | 8 ++++----
arch/frv/mm/tlb-miss.S | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/frv/kernel/break.S b/arch/frv/kernel/break.S
index c5388b7..cbb6958 100644
--- a/arch/frv/kernel/break.S
+++ b/arch/frv/kernel/break.S
@@ -63,7 +63,7 @@ __break_trace_through_exceptions:
# entry point for Break Exceptions/Interrupts
#
###############################################################################
- .section .text.break
+ .section .text..break
.balign 4
.globl __entry_break
__entry_break:
diff --git a/arch/frv/kernel/entry.S b/arch/frv/kernel/entry.S
index 189397e..63d579b 100644
--- a/arch/frv/kernel/entry.S
+++ b/arch/frv/kernel/entry.S
@@ -38,7 +38,7 @@
#define nr_syscalls ((syscall_table_size)/4)
- .section .text.entry
+ .section .text..entry
.balign 4
.macro LEDS val
diff --git a/arch/frv/kernel/head.S b/arch/frv/kernel/head.S
index b825ef3..e9a8cc6 100644
--- a/arch/frv/kernel/head.S
+++ b/arch/frv/kernel/head.S
@@ -542,7 +542,7 @@ __head_end:
.size _boot, .-_boot
# provide a point for GDB to place a break
- .section .text.start,"ax"
+ .section .text..start,"ax"
.globl _start
.balign 4
_start:
diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S
index 472eb8c..8b973f3 100644
--- a/arch/frv/kernel/vmlinux.lds.S
+++ b/arch/frv/kernel/vmlinux.lds.S
@@ -57,10 +57,10 @@ SECTIONS
_text = .;
_stext = .;
.text : {
- *(.text.start)
- *(.text.entry)
- *(.text.break)
- *(.text.tlbmiss)
+ *(.text..start)
+ *(.text..entry)
+ *(.text..break)
+ *(.text..tlbmiss)
TEXT_TEXT
SCHED_TEXT
LOCK_TEXT
diff --git a/arch/frv/mm/tlb-miss.S b/arch/frv/mm/tlb-miss.S
index 7f392bc..f3ac019 100644
--- a/arch/frv/mm/tlb-miss.S
+++ b/arch/frv/mm/tlb-miss.S
@@ -15,7 +15,7 @@
#include <asm/pgtable.h>
#include <asm/spr-regs.h>
- .section .text.tlbmiss
+ .section .text..tlbmiss
.balign 4
.globl __entry_insn_mmu_miss
--
1.6.2.4
^ permalink raw reply related [flat|nested] 34+ messages in thread* Re: [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (23 preceding siblings ...)
2010-02-20 0:45 ` [PATCH 23/24] Rename special text sections in arch/frv from .text.xxx to .text..xxx Denys Vlasenko
@ 2010-02-20 9:22 ` Andi Kleen
2010-02-20 21:58 ` Denys Vlasenko
2010-03-01 4:03 ` Tim Abbott
2010-03-11 15:04 ` David Howells
26 siblings, 1 reply; 34+ messages in thread
From: Andi Kleen @ 2010-02-20 9:22 UTC (permalink / raw)
To: Denys Vlasenko
Cc: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells,
linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin
On Sat, Feb 20, 2010 at 01:03:33AM +0100, Denys Vlasenko wrote:
> Hi Michal, Sam, folks,
>
> Here is a new version of the -ffunction-sections -fdata-sections patch
> series based on current Linus tree.
Denys,
Not read all your patches. But I had recently the problem
that I need a generic way to check for a symbol being
inside the kernel image (text or data). There wasn't
a common symbol that worked for both XIP ARM and normal
architectures. Is this something addressed by your patchkit?
It essentially needs common symbol(s) that can be used
to check for the kernel image itself.
-Andi
^ permalink raw reply [flat|nested] 34+ messages in thread* Re: [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections
2010-02-20 9:22 ` [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Andi Kleen
@ 2010-02-20 21:58 ` Denys Vlasenko
0 siblings, 0 replies; 34+ messages in thread
From: Denys Vlasenko @ 2010-02-20 21:58 UTC (permalink / raw)
To: Andi Kleen
Cc: Michal Marek, Sam Ravnborg, Haavard Skinnemoen, David Howells,
linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Stephen Rothwell, H. Peter Anvin
Hi Andi,
On Saturday 20 February 2010 10:22, Andi Kleen wrote:
> On Sat, Feb 20, 2010 at 01:03:33AM +0100, Denys Vlasenko wrote:
> > Hi Michal, Sam, folks,
> > Here is a new version of the -ffunction-sections -fdata-sections patch
> > series based on current Linus tree.
> Denys,
>
> Not read all your patches. But I had recently the problem
> that I need a generic way to check for a symbol being
> inside the kernel image (text or data).
I'm not sure I understood the problem.
> There wasn't
> a common symbol that worked for both XIP ARM and normal
> architectures. Is this something addressed by your patchkit?
Most likely not.
--
vda
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (24 preceding siblings ...)
2010-02-20 9:22 ` [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Andi Kleen
@ 2010-03-01 4:03 ` Tim Abbott
2010-03-03 10:23 ` Michal Marek
2010-03-09 15:56 ` Mike Frysinger
2010-03-11 15:04 ` David Howells
26 siblings, 2 replies; 34+ messages in thread
From: Tim Abbott @ 2010-03-01 4:03 UTC (permalink / raw)
To: Michal Marek
Cc: Denys Vlasenko, Sam Ravnborg, Haavard Skinnemoen, David Howells,
linux-kernel, Bjorn Wesen, Tim Bird, Anders Kaseorg, Waseem Daher,
Rusty Russell, Andi Kleen, Stephen Rothwell, H. Peter Anvin,
Barry Song, Mike Frysinger
On Sat, 20 Feb 2010, Denys Vlasenko wrote:
> Here is a new version of the -ffunction-sections -fdata-sections patch
> series based on current Linus tree.
Aside from patch 17, which I would prefer that Haavard review, these
patches look correct (and patch 17 can be safely dropped). Please
consider the rest of Denys' patches in this patch series
Acked-by: Tim Abbott <tabbott@ksplice.com>
The patches still apply fine on Linus' current master. There are no merge
conflicts with linux-next's current master, but we will need to do
something to merge with
"Blackfin: initial XIP support"
in linux-next, which introduces a direct reference to .data.percpu.* (not
using the normal PERCPU macros so they can put .data.percpu content inside
the .init.data section). That conflict looks easy to deal with by adding
a new macro to handle this case (CCing the author and blackfin maintainer;
it's possible that this blackfin patch is going in soon, in which case we
can just rebase these patches on top).
Michal, what are your thoughts on this patch series? The kbuild tree
would be a reasonable path for merging these patches.
-Tim Abbott
^ permalink raw reply [flat|nested] 34+ messages in thread* Re: [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections
2010-03-01 4:03 ` Tim Abbott
@ 2010-03-03 10:23 ` Michal Marek
2010-03-09 15:56 ` Mike Frysinger
1 sibling, 0 replies; 34+ messages in thread
From: Michal Marek @ 2010-03-03 10:23 UTC (permalink / raw)
To: Tim Abbott
Cc: Denys Vlasenko, Sam Ravnborg, Haavard Skinnemoen, David Howells,
linux-kernel, Bjorn Wesen, Tim Bird, Anders Kaseorg, Waseem Daher,
Rusty Russell, Andi Kleen, Stephen Rothwell, H. Peter Anvin,
Barry Song, Mike Frysinger
On Sun, Feb 28, 2010 at 11:03:46PM -0500, Tim Abbott wrote:
> On Sat, 20 Feb 2010, Denys Vlasenko wrote:
>
> > Here is a new version of the -ffunction-sections -fdata-sections patch
> > series based on current Linus tree.
>
> Aside from patch 17, which I would prefer that Haavard review, these
> patches look correct (and patch 17 can be safely dropped). Please
> consider the rest of Denys' patches in this patch series
>
> Acked-by: Tim Abbott <tabbott@ksplice.com>
Thanks.
> [...]
>
> Michal, what are your thoughts on this patch series? The kbuild tree
> would be a reasonable path for merging these patches.
Yes it would. I'm sorry, I was a bit bussy last two weeks. I'll do some
random tests and add the patches to kbuild-next now. The patches look
simple enough for me and don't actually change any functionality if one
doesn't deliberately use -ffunction-sections -fdata-sections, so I hope
Linus will be fine with merging it for 2.6.34.
Michal
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections
2010-03-01 4:03 ` Tim Abbott
2010-03-03 10:23 ` Michal Marek
@ 2010-03-09 15:56 ` Mike Frysinger
1 sibling, 0 replies; 34+ messages in thread
From: Mike Frysinger @ 2010-03-09 15:56 UTC (permalink / raw)
To: Tim Abbott
Cc: Michal Marek, Denys Vlasenko, Sam Ravnborg, Haavard Skinnemoen,
David Howells, linux-kernel, Bjorn Wesen, Tim Bird,
Anders Kaseorg, Waseem Daher, Rusty Russell, Andi Kleen,
Stephen Rothwell, H. Peter Anvin, Barry Song, Mike Frysinger
On Sun, Feb 28, 2010 at 23:03, Tim Abbott wrote:
> On Sat, 20 Feb 2010, Denys Vlasenko wrote:
>> Here is a new version of the -ffunction-sections -fdata-sections patch
>> series based on current Linus tree.
>
> Aside from patch 17, which I would prefer that Haavard review, these
> patches look correct (and patch 17 can be safely dropped). Please
> consider the rest of Denys' patches in this patch series
>
> Acked-by: Tim Abbott <tabbott@ksplice.com>
>
> The patches still apply fine on Linus' current master. There are no merge
> conflicts with linux-next's current master, but we will need to do
> something to merge with
>
> "Blackfin: initial XIP support"
>
> in linux-next, which introduces a direct reference to .data.percpu.* (not
> using the normal PERCPU macros so they can put .data.percpu content inside
> the .init.data section). That conflict looks easy to deal with by adding
> a new macro to handle this case (CCing the author and blackfin maintainer;
> it's possible that this blackfin patch is going in soon, in which case we
> can just rebase these patches on top).
>
> Michal, what are your thoughts on this patch series? The kbuild tree
> would be a reasonable path for merging these patches.
ive posted this patch for merging via the Blackfin tree now, so
hopefully it'll be in soon
-mike
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections
2010-02-20 0:03 [PATCH 00/24] Rename kernel's magic sections for compatibility with -ffunction-sections -fdata-sections Denys Vlasenko
` (25 preceding siblings ...)
2010-03-01 4:03 ` Tim Abbott
@ 2010-03-11 15:04 ` David Howells
26 siblings, 0 replies; 34+ messages in thread
From: David Howells @ 2010-03-11 15:04 UTC (permalink / raw)
To: Denys Vlasenko
Cc: dhowells, Michal Marek, Sam Ravnborg, Haavard Skinnemoen,
linux-kernel, Bjorn Wesen, Tim Bird, Tim Abbott, Anders Kaseorg,
Waseem Daher, Rusty Russell, Andi Kleen, Stephen Rothwell,
H. Peter Anvin
These look reasonable. Do you have a GIT tree I can pull?
David
^ permalink raw reply [flat|nested] 34+ messages in thread