(ALIGNARG): ELF .align directive uses a log, not a byte-count.
authorUlrich Drepper <drepper@redhat.com>
Tue, 19 May 1998 16:11:52 +0000 (16:11 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 19 May 1998 16:11:52 +0000 (16:11 +0000)
sysdeps/arm/sysdep.h

index 28dd402..eeef7aa 100644 (file)
@@ -25,8 +25,7 @@
 
 #ifdef HAVE_ELF
 
-/* ELF uses byte-counts for .align, most others use log2 of count of bytes.  */
-#define ALIGNARG(log2) 1<<log2
+#define ALIGNARG(log2) log2
 /* For ELF we need the `.type' directive to make shared libs work right.  */
 #define ASM_TYPE_DIRECTIVE(name,typearg) .type name,%##typearg;
 #define ASM_SIZE_DIRECTIVE(name) .size name,.-name