Skip to content

Commit

Permalink
Blackfin arch: parse input sections properly when using -ffunction-se…
Browse files Browse the repository at this point in the history
…ctions/-fdata-sections

Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
  • Loading branch information
Mike Frysinger authored and Bryan Wu committed Aug 27, 2007
1 parent 1ffe664 commit fbeb737
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/blackfin/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ SECTIONS
__text = .;
_text = .;
__stext = .;
*(.text.*)
TEXT_TEXT
SCHED_TEXT
LOCK_TEXT
Expand Down Expand Up @@ -73,6 +74,7 @@ SECTIONS
. = ALIGN(THREAD_SIZE);
*(.data.init_task)
DATA_DATA
*(.data.*)
CONSTRUCTORS

. = ALIGN(32);
Expand Down Expand Up @@ -164,7 +166,7 @@ SECTIONS
{
. = ALIGN(4);
___bss_start = .;
*(.bss)
*(.bss .bss.*)
*(COMMON)
. = ALIGN(4);
___bss_stop = .;
Expand Down

0 comments on commit fbeb737

Please sign in to comment.