Browse Source

[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>
David S. Miller 18 years ago
parent
commit
0c0d345e25
2 changed files with 4 additions and 0 deletions
  1. 2 0
      arch/sparc/kernel/vmlinux.lds.S
  2. 2 0
      arch/sparc64/kernel/vmlinux.lds.S

+ 2 - 0
arch/sparc/kernel/vmlinux.lds.S

@@ -35,6 +35,8 @@ SECTIONS
   __ex_table : { *(__ex_table) }
   __stop___ex_table = .;
 
+  NOTES
+
   . = ALIGN(4096);
   __init_begin = .;
   _sinittext = .;

+ 2 - 0
arch/sparc64/kernel/vmlinux.lds.S

@@ -45,6 +45,8 @@ SECTIONS
   __ex_table : { *(__ex_table) }
   __stop___ex_table = .;
 
+  NOTES
+
   . = ALIGN(PAGE_SIZE);
   __init_begin = .;
   .init.text : {