diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-08-05 14:12:10 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-08-05 14:12:10 -0400 |
commit | 32e7bd78ae3b290f28ada2b3d58460068ce08781 (patch) | |
tree | fc5cdce95dae88b12ec808f9eb0f017cdd497880 /crt/mips/crti.s | |
parent | 7d9a5c6af7738abe31d7631d6ae7194f94e850eb (diff) | |
download | musl-32e7bd78ae3b290f28ada2b3d58460068ce08781.tar.gz musl-32e7bd78ae3b290f28ada2b3d58460068ce08781.tar.bz2 musl-32e7bd78ae3b290f28ada2b3d58460068ce08781.tar.xz musl-32e7bd78ae3b290f28ada2b3d58460068ce08781.zip |
align mips _init/_fini functions
since .init and .fini are not .text, the toolchain does not seem to
align them for code by default. this yields random breakage depending
on the object sizes the linker is dealing with.
Diffstat (limited to 'crt/mips/crti.s')
-rw-r--r-- | crt/mips/crti.s | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crt/mips/crti.s b/crt/mips/crti.s index cbc6e3e9..b1593d19 100644 --- a/crt/mips/crti.s +++ b/crt/mips/crti.s @@ -2,6 +2,7 @@ .section .init .global _init +.align 2 _init: subu $sp,$sp,32 sw $gp,24($sp) @@ -9,6 +10,7 @@ _init: .section .fini .global _fini +.align 2 _fini: subu $sp,$sp,32 sw $gp,24($sp) |