Update Android.bp for setjmp cookies
Change-Id: I57245e4eedf9b8e1edc7de46208be5aa47c94b28
diff --git a/libc/Android.bp b/libc/Android.bp
index 7a4a2bd..507f6e4 100644
--- a/libc/Android.bp
+++ b/libc/Android.bp
@@ -674,7 +674,7 @@
// automatically included.
cc_library_static {
srcs: [
- // These two depend on getentropy_linux.cpp, which isn't in libc_ndk.a.
+ // These two depend on getentropy_linux.c, which isn't in libc_ndk.a.
"upstream-openbsd/lib/libc/crypt/arc4random.c",
"upstream-openbsd/lib/libc/crypt/arc4random_uniform.c",
@@ -927,11 +927,12 @@
// initialized, resulting in nullptr dereferences.
"bionic/getauxval.cpp",
- // These three require getauxval, which isn't available on older
+ // These four require getauxval, which isn't available on older
// platforms.
"bionic/getentropy_linux.c",
"bionic/sysconf.cpp",
"bionic/vdso.cpp",
+ "bionic/setjmp_cookie.cpp",
],
cflags: libc_common_cflags + ["-Wframe-larger-than=2048"],