diff mbox

[klibc] ppc64: Fix build failure with stricter as

Message ID 1305726080-27589-1-git-send-email-max@stro.at (mailing list archive)
State Not Applicable
Headers show

Commit Message

maximilian attems May 18, 2011, 1:41 p.m. UTC
From: Matthias Klose <doko@ubuntu.com>

Landed in Ubuntu klibc version 1.5.20-1ubuntu3.


Signed-off-by: maximilian attems <max@stro.at>
---
 usr/klibc/arch/ppc64/crt0.S |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

Comments

maximilian attems May 19, 2011, 11:20 a.m. UTC | #1
On Wed, 18 May 2011, maximilian attems wrote:

> From: Matthias Klose <doko@ubuntu.com>
> 
> Landed in Ubuntu klibc version 1.5.20-1ubuntu3.
> 
> 
> Signed-off-by: maximilian attems <max@stro.at>
> ---
>  usr/klibc/arch/ppc64/crt0.S |   17 +++++++++--------
>  1 files changed, 9 insertions(+), 8 deletions(-)
> 

thank you, merged in klibc git, will be in next 1.5.23.
diff mbox

Patch

diff --git a/usr/klibc/arch/ppc64/crt0.S b/usr/klibc/arch/ppc64/crt0.S
index a7776a1..c976d5c 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