aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Klose <doko@ubuntu.com>2011-03-16 21:10:30 +0100
committermaximilian attems <max@stro.at>2011-05-19 12:09:12 +0200
commita74424afaa20545bdd6e8b802e2e55d9012c83af (patch)
tree720a542240fee750ca5887dd7f6ed4c59f457194
parenta2a6f306e75a8e4485cba9e2d6197ce9cae4305b (diff)
downloadklibc-a74424afaa20545bdd6e8b802e2e55d9012c83af.tar.gz
[klibc] ppc64: Fix build failure with stricter as
Landed in Ubuntu klibc version 1.5.20-1ubuntu3. Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/klibc/arch/ppc64/crt0.S17
1 files changed, 9 insertions, 8 deletions
diff --git a/usr/klibc/arch/ppc64/crt0.S b/usr/klibc/arch/ppc64/crt0.S
index a7776a15f4c4d..c976d5c1450b0 100644
--- a/usr/klibc/arch/ppc64/crt0.S
+++ b/usr/klibc/arch/ppc64/crt0.S
@@ -12,16 +12,17 @@
.section ".toc","aw"
.LC0: .tc environ[TC],environ
+ .text
+ .align 4
+
.section ".opd","aw"
- .align 3
- .globl _start
_start:
- .quad ._start
- .quad .TOC.@tocbase, 0
-
- .text
- .globl ._start
+ .quad ._start, .TOC.@tocbase, 0
+ .previous
+ .size _start, 24
.type ._start,@function
+ .globl _start
+ .globl ._start
._start:
stdu %r1,-32(%r1)
addi %r3,%r1,32
@@ -29,4 +30,4 @@ _start:
b .__libc_init
nop
- .size _start,.-_start
+ .size ._start,.-._start