(ALIGNARG): ELF .align directive uses a log, not a byte-count.

This commit is contained in:
Ulrich Drepper 1998-05-19 16:11:52 +00:00
parent 69069c4a57
commit 0c56aa6338

View 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