Commit fbeb7370 authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: parse input sections properly when using -ffunction-sections/-fdata-sections

Signed-off-by: default avatarMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent 1ffe6646
......@@ -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 = .;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment