Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165935
b: refs/heads/master
c: 8cc11f5
h: refs/heads/master
i:
  165933: cd15a1f
  165931: 3ea3452
  165927: e7efc7b
  165919: 4ed2904
v: v3
  • Loading branch information
Tim Abbott authored and Michal Simek committed Sep 21, 2009
1 parent 728155b commit a8c0295
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 32 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: 1f74b1f7e5be08e4b884c8bd9e776f0e440b14f1
refs/heads/master: 8cc11f5ab5384dad6c63905f71882e65cd70b7b7
39 changes: 8 additions & 31 deletions trunk/arch/microblaze/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ OUTPUT_ARCH(microblaze)
ENTRY(_start)

#include <asm-generic/vmlinux.lds.h>
#include <asm/page.h>
#include <asm/thread_info.h>

jiffies = jiffies_64 + 4;

Expand All @@ -39,12 +41,7 @@ SECTIONS {

. = ALIGN(16);
RODATA
. = ALIGN(16);
__ex_table : {
__start___ex_table = .;
*(__ex_table)
__stop___ex_table = .;
}
EXCEPTION_TABLE(16)

/*
* sdata2 section can go anywhere, but must be word aligned
Expand All @@ -61,23 +58,14 @@ SECTIONS {
}

_sdata = . ;
.data ALIGN (4096) : { /* page aligned when MMU used - origin 0x4 */
DATA_DATA
CONSTRUCTORS
}
. = ALIGN(32);
.data.cacheline_aligned : { *(.data.cacheline_aligned) }
RW_DATA_SECTION(32, PAGE_SIZE, THREAD_SIZE)
_edata = . ;

/* Reserve some low RAM for r0 based memory references */
. = ALIGN(0x4) ;
r0_ram = . ;
. = . + 4096; /* a page should be enough */

/* The initial task */
. = ALIGN(8192);
.data.init_task : { *(.data.init_task) }

/* Under the microblaze ABI, .sdata and .sbss must be contiguous */
. = ALIGN(8);
.sdata : {
Expand All @@ -96,12 +84,7 @@ SECTIONS {

__init_begin = .;

. = ALIGN(4096);
.init.text : {
_sinittext = . ;
INIT_TEXT
_einittext = .;
}
INIT_TEXT_SECTION(PAGE_SIZE)

.init.data : {
INIT_DATA
Expand All @@ -115,21 +98,15 @@ SECTIONS {
}

.init.setup : {
__setup_start = .;
*(.init.setup)
__setup_end = .;
INIT_SETUP(0)
}

.initcall.init : {
__initcall_start = .;
INITCALLS
__initcall_end = .;
INIT_CALLS
}

.con_initcall.init : {
__con_initcall_start = .;
*(.con_initcall.init)
__con_initcall_end = .;
CON_INITCALL
}

SECURITY_INIT
Expand Down

0 comments on commit a8c0295

Please sign in to comment.