summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
authorMike Frysinger <michael.frysinger@analog.com>2007-08-27 15:02:20 +0800
committerBryan Wu <bryan.wu@analog.com>2007-08-27 15:02:20 +0800
commitfbeb7370b6eef14bf12787d05c7460fae562d0be (patch)
tree6ab2d6c3d10b7a58604f68e0f00615f276b1fe4d /arch/blackfin/kernel/vmlinux.lds.S
parent1ffe6646babf8471714e649849ec2c9662bf410c (diff)
downloadop-kernel-dev-fbeb7370b6eef14bf12787d05c7460fae562d0be.zip
op-kernel-dev-fbeb7370b6eef14bf12787d05c7460fae562d0be.tar.gz
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 fb53780..e40b66a 100644
--- a/arch/blackfin/kernel/vmlinux.lds.S
+++ b/arch/blackfin/kernel/vmlinux.lds.S
@@ -46,6 +46,7 @@ SECTIONS
__text = .;
_text = .;
__stext = .;
+ *(.text.*)
TEXT_TEXT
SCHED_TEXT
LOCK_TEXT
@@ -73,6 +74,7 @@ SECTIONS
. = ALIGN(THREAD_SIZE);
*(.data.init_task)
DATA_DATA
+ *(.data.*)
CONSTRUCTORS
. = ALIGN(32);
@@ -164,7 +166,7 @@ SECTIONS
{
. = ALIGN(4);
___bss_start = .;
- *(.bss)
+ *(.bss .bss.*)
*(COMMON)
. = ALIGN(4);
___bss_stop = .;
OpenPOWER on IntegriCloud