提交 fbeb7370 编写于 作者: M Mike Frysinger 提交者: Bryan Wu

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

Signed-off-by: NMike Frysinger <michael.frysinger@analog.com>
Signed-off-by: NBryan Wu <bryan.wu@analog.com>
上级 1ffe6646
...@@ -46,6 +46,7 @@ SECTIONS ...@@ -46,6 +46,7 @@ SECTIONS
__text = .; __text = .;
_text = .; _text = .;
__stext = .; __stext = .;
*(.text.*)
TEXT_TEXT TEXT_TEXT
SCHED_TEXT SCHED_TEXT
LOCK_TEXT LOCK_TEXT
...@@ -73,6 +74,7 @@ SECTIONS ...@@ -73,6 +74,7 @@ SECTIONS
. = ALIGN(THREAD_SIZE); . = ALIGN(THREAD_SIZE);
*(.data.init_task) *(.data.init_task)
DATA_DATA DATA_DATA
*(.data.*)
CONSTRUCTORS CONSTRUCTORS
. = ALIGN(32); . = ALIGN(32);
...@@ -164,7 +166,7 @@ SECTIONS ...@@ -164,7 +166,7 @@ SECTIONS
{ {
. = ALIGN(4); . = ALIGN(4);
___bss_start = .; ___bss_start = .;
*(.bss) *(.bss .bss.*)
*(COMMON) *(COMMON)
. = ALIGN(4); . = ALIGN(4);
___bss_stop = .; ___bss_stop = .;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册