Add linker script to maintain binary ABI stability
libbinder ABI differs in the presence of PGO (profile guided
optimisation) file. This adds a linker script that make all the symbols
in libbinder global. This comes with a cost of slightly increased binary
size (737872 bytes to 737984 bytes).
Bug: 189438896
Bug: 190148312
Test: build
Change-Id: I6bf88f448495352ec72c0f310e0eb5ce79891e0b
diff --git a/libs/binder/libbinder.map b/libs/binder/libbinder.map
new file mode 100644
index 0000000..9ca14bc
--- /dev/null
+++ b/libs/binder/libbinder.map
@@ -0,0 +1,5 @@
+# b/190148312: Populate with correct list of ABI symbols
+LIBBINDER {
+ global:
+ *;
+};