Skip to content

Commit

Permalink
[POWERPC] Fix ppc kernels after build-id addition
Browse files Browse the repository at this point in the history
This patch fixes arch/ppc kernels, at least for prep subarch, after
build-id addition.  Without this, kernels were 3 times the size and
bootloader refused to load them.  Now they are back to normal again.

Tested only with Roland McGrath's "Use LDFLAGS_MODULE only for .ko
links" patch applied - boots and works fine.

Signed-off-by: Meelis Roos <mroos@linux.ee>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Meelis Roos authored and Paul Mackerras committed Sep 22, 2007
1 parent 20b31b5 commit 3e61576
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/ppc/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ SECTIONS
. = ALIGN(8192);
.data.init_task : { *(.data.init_task) }

NOTES

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

0 comments on commit 3e61576

Please sign in to comment.