Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166186
b: refs/heads/master
c: 4a5e351
h: refs/heads/master
v: v3
  • Loading branch information
Tim Abbott authored and Linus Torvalds committed Sep 25, 2009
1 parent 4107c61 commit 0b59eb8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 51 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4295f8b318b424be0f87c9fd9aa1eb35c9585faf
refs/heads/master: 4a5e35135d1ffcf14ebb2bb3c730b92c18ae9657
56 changes: 6 additions & 50 deletions trunk/arch/blackfin/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,7 @@ SECTIONS
{
__sdata = .;
/* This gets done first, so the glob doesn't suck it in */
. = ALIGN(32);
*(.data.cacheline_aligned)
CACHELINE_ALIGNED_DATA(32)

#if !L1_DATA_A_LENGTH
. = ALIGN(32);
Expand All @@ -116,12 +115,7 @@ SECTIONS
DATA_DATA
CONSTRUCTORS

/* make sure the init_task is aligned to the
* kernel thread size so we can locate the kernel
* stack properly and quickly.
*/
. = ALIGN(THREAD_SIZE);
*(.init_task.data)
INIT_TASK_DATA(THREAD_SIZE)

__edata = .;
}
Expand All @@ -134,39 +128,10 @@ SECTIONS
. = ALIGN(PAGE_SIZE);
___init_begin = .;

.init.text :
{
. = ALIGN(PAGE_SIZE);
__sinittext = .;
INIT_TEXT
__einittext = .;
}
.init.data :
{
. = ALIGN(16);
INIT_DATA
}
.init.setup :
{
. = ALIGN(16);
___setup_start = .;
*(.init.setup)
___setup_end = .;
}
.initcall.init :
{
___initcall_start = .;
INITCALLS
___initcall_end = .;
}
.con_initcall.init :
{
___con_initcall_start = .;
*(.con_initcall.init)
___con_initcall_end = .;
}
INIT_TEXT_SECTION(PAGE_SIZE)
. = ALIGN(16);
INIT_DATA_SECTION(16)
PERCPU(4)
SECURITY_INIT

/* we have to discard exit text and such at runtime, not link time, to
* handle embedded cross-section references (alt instructions, bug
Expand All @@ -181,18 +146,9 @@ SECTIONS
EXIT_DATA
}

.init.ramfs :
{
. = ALIGN(4);
___initramfs_start = .;
*(.init.ramfs)
. = ALIGN(4);
___initramfs_end = .;
}

__l1_lma_start = .;

.text_l1 L1_CODE_START : AT(LOADADDR(.init.ramfs) + SIZEOF(.init.ramfs))
.text_l1 L1_CODE_START : AT(LOADADDR(.exit.data) + SIZEOF(.exit.data))
{
. = ALIGN(4);
__stext_l1 = .;
Expand Down

0 comments on commit 0b59eb8

Please sign in to comment.