Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63082
b: refs/heads/master
c: 0fa63ad
h: refs/heads/master
v: v3
  • Loading branch information
Bernd Schmidt authored and Bryan Wu committed Jul 25, 2007
1 parent c9dbeb4 commit 11e4876
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 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: f1b927dc851a2eb1e13a8d21aca18036f6cb8629
refs/heads/master: 0fa63ad7d1450a7ea2b5e5f60bbc64f5ed5a5adc
16 changes: 10 additions & 6 deletions trunk/arch/blackfin/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
#include <asm-generic/vmlinux.lds.h>
#include <asm/mem_map.h>
#include <asm/page.h>
#include <asm/thread_info.h>

OUTPUT_FORMAT("elf32-bfin")
ENTRY(__start)
Expand Down Expand Up @@ -64,23 +65,27 @@ SECTIONS

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

. = ALIGN(32);
*(.data.cacheline_aligned)

. = ALIGN(PAGE_SIZE);
. = ALIGN(THREAD_SIZE);
__edata = .;
}

. = ALIGN(PAGE_SIZE);
___init_begin = .;
.init :
{
. = ALIGN(PAGE_SIZE);
__sinittext = .;
*(.init.text)
__einittext = .;
Expand Down Expand Up @@ -153,10 +158,9 @@ SECTIONS
__ebss_b_l1 = .;
}

. = LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1);
___init_end = ALIGN(PAGE_SIZE);
___init_end = LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1);

.bss ___init_end :
.bss LOADADDR(.data_b_l1) + SIZEOF(.data_b_l1) :
{
. = ALIGN(4);
___bss_start = .;
Expand Down

0 comments on commit 11e4876

Please sign in to comment.