Module Name: src
Committed By: matt
Date: Sat Jul 2 20:16:09 UTC 2011
Modified Files:
src/lib/csu/arch/powerpc: crt0.S
Log Message:
The kernel and ld.elf_so call with a different order for
cleanup, obj, ps_strings so deal with it.
With this change, USE_COMPILERCRTSTUFF=no works.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/csu/arch/powerpc/crt0.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/arch/powerpc/crt0.S
diff -u src/lib/csu/arch/powerpc/crt0.S:1.3 src/lib/csu/arch/powerpc/crt0.S:1.4
--- src/lib/csu/arch/powerpc/crt0.S:1.3 Fri Jul 1 02:59:05 2011
+++ src/lib/csu/arch/powerpc/crt0.S Sat Jul 2 20:16:09 2011
@@ -29,7 +29,7 @@
#include <powerpc/asm.h>
-RCSID("$NetBSD: crt0.S,v 1.3 2011/07/01 02:59:05 joerg Exp $")
+RCSID("$NetBSD: crt0.S,v 1.4 2011/07/02 20:16:09 matt Exp $")
STRONG_ALIAS(_start,__start)
@@ -45,9 +45,9 @@
addis %r13,%r11,_SDA_BASE_-1b@ha
addi %r13,%r13,_SDA_BASE_-1b@l
- mr %r3,%r6
- mr %r4,%r7
- mr %r5,%r8
+ mr %r3,%r7 /* cleanup */
+ mr %r4,%r6 /* obj */
+ mr %r5,%r8 /* ps_strings */
b ___start
END(__start)