Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166183
b: refs/heads/master
c: 5d150a9
h: refs/heads/master
i:
  166181: 74d156e
  166179: e49ddf4
  166175: e1d9536
v: v3
  • Loading branch information
Tim Abbott authored and Linus Torvalds committed Sep 25, 2009
1 parent 8cedda1 commit 8bbdbd8
Show file tree
Hide file tree
Showing 4 changed files with 15 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: cd3db323eb88514c45d25db51335a522560af702
refs/heads/master: 5d150a97f9391f5bcd7ba0d59d7a11c3de3cea80
29 changes: 6 additions & 23 deletions trunk/arch/um/include/asm/common.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@

. = ALIGN(4096);
.note : { *(.note.*) }
__ex_table : {
__start___ex_table = .;
*(__ex_table)
__stop___ex_table = .;
}
EXCEPTION_TABLE(0)

BUG_TABLE

Expand All @@ -43,28 +39,17 @@
}

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

. = ALIGN(32);
.data.percpu : {
__per_cpu_start = . ;
*(.data.percpu)
__per_cpu_end = . ;
}
PERCPU(32)

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

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

.uml.initcall.init : {
Expand Down Expand Up @@ -118,8 +103,6 @@

. = ALIGN(4096);
.init.ramfs : {
__initramfs_start = .;
*(.init.ramfs)
__initramfs_end = .;
INIT_RAM_FS
}

9 changes: 2 additions & 7 deletions trunk/arch/um/kernel/dyn.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ SECTIONS
_text = .;
_stext = .;
__init_begin = .;
.init.text : {
_sinittext = .;
INIT_TEXT
_einittext = .;
}
INIT_TEXT_SECTION(PAGE_SIZE)

. = ALIGN(PAGE_SIZE);

Expand Down Expand Up @@ -96,8 +92,7 @@ SECTIONS
.init_array : { *(.init_array) }
.fini_array : { *(.fini_array) }
.data : {
. = ALIGN(KERNEL_STACK_SIZE); /* init_task */
*(.data.init_task)
INIT_TASK_DATA(KERNEL_STACK_SIZE)
. = ALIGN(KERNEL_STACK_SIZE);
*(.data.init_irqstack)
DATA_DATA
Expand Down
26 changes: 6 additions & 20 deletions trunk/arch/um/kernel/uml.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,7 @@ SECTIONS
_text = .;
_stext = .;
__init_begin = .;
.init.text : {
_sinittext = .;
INIT_TEXT
_einittext = .;
}
INIT_TEXT_SECTION(PAGE_SIZE)
. = ALIGN(PAGE_SIZE);

.text :
Expand All @@ -52,8 +48,7 @@ SECTIONS
init.data : { INIT_DATA }
.data :
{
. = ALIGN(KERNEL_STACK_SIZE); /* init_task */
*(.data.init_task)
INIT_TASK_DATA(KERNEL_STACK_SIZE)
. = ALIGN(KERNEL_STACK_SIZE);
*(.data.init_irqstack)
DATA_DATA
Expand Down Expand Up @@ -81,19 +76,10 @@ SECTIONS
_edata = .;
PROVIDE (edata = .);
. = ALIGN(PAGE_SIZE);
.sbss :
{
__bss_start = .;
PROVIDE(_bss_start = .);
*(.sbss)
*(.scommon)
}
.bss :
{
*(.dynbss)
*(.bss)
*(COMMON)
}
__bss_start = .;
PROVIDE(_bss_start = .);
SBSS(0)
BSS(0)
_end = .;
PROVIDE (end = .);

Expand Down

0 comments on commit 8bbdbd8

Please sign in to comment.