]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: parse input sections properly when using -ffunction-sections/-fdata...
authorMike Frysinger <michael.frysinger@analog.com>
Mon, 27 Aug 2007 07:02:20 +0000 (15:02 +0800)
committerBryan Wu <bryan.wu@analog.com>
Mon, 27 Aug 2007 07:02:20 +0000 (15:02 +0800)
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
arch/blackfin/kernel/vmlinux.lds.S

index fb53780247bc94bf5c1ce393f54cab5620e43db4..e40b66ae1b79dee39543386be68914cd6ab13e95 100644 (file)
@@ -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 = .;