diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-07-22 22:19:05 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-24 16:24:34 -0400 |
commit | 0c0d345e2516dd6285834e6b0d54825e40823d5a (patch) | |
tree | d8f5b2c8e87ac44d6e98c09c68a68ab075c9d7a9 | |
parent | 86ac92ee694e3cd5991c076bab2f4c63526f38bc (diff) |
[SPARC]: Add missing NOTES section.
This fixes boot failures when the build-id LD option is
actually used, because without it we end up with multiple
PT_LOAD sections which the SILO boot loader cannot handle.
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc/kernel/vmlinux.lds.S | 2 | ||||
-rw-r--r-- | arch/sparc64/kernel/vmlinux.lds.S | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/arch/sparc/kernel/vmlinux.lds.S b/arch/sparc/kernel/vmlinux.lds.S index 47583887abc6..15109c156e83 100644 --- a/arch/sparc/kernel/vmlinux.lds.S +++ b/arch/sparc/kernel/vmlinux.lds.S | |||
@@ -35,6 +35,8 @@ SECTIONS | |||
35 | __ex_table : { *(__ex_table) } | 35 | __ex_table : { *(__ex_table) } |
36 | __stop___ex_table = .; | 36 | __stop___ex_table = .; |
37 | 37 | ||
38 | NOTES | ||
39 | |||
38 | . = ALIGN(4096); | 40 | . = ALIGN(4096); |
39 | __init_begin = .; | 41 | __init_begin = .; |
40 | _sinittext = .; | 42 | _sinittext = .; |
diff --git a/arch/sparc64/kernel/vmlinux.lds.S b/arch/sparc64/kernel/vmlinux.lds.S index 481861764deb..b982fa3dd748 100644 --- a/arch/sparc64/kernel/vmlinux.lds.S +++ b/arch/sparc64/kernel/vmlinux.lds.S | |||
@@ -45,6 +45,8 @@ SECTIONS | |||
45 | __ex_table : { *(__ex_table) } | 45 | __ex_table : { *(__ex_table) } |
46 | __stop___ex_table = .; | 46 | __stop___ex_table = .; |
47 | 47 | ||
48 | NOTES | ||
49 | |||
48 | . = ALIGN(PAGE_SIZE); | 50 | . = ALIGN(PAGE_SIZE); |
49 | __init_begin = .; | 51 | __init_begin = .; |
50 | .init.text : { | 52 | .init.text : { |