Update mipsel and mips64el multilib lib* and lib-bootstrap

Needed by:
  https://android-review.googlesource.com/#/c/101410
  https://android-review.googlesource.com/#/c/101022

Change-Id: Ia5f96fa2ee91984cba12983c9fb01a6b2e584209
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/crtbegin_dynamic.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/crtbegin_dynamic.o
deleted file mode 100644
index d3c366b..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/crtbegin_dynamic.o
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/crtend_android.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/crtend_android.o
deleted file mode 100644
index 6936f73..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/crtend_android.o
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/crtbegin_dynamic.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/crtbegin_dynamic.o
index 8d2d680..0938d8a 100644
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/crtbegin_dynamic.o
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/crtbegin_dynamic.o
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/crtend_android.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/crtend_android.o
index 20a1a26..c62fea0 100644
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/crtend_android.o
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/crtend_android.o
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/libc.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/libc.so
index 3e8871d..de1f6a9 100755
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/libc.so
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/libc.so
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/libdl.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/libdl.so
index 3c9e279..b6d32ed 100755
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/libdl.so
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib/libdl.so
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/crtbegin_dynamic.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/crtbegin_dynamic.o
deleted file mode 100644
index c8951c4..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/crtbegin_dynamic.o
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/crtend_android.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/crtend_android.o
deleted file mode 100644
index d646968..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/crtend_android.o
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/libc.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/libc.so
deleted file mode 100755
index 9554957..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/libc.so
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/libdl.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/libdl.so
deleted file mode 100755
index 66e219c..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib32/libdl.so
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/crtbegin_dynamic.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/crtbegin_dynamic.o
deleted file mode 100644
index da6f081..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/crtbegin_dynamic.o
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/crtend_android.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/crtend_android.o
deleted file mode 100644
index 1211dc6..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/crtend_android.o
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/libc.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/libc.so
deleted file mode 100755
index 1de0b20..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/libc.so
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/libdl.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/libdl.so
deleted file mode 100755
index 86f9fa8..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/lib64/libdl.so
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libc.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libc.so
deleted file mode 100755
index 8462482..0000000
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libc.so
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/crtbegin_dynamic.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/crtbegin_dynamic.o
new file mode 100644
index 0000000..e585a1e
--- /dev/null
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/crtbegin_dynamic.o
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/crtend_android.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/crtend_android.o
new file mode 100644
index 0000000..7572bef
--- /dev/null
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/crtend_android.o
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/libc.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/libc.so
new file mode 100755
index 0000000..683b951
--- /dev/null
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/libc.so
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/libdl.so
similarity index 95%
rename from ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so
rename to ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/libdl.so
index 62d382e..86c839e 100755
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr2/libdl.so
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/crtbegin_dynamic.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/crtbegin_dynamic.o
new file mode 100644
index 0000000..59d8192
--- /dev/null
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/crtbegin_dynamic.o
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/crtend_android.o b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/crtend_android.o
new file mode 100644
index 0000000..9fc01e8
--- /dev/null
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/crtend_android.o
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/libc.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/libc.so
new file mode 100755
index 0000000..3cbeddb
--- /dev/null
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/libc.so
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/libdl.so
similarity index 95%
copy from ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so
copy to ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/libdl.so
index 62d382e..23fbcc0 100755
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so
+++ b/ndk/platforms/android-9/arch-mips/lib-bootstrap/libr6/libdl.so
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/libr2 b/ndk/platforms/android-9/arch-mips/libr2
new file mode 120000
index 0000000..7951405
--- /dev/null
+++ b/ndk/platforms/android-9/arch-mips/libr2
@@ -0,0 +1 @@
+lib
\ No newline at end of file
diff --git a/ndk/platforms/android-9/arch-mips/libr6 b/ndk/platforms/android-9/arch-mips/libr6
new file mode 120000
index 0000000..f07d413
--- /dev/null
+++ b/ndk/platforms/android-9/arch-mips/libr6
@@ -0,0 +1 @@
+../../android-L/arch-mips64/libr6
\ No newline at end of file
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/crtbegin_dynamic.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/crtbegin_dynamic.o
index 1481847..b7e71c2 100644
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/crtbegin_dynamic.o
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/crtbegin_dynamic.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/crtend_android.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/crtend_android.o
index ca86236..0d9a9f8 100644
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/crtend_android.o
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/crtend_android.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/libc.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/libc.so
index 27a91d8..046420c 100755
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/libc.so
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/libc.so
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/libdl.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/libdl.so
index afca077..c692462 100755
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/libdl.so
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib/libdl.so
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/crtbegin_dynamic.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/crtbegin_dynamic.o
deleted file mode 100644
index 56f844e..0000000
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/crtbegin_dynamic.o
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/crtend_android.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/crtend_android.o
deleted file mode 100644
index eb3c116..0000000
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/crtend_android.o
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/libc.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/libc.so
deleted file mode 100755
index 1b54b76..0000000
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/libc.so
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/libdl.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/libdl.so
deleted file mode 100755
index e467a06..0000000
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib32/libdl.so
+++ /dev/null
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/crtbegin_dynamic.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/crtbegin_dynamic.o
index f70d0e2..a82686b 100644
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/crtbegin_dynamic.o
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/crtbegin_dynamic.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/crtend_android.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/crtend_android.o
index db176a4..5baefa2e 100644
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/crtend_android.o
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/crtend_android.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/libc.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/libc.so
index 42c711b..83086c6 100755
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/libc.so
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/libc.so
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/libdl.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/libdl.so
index 3d18141..0c519b2 100755
--- a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/libdl.so
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64/libdl.so
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/crtbegin_dynamic.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/crtbegin_dynamic.o
new file mode 100644
index 0000000..0ccead7
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/crtbegin_dynamic.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/crtend_android.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/crtend_android.o
new file mode 100644
index 0000000..54d930d
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/crtend_android.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/libc.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/libc.so
new file mode 100755
index 0000000..d568ed2
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/libc.so
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/libdl.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/libdl.so
new file mode 100755
index 0000000..a64b579
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/lib64r2/libdl.so
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/crtbegin_dynamic.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/crtbegin_dynamic.o
new file mode 100644
index 0000000..dd6f150
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/crtbegin_dynamic.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/crtend_android.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/crtend_android.o
new file mode 100644
index 0000000..e171cb7
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/crtend_android.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/libc.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/libc.so
new file mode 100755
index 0000000..7adefaf
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/libc.so
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/libdl.so
similarity index 94%
copy from ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so
copy to ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/libdl.so
index 62d382e..c2a9a7d 100755
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr2/libdl.so
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/crtbegin_dynamic.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/crtbegin_dynamic.o
new file mode 100644
index 0000000..1e206f5
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/crtbegin_dynamic.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/crtend_android.o b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/crtend_android.o
new file mode 100644
index 0000000..3402fd4
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/crtend_android.o
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/libc.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/libc.so
new file mode 100755
index 0000000..bfc69c6
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/libc.so
Binary files differ
diff --git a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/libdl.so
similarity index 94%
copy from ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so
copy to ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/libdl.so
index 62d382e..037db3c 100755
--- a/ndk/platforms/android-9/arch-mips/lib-bootstrap/libdl.so
+++ b/ndk/platforms/android-L/arch-mips64/lib-bootstrap/libr6/libdl.so
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib/libc.a b/ndk/platforms/android-L/arch-mips64/lib/libc.a
new file mode 100644
index 0000000..9d32b5f
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib/libc.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib/libm.a b/ndk/platforms/android-L/arch-mips64/lib/libm.a
new file mode 100644
index 0000000..50e741a
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib/libm.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib/libstdc++.a b/ndk/platforms/android-L/arch-mips64/lib/libstdc++.a
new file mode 100644
index 0000000..952bbd1
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib/libstdc++.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib/libz.a b/ndk/platforms/android-L/arch-mips64/lib/libz.a
new file mode 100644
index 0000000..0ebd2a1
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib/libz.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib64/libc.a b/ndk/platforms/android-L/arch-mips64/lib64/libc.a
index 4414b5c..a2ff090 100644
--- a/ndk/platforms/android-L/arch-mips64/lib64/libc.a
+++ b/ndk/platforms/android-L/arch-mips64/lib64/libc.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib64/libm.a b/ndk/platforms/android-L/arch-mips64/lib64/libm.a
index 59779f0..fbb9663 100644
--- a/ndk/platforms/android-L/arch-mips64/lib64/libm.a
+++ b/ndk/platforms/android-L/arch-mips64/lib64/libm.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib64/libstdc++.a b/ndk/platforms/android-L/arch-mips64/lib64/libstdc++.a
index ab62cf5..1a94771 100644
--- a/ndk/platforms/android-L/arch-mips64/lib64/libstdc++.a
+++ b/ndk/platforms/android-L/arch-mips64/lib64/libstdc++.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib64/libz.a b/ndk/platforms/android-L/arch-mips64/lib64/libz.a
index 0c3dfb6..1268279 100644
--- a/ndk/platforms/android-L/arch-mips64/lib64/libz.a
+++ b/ndk/platforms/android-L/arch-mips64/lib64/libz.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib64r2/libc.a b/ndk/platforms/android-L/arch-mips64/lib64r2/libc.a
new file mode 100644
index 0000000..6b02bf2
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib64r2/libc.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib64r2/libm.a b/ndk/platforms/android-L/arch-mips64/lib64r2/libm.a
new file mode 100644
index 0000000..f7f83d9
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib64r2/libm.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib64r2/libstdc++.a b/ndk/platforms/android-L/arch-mips64/lib64r2/libstdc++.a
new file mode 100644
index 0000000..9c4e35d
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib64r2/libstdc++.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/lib64r2/libz.a b/ndk/platforms/android-L/arch-mips64/lib64r2/libz.a
new file mode 100644
index 0000000..842b5a5
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/lib64r2/libz.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/libr2/libc.a b/ndk/platforms/android-L/arch-mips64/libr2/libc.a
new file mode 100644
index 0000000..9d32b5f
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/libr2/libc.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/libr2/libm.a b/ndk/platforms/android-L/arch-mips64/libr2/libm.a
new file mode 100644
index 0000000..50e741a
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/libr2/libm.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/libr2/libstdc++.a b/ndk/platforms/android-L/arch-mips64/libr2/libstdc++.a
new file mode 100644
index 0000000..952bbd1
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/libr2/libstdc++.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/libr2/libz.a b/ndk/platforms/android-L/arch-mips64/libr2/libz.a
new file mode 100644
index 0000000..0ebd2a1
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/libr2/libz.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/libr6/libc.a b/ndk/platforms/android-L/arch-mips64/libr6/libc.a
new file mode 100644
index 0000000..a4df17a
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/libr6/libc.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/libr6/libm.a b/ndk/platforms/android-L/arch-mips64/libr6/libm.a
new file mode 100644
index 0000000..c9681bd
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/libr6/libm.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/libr6/libstdc++.a b/ndk/platforms/android-L/arch-mips64/libr6/libstdc++.a
new file mode 100644
index 0000000..a9829c8
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/libr6/libstdc++.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/libr6/libz.a b/ndk/platforms/android-L/arch-mips64/libr6/libz.a
new file mode 100644
index 0000000..3954936
--- /dev/null
+++ b/ndk/platforms/android-L/arch-mips64/libr6/libz.a
Binary files differ
diff --git a/ndk/platforms/android-L/arch-mips64/src/crtbegin.c b/ndk/platforms/android-L/arch-mips64/src/crtbegin.c
index 2ea31ad..1fe8177 100644
--- a/ndk/platforms/android-L/arch-mips64/src/crtbegin.c
+++ b/ndk/platforms/android-L/arch-mips64/src/crtbegin.c
@@ -49,6 +49,8 @@
   __libc_init(raw_args, NULL, &main, &array);
 }
 
+#if defined(__LP64__)
+
 /*
  * This function prepares the return address with a branch-and-link
  * instruction (bal) and then uses a .cpsetup to compute the Global
@@ -90,5 +92,50 @@
 "       .set pop                    \n"
 );
 
+#else
+
+/*
+ * This function prepares the return address with a branch-and-link
+ * instruction (bal) and then uses a .cpload to compute the Global
+ * Offset Table (GOT) pointer ($gp). The $gp is then used to load
+ * the address of _do_start() into $t9 just before calling it.
+ * Terminating the stack with a NULL return address.
+ */
+__asm__ (
+"       .set push                   \n"
+"                                   \n"
+"       .text                       \n"
+"       .align  4                   \n"
+"       .type __start,@function     \n"
+"       .globl __start              \n"
+"       .globl  _start              \n"
+"                                   \n"
+"       .ent    __start             \n"
+"__start:                           \n"
+" _start:                           \n"
+"       .frame   $sp,32,$ra         \n"
+"       .mask   0x80000000,-4       \n"
+"                                   \n"
+"       .set noreorder              \n"
+"       bal     1f                  \n"
+"       nop                         \n"
+"1:                                 \n"
+"       .cpload $ra                 \n"
+"       .set reorder                \n"
+"                                   \n"
+"       move    $a0, $sp            \n"
+"       addiu   $sp, $sp, (-32)     \n"
+"       sw      $0, 28($sp)         \n"
+"       la      $t9, do_mips_start  \n"
+"       jalr    $t9                 \n"
+"                                   \n"
+"2:     b       2b                  \n"
+"       .end    __start             \n"
+"                                   \n"
+"       .set pop                    \n"
+);
+
+#endif
+
 #include "../../arch-common/bionic/__dso_handle.h"
 #include "atexit.h"