Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145662
b: refs/heads/master
c: 444e0ae
h: refs/heads/master
v: v3
  • Loading branch information
Sam Ravnborg authored and Ingo Molnar committed Apr 29, 2009
1 parent 6f8e4d7 commit 60cc909
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 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: afb8095a7eab32e5760613fa73d2f80a39cc45bf
refs/heads/master: 444e0ae4831f99ba25062d9a5ccb7117c62841a0
14 changes: 14 additions & 0 deletions trunk/arch/x86/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,26 @@ PHDRS {
note PT_NOTE FLAGS(0); /* ___ */
}

SECTIONS
{
#ifdef CONFIG_X86_32
. = LOAD_OFFSET + LOAD_PHYSICAL_ADDR;
phys_startup_32 = startup_32 - LOAD_OFFSET;
#else
. = __START_KERNEL;
phys_startup_64 = startup_64 - LOAD_OFFSET;
#endif

#ifdef CONFIG_X86_32
# include "vmlinux_32.lds.S"
#else
# include "vmlinux_64.lds.S"
#endif

STABS_DEBUG
DWARF_DEBUG
}


#ifdef CONFIG_X86_32
ASSERT((_end - LOAD_OFFSET <= KERNEL_IMAGE_SIZE),
Expand Down
9 changes: 0 additions & 9 deletions trunk/arch/x86/kernel/vmlinux_32.lds.S
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
SECTIONS
{
. = LOAD_OFFSET + LOAD_PHYSICAL_ADDR;
phys_startup_32 = startup_32 - LOAD_OFFSET;

/* Text and read-only data */
.text.head : AT(ADDR(.text.head) - LOAD_OFFSET) {
_text = .;
Expand Down Expand Up @@ -205,7 +200,3 @@ SECTIONS
*(.exitcall.exit)
*(.discard)
}

STABS_DEBUG
DWARF_DEBUG
}
9 changes: 0 additions & 9 deletions trunk/arch/x86/kernel/vmlinux_64.lds.S
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
SECTIONS
{
. = __START_KERNEL;
phys_startup_64 = startup_64 - LOAD_OFFSET;

/* Text and read-only data */
.text : AT(ADDR(.text) - LOAD_OFFSET) {
_text = .;
Expand Down Expand Up @@ -277,7 +272,3 @@ SECTIONS
*(.eh_frame)
*(.discard)
}

STABS_DEBUG
DWARF_DEBUG
}

0 comments on commit 60cc909

Please sign in to comment.