aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2024-05-21 05:28:29 -0700
committerH.J. Lu <hjl.tools@gmail.com>2024-05-21 07:05:08 -0700
commit437c94e04b82b410d72e173c2bfacd8af27abc53 (patch)
tree23cff3deb46413d9e1c284f61d38efe4962a5a06
parent0fed0b250f728f38bca5f6fba1dcecdccfc6a44e (diff)
downloadglibc-437c94e04b82b410d72e173c2bfacd8af27abc53.zip
glibc-437c94e04b82b410d72e173c2bfacd8af27abc53.tar.gz
glibc-437c94e04b82b410d72e173c2bfacd8af27abc53.tar.bz2
Remove the clone3 symbol from libc.a [BZ #31770]
clone3 isn't exported from glibc and is hidden in libc.so. Fix BZ #31770 by removing clone3 alias. Signed-off-by: H.J. Lu <hjl.tools@gmail.com> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/arc/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/arm/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/i386/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/loongarch/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/mips/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc64/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/riscv/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-32/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/s390/s390-64/clone3.S1
-rw-r--r--sysdeps/unix/sysv/linux/x86_64/clone3.S1
11 files changed, 0 insertions, 11 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/clone3.S b/sysdeps/unix/sysv/linux/aarch64/clone3.S
index 92d69a5..e28aaa5 100644
--- a/sysdeps/unix/sysv/linux/aarch64/clone3.S
+++ b/sysdeps/unix/sysv/linux/aarch64/clone3.S
@@ -82,4 +82,3 @@ thread_start:
.size thread_start, .-thread_start
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/arc/clone3.S b/sysdeps/unix/sysv/linux/arc/clone3.S
index d9a2dff..38a2706 100644
--- a/sysdeps/unix/sysv/linux/arc/clone3.S
+++ b/sysdeps/unix/sysv/linux/arc/clone3.S
@@ -87,4 +87,3 @@ thread_start_clone3:
.size thread_start_clone3, .-thread_start_clone3
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/arm/clone3.S b/sysdeps/unix/sysv/linux/arm/clone3.S
index e759de9..094efc2 100644
--- a/sysdeps/unix/sysv/linux/arm/clone3.S
+++ b/sysdeps/unix/sysv/linux/arm/clone3.S
@@ -77,4 +77,3 @@ PSEUDO_END (__clone3)
.fnend
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/i386/clone3.S b/sysdeps/unix/sysv/linux/i386/clone3.S
index abb7356..6803e59 100644
--- a/sysdeps/unix/sysv/linux/i386/clone3.S
+++ b/sysdeps/unix/sysv/linux/i386/clone3.S
@@ -120,4 +120,3 @@ L(thread_start):
PSEUDO_END (__clone3)
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/loongarch/clone3.S b/sysdeps/unix/sysv/linux/loongarch/clone3.S
index 20eaf4a..dfffb1f 100644
--- a/sysdeps/unix/sysv/linux/loongarch/clone3.S
+++ b/sysdeps/unix/sysv/linux/loongarch/clone3.S
@@ -80,4 +80,3 @@ L (thread_start3):
END (__thread_start3)
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/mips/clone3.S b/sysdeps/unix/sysv/linux/mips/clone3.S
index 481b8ae..58925d6 100644
--- a/sysdeps/unix/sysv/linux/mips/clone3.S
+++ b/sysdeps/unix/sysv/linux/mips/clone3.S
@@ -158,4 +158,3 @@ L(thread_start_clone3):
END(__thread_start_clone3)
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone3.S b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone3.S
index 6fdb4a6..900c354 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone3.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone3.S
@@ -154,4 +154,3 @@ L(parent):
PSEUDO_END (__clone3)
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/riscv/clone3.S b/sysdeps/unix/sysv/linux/riscv/clone3.S
index 29264be..c81ee2a 100644
--- a/sysdeps/unix/sysv/linux/riscv/clone3.S
+++ b/sysdeps/unix/sysv/linux/riscv/clone3.S
@@ -76,4 +76,3 @@ L(thread_start):
END(__thread_start_clone3)
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/clone3.S b/sysdeps/unix/sysv/linux/s390/s390-32/clone3.S
index d344c2c..1ea633a 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-32/clone3.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-32/clone3.S
@@ -75,4 +75,3 @@ thread_start:
ASM_SIZE_DIRECTIVE (thread_start)
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/s390/s390-64/clone3.S b/sysdeps/unix/sysv/linux/s390/s390-64/clone3.S
index ca382d9..70ae7f1 100644
--- a/sysdeps/unix/sysv/linux/s390/s390-64/clone3.S
+++ b/sysdeps/unix/sysv/linux/s390/s390-64/clone3.S
@@ -75,4 +75,3 @@ thread_start:
ASM_SIZE_DIRECTIVE (thread_start)
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)
diff --git a/sysdeps/unix/sysv/linux/x86_64/clone3.S b/sysdeps/unix/sysv/linux/x86_64/clone3.S
index 5a2d422..4cc19e0 100644
--- a/sysdeps/unix/sysv/linux/x86_64/clone3.S
+++ b/sysdeps/unix/sysv/linux/x86_64/clone3.S
@@ -86,4 +86,3 @@ L(thread_start):
PSEUDO_END (__clone3)
libc_hidden_def (__clone3)
-weak_alias (__clone3, clone3)