H.J. Lu
79aec84102
Properly check stack alignment [BZ #27901 ]
...
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>
2021-05-24 07:42:12 -07:00
..
2021-04-13 16:33:27 -03:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-05-24 07:42:12 -07:00
2021-04-23 17:06:46 +02:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-03-01 15:58:58 +01:00
2015-08-27 09:04:54 -07:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2015-08-27 09:04:54 -07:00
2021-01-21 15:54:50 +00:00
2021-01-21 15:54:50 +00:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-04-15 09:47:43 +01:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-04-15 09:47:59 +01:00
2021-04-15 09:47:59 +01:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2017-06-26 22:02:24 +00:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2015-07-09 06:50:12 -07:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2020-07-11 09:34:03 -07:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2015-08-27 09:04:54 -07:00
2021-01-02 12:17:34 -08:00
2015-08-27 09:04:54 -07:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2014-06-25 17:52:56 +00:00
2021-04-23 17:06:48 +02:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2013-09-23 00:52:09 -04:00
2021-01-02 12:17:34 -08:00
2021-02-25 12:13:02 +01:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2020-04-07 06:44:37 -07:00
2021-04-21 14:35:53 +01:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-01-02 12:17:34 -08:00
2021-03-01 15:58:01 +01:00
2018-08-10 09:07:44 +02:00