aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-08-27 03:02:20 -0400
committerBryan Wu <bryan.wu@analog.com>2007-08-27 03:02:20 -0400
commitfbeb7370b6eef14bf12787d05c7460fae562d0be (patch)
tree6ab2d6c3d10b7a58604f68e0f00615f276b1fe4d /arch/blackfin/kernel/vmlinux.lds.S
parent1ffe6646babf8471714e649849ec2c9662bf410c (diff)
Blackfin arch: parse input sections properly when using -ffunction-sections/-fdata-sections
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com> Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/vmlinux.lds.S')
-rw-r--r--arch/blackfin/kernel/vmlinux.lds.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/vmlinux.lds.S b/arch/blackfin/kernel/vmlinux.lds.S
index fb53780247b..e40b66ae1b7 100644
--- a/arch/blackfin/kernel/vmlinux.lds.S
+++ b/arch/blackfin/kernel/vmlinux.lds.S
@@ -46,6 +46,7 @@ SECTIONS
46 __text = .; 46 __text = .;
47 _text = .; 47 _text = .;
48 __stext = .; 48 __stext = .;
49 *(.text.*)
49 TEXT_TEXT 50 TEXT_TEXT
50 SCHED_TEXT 51 SCHED_TEXT
51 LOCK_TEXT 52 LOCK_TEXT
@@ -73,6 +74,7 @@ SECTIONS
73 . = ALIGN(THREAD_SIZE); 74 . = ALIGN(THREAD_SIZE);
74 *(.data.init_task) 75 *(.data.init_task)
75 DATA_DATA 76 DATA_DATA
77 *(.data.*)
76 CONSTRUCTORS 78 CONSTRUCTORS
77 79
78 . = ALIGN(32); 80 . = ALIGN(32);
@@ -164,7 +166,7 @@ SECTIONS
164 { 166 {
165 . = ALIGN(4); 167 . = ALIGN(4);
166 ___bss_start = .; 168 ___bss_start = .;
167 *(.bss) 169 *(.bss .bss.*)
168 *(COMMON) 170 *(COMMON)
169 . = ALIGN(4); 171 . = ALIGN(4);
170 ___bss_stop = .; 172 ___bss_stop = .;