mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-13 08:40:07 +00:00
(ALIGNARG): ELF .align directive uses a log, not a byte-count.
This commit is contained in:
parent
69069c4a57
commit
0c56aa6338
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user