summaryrefslogtreecommitdiff
blob: 09f98ab337071f1a4e0cfc46393742d3e3af9c64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Index: bionic-8.1.0_p41/bionic/libc/Android.bp
===================================================================
--- bionic-8.1.0_p41.orig/bionic/libc/Android.bp
+++ bionic-8.1.0_p41/bionic/libc/Android.bp
@@ -1800,6 +1800,7 @@ cc_library {
     shared_libs: ["libdl"],
     whole_static_libs: ["libc_common", "libjemalloc"],
 
+    ldflags: ["-Wl,--no-eh-frame-hdr"],
     nocrt: true,
 
     arch: {
Index: bionic-8.1.0_p41/bionic/libm/Android.bp
===================================================================
--- bionic-8.1.0_p41.orig/bionic/libm/Android.bp
+++ bionic-8.1.0_p41/bionic/libm/Android.bp
@@ -277,6 +277,7 @@ cc_library {
         },
     },
 
+    ldflags: ["-Wl,--no-eh-frame-hdr"],
     // arch-specific settings
     arch: {
         arm: {
Index: bionic-8.1.0_p41/bionic/linker/Android.bp
===================================================================
--- bionic-8.1.0_p41.orig/bionic/linker/Android.bp
+++ bionic-8.1.0_p41/bionic/linker/Android.bp
@@ -78,6 +78,7 @@ cc_binary {
         "-shared",
         "-Wl,-Bsymbolic",
         "-Wl,--exclude-libs,ALL",
+        "-Wl,--no-eh-frame-hdr"
     ],
 
     cflags: [