Parcourir la source

[Pal] Make _dl_debug_status versioned to PAL_PRIVATE not GLIBC

Dynamic symbol of _dl_debug_state is interface for debugger. Not
for dependent library or executable. So there is no point to put it in
GLIBC version. This patch puts _dl_debug_status symbol to PAL_PRIVATE.
So that the next patch eliminates rename in glibc. _dl_debug_status
-> __libc_dl_debug_status.
Isaku Yamahata il y a 5 ans
Parent
commit
36b41bc8ca

+ 4 - 4
Pal/src/host/FreeBSD/pal.map

@@ -1,7 +1,3 @@
-GLIBC {
-    global:
-        r_debug_state;
-};
 PAL {
     global:
         # Drawbridge ABIs
@@ -54,3 +50,7 @@ PAL {
 
     local: *;
 };
+PAL_PRIVATE {
+    global:
+        r_debug_state;
+};

+ 4 - 4
Pal/src/host/Linux/pal.map

@@ -1,7 +1,3 @@
-GLIBC {
-    global:
-        _dl_debug_state;
-};
 PAL {
     global:
         # Drawbridge ABIs
@@ -55,3 +51,7 @@ PAL {
 
     local: *;
 };
+PAL_PRIVATE {
+    global:
+        _dl_debug_state;
+};

+ 4 - 4
Pal/src/host/Skeleton/pal.map

@@ -1,7 +1,3 @@
-GLIBC {
-    global:
-        _dl_debug_state;
-};
 PAL {
     global:
         # Drawbridge ABIs
@@ -54,3 +50,7 @@ PAL {
 
     local: *;
 };
+PAL_PRIVATE {
+    global:
+        _dl_debug_state;
+};

+ 4 - 4
Pal/src/security/Linux/pal-sec.map

@@ -1,9 +1,9 @@
-GLIBC {
-    global:
-        _dl_debug_state;
-};
 PAL {
     global:
         _r_debug;
     local: *;
 };
+PAL_PRIVATE {
+    global:
+        _dl_debug_state;
+};