fix abi-note alignment
Richard Henderson
rth@redhat.com
Mon Dec 9 17:11:00 GMT 2002
Bare ".align" means different things to different ports; it's
hit or miss whether it's a byte alignment or a power alignment.
Didn't cause any real problems, just added unnecessary padding.
r~
2002-12-09 Richard Henderson <rth@redhat.com>
* csu/abi-note.S: Use .p2align, not .align.
Index: abi-note.S
===================================================================
RCS file: /cvs/glibc/libc/csu/abi-note.S,v
retrieving revision 1.6
diff -c -p -d -u -r1.6 abi-note.S
--- abi-note.S 6 Jul 2001 05:26:24 -0000 1.6
+++ abi-note.S 10 Dec 2002 01:09:08 -0000
@@ -62,12 +62,13 @@ offset length contents
pointing at it. */
.section ".note.ABI-tag", "a"
- .align 4
+ .p2align 2
.long 1f - 0f /* name length */
.long 3f - 2f /* data length */
.long 1 /* note type */
0: .asciz "GNU" /* vendor name */
-1: .align 4
+1: .p2align 2
2: .long __ABI_TAG_OS /* note data: the ABI tag */
.long __ABI_TAG_VERSION
-3: .align 4 /* pad out section */
+ .p2align 2 /* pad out section */
+3:
More information about the Libc-alpha
mailing list