Get TEST_LIBC_CALLS passing on AARCH64

This commit is contained in:
Justine Tunney 2023-05-13 02:41:41 -07:00
parent 802e7eb4ef
commit ba49e86e20
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
22 changed files with 65 additions and 7 deletions

View file

@ -35,6 +35,8 @@
#include "libc/x/x.h"
#include "third_party/xed/x86.h"
#ifdef __x86_64__
volatile bool gotsegv;
volatile bool gotbusted;
struct sigaction old[2];
@ -214,3 +216,5 @@ TEST(mprotect, testZeroSize_doesNothing) {
EXPECT_FALSE(gotsegv);
EXPECT_FALSE(gotbusted);
}
#endif /* __x86_64__ */