Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166189
b: refs/heads/master
c: 9d93f00
h: refs/heads/master
i:
  166187: 45f85f3
v: v3
  • Loading branch information
Geoffrey Thomas authored and Linus Torvalds committed Sep 25, 2009
1 parent 33c54cc commit 44e23be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 82 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: ea12c2ed547f415ef9699cc67374d90924592c9b
refs/heads/master: 9d93f00580243cc059510d9d6ac4d2f5e97e5b83
90 changes: 9 additions & 81 deletions trunk/arch/alpha/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -32,84 +32,21 @@ SECTIONS
} :kernel

RODATA

/* Exception table */
. = ALIGN(16);
__ex_table : {
__start___ex_table = .;
*(__ex_table)
__stop___ex_table = .;
}
EXCEPTION_TABLE(16)

/* Will be freed after init */
. = ALIGN(PAGE_SIZE);
/* Init code and data */
__init_begin = .;
.init.text : {
_sinittext = .;
INIT_TEXT
_einittext = .;
}
.init.data : {
INIT_DATA
}

. = ALIGN(16);
.init.setup : {
__setup_start = .;
*(.init.setup)
__setup_end = .;
}

. = ALIGN(8);
.initcall.init : {
__initcall_start = .;
INITCALLS
__initcall_end = .;
}

#ifdef CONFIG_BLK_DEV_INITRD
. = ALIGN(PAGE_SIZE);
.init.ramfs : {
__initramfs_start = .;
*(.init.ramfs)
__initramfs_end = .;
}
#endif

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

. = ALIGN(8);
SECURITY_INIT

__init_begin = ALIGN(PAGE_SIZE);
INIT_TEXT_SECTION(PAGE_SIZE)
INIT_DATA_SECTION(16)
PERCPU(PAGE_SIZE)

. = ALIGN(2 * PAGE_SIZE);
/* Align to THREAD_SIZE rather than PAGE_SIZE here so any padding page
needed for the THREAD_SIZE aligned init_task gets freed after init */
. = ALIGN(THREAD_SIZE);
__init_end = .;
/* Freed after init ends here */

. = ALIGN(PAGE_SIZE);
.data.page_aligned : {
*(.data.page_aligned)
}

. = ALIGN(64);
.data.cacheline_aligned : {
*(.data.cacheline_aligned)
}

_data = .;
/* Data */
.data : {
INIT_TASK_DATA(THREAD_SIZE)
DATA_DATA
CONSTRUCTORS
}
RW_DATA_SECTION(64, PAGE_SIZE, THREAD_SIZE)

.got : {
*(.got)
Expand All @@ -119,16 +56,7 @@ SECTIONS
}
_edata = .; /* End of data section */

__bss_start = .;
.sbss : {
*(.sbss)
*(.scommon)
}
.bss : {
*(.bss)
*(COMMON)
}
__bss_stop = .;
BSS_SECTION(0, 0, 0)
_end = .;

.mdebug 0 : {
Expand Down

0 comments on commit 44e23be

Please sign in to comment.