Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166423
b: refs/heads/master
c: 123f3e1
h: refs/heads/master
i:
  166421: 9d1ad3b
  166419: 7c9a4c0
  166415: 47e23ca
v: v3
  • Loading branch information
Tim Abbott authored and H. Peter Anvin committed Sep 18, 2009
1 parent 4c3905e commit 6a89301
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 45 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: 07e81d61605f885920f31634a65aace52beb97db
refs/heads/master: 123f3e1d76952759c0fc8b4fec55a3fc8084d56f
47 changes: 3 additions & 44 deletions trunk/arch/x86/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,7 @@ SECTIONS

NOTES :text :note

/* Exception table */
. = ALIGN(16);
__ex_table : AT(ADDR(__ex_table) - LOAD_OFFSET) {
__start___ex_table = .;
*(__ex_table)
__stop___ex_table = .;
} :text = 0x9090
EXCEPTION_TABLE(16) :text = 0x9090

RO_DATA(PAGE_SIZE)

Expand Down Expand Up @@ -207,45 +201,19 @@ SECTIONS
PERCPU_VADDR(0, :percpu)
#endif

.init.text : AT(ADDR(.init.text) - LOAD_OFFSET) {
_sinittext = .;
INIT_TEXT
_einittext = .;
}
INIT_TEXT_SECTION(PAGE_SIZE)
#ifdef CONFIG_X86_64
:init
#endif

.init.data : AT(ADDR(.init.data) - LOAD_OFFSET) {
INIT_DATA
}

. = ALIGN(16);
.init.setup : AT(ADDR(.init.setup) - LOAD_OFFSET) {
__setup_start = .;
*(.init.setup)
__setup_end = .;
}
.initcall.init : AT(ADDR(.initcall.init) - LOAD_OFFSET) {
__initcall_start = .;
INITCALLS
__initcall_end = .;
}

.con_initcall.init : AT(ADDR(.con_initcall.init) - LOAD_OFFSET) {
__con_initcall_start = .;
*(.con_initcall.init)
__con_initcall_end = .;
}
INIT_DATA_SECTION(16)

.x86_cpu_dev.init : AT(ADDR(.x86_cpu_dev.init) - LOAD_OFFSET) {
__x86_cpu_dev_start = .;
*(.x86_cpu_dev.init)
__x86_cpu_dev_end = .;
}

SECURITY_INIT

. = ALIGN(8);
.parainstructions : AT(ADDR(.parainstructions) - LOAD_OFFSET) {
__parainstructions = .;
Expand Down Expand Up @@ -276,15 +244,6 @@ SECTIONS
EXIT_DATA
}

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

#if !defined(CONFIG_X86_64) || !defined(CONFIG_SMP)
PERCPU(PAGE_SIZE)
#endif
Expand Down

0 comments on commit 6a89301

Please sign in to comment.