Skip to content

Commit

Permalink
[SPARC]: Add missing NOTES section.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Jul 24, 2007
1 parent 86ac92e commit 0c0d345
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/sparc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ SECTIONS
__ex_table : { *(__ex_table) }
__stop___ex_table = .;

NOTES

. = ALIGN(4096);
__init_begin = .;
_sinittext = .;
Expand Down
2 changes: 2 additions & 0 deletions arch/sparc64/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ SECTIONS
__ex_table : { *(__ex_table) }
__stop___ex_table = .;

NOTES

. = ALIGN(PAGE_SIZE);
__init_begin = .;
.init.text : {
Expand Down

0 comments on commit 0c0d345

Please sign in to comment.