mirror of git://sourceware.org/git/glibc.git
1. Replace
if ((((uintptr_t) &_d) & (__alignof (double) - 1)) != 0)
which may be optimized out by compiler, with
int
__attribute__ ((weak, noclone, noinline))
is_aligned (void *p, int align)
{
return (((uintptr_t) p) & (align - 1)) != 0;
}
2. Add TEST_STACK_ALIGN_INIT to TEST_STACK_ALIGN.
3. Add a common TEST_STACK_ALIGN_INIT to check 16-byte stack alignment
for both i386 and x86-64.
4. Update powerpc to use TEST_STACK_ALIGN_INIT.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
|
||
|---|---|---|
| .. | ||
| fpu | ||
| multiarch | ||
| nptl | ||
| Makefile | ||
| add_n.S | ||
| bcopy.S | ||
| bzero.S | ||
| dl-hash.h | ||
| ffs.c | ||
| isa.h | ||
| memcmp.S | ||
| memcpy.S | ||
| memmove.S | ||
| mempcpy.S | ||
| memset.S | ||
| memusage.h | ||
| pthread_spin_trylock.S | ||
| strcmp.S | ||