Align to 2**3, not 2**5. This works around a bug in gas 2.11.2
which was uncovered by the new crti/crtn (bug is fixed in newer versions of gas).
This commit is contained in:
parent
6a088e4e31
commit
6a34f16f1f
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: initfini_asm.S,v 1.1 2001/07/17 03:41:04 thorpej Exp $ */
|
/* $NetBSD: initfini_asm.S,v 1.2 2002/11/22 17:25:46 thorpej Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This file placed in the public domain.
|
* This file placed in the public domain.
|
||||||
|
@ -11,12 +11,12 @@
|
||||||
br ra, 1f
|
br ra, 1f
|
||||||
1: LDGP(ra)
|
1: LDGP(ra)
|
||||||
jsr ra, i_am_init
|
jsr ra, i_am_init
|
||||||
.align 5
|
.align 3
|
||||||
.previous
|
.previous
|
||||||
|
|
||||||
.section .fini, "ax", @progbits
|
.section .fini, "ax", @progbits
|
||||||
br ra, 1f
|
br ra, 1f
|
||||||
1: LDGP(ra)
|
1: LDGP(ra)
|
||||||
jsr ra, i_am_fini
|
jsr ra, i_am_fini
|
||||||
.align 5
|
.align 3
|
||||||
.previous
|
.previous
|
||||||
|
|
Loading…
Reference in New Issue