aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/aarch64/__read_tp.S
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-02-18 10:56:34 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-02-22 09:17:12 +0000
commitfb37ef69602a1ba635268cd9033a86adc817c53d (patch)
tree122fad3176fd79db0939156c0e28b064d695fb9f /sysdeps/unix/sysv/linux/aarch64/__read_tp.S
parent418f5783d987ed13fee217d8aad47b8b23b28a87 (diff)
downloadglibc-fb37ef69602a1ba635268cd9033a86adc817c53d.tar
glibc-fb37ef69602a1ba635268cd9033a86adc817c53d.tar.gz
glibc-fb37ef69602a1ba635268cd9033a86adc817c53d.tar.bz2
glibc-fb37ef69602a1ba635268cd9033a86adc817c53d.zip
aarch64: Remove the unused __read_tp symbol
This was likely a mistake in the original aarch64 port copied over from arm: on aarch64 tpidr_el0 register is always available. The __read_tp symbol is visible with static linking, but it's not part of the public ABI so it should be safe to remove.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64/__read_tp.S')
-rw-r--r--sysdeps/unix/sysv/linux/aarch64/__read_tp.S25
1 files changed, 0 insertions, 25 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/__read_tp.S b/sysdeps/unix/sysv/linux/aarch64/__read_tp.S
deleted file mode 100644
index 3a18d73399..0000000000
--- a/sysdeps/unix/sysv/linux/aarch64/__read_tp.S
+++ /dev/null
@@ -1,25 +0,0 @@
-/* Copyright (C) 2005-2021 Free Software Foundation, Inc.
-
- This file is part of the GNU C Library.
-
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of the
- License, or (at your option) any later version.
-
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, see
- <https://www.gnu.org/licenses/>. */
-
-#include <sysdep.h>
-
- .hidden __read_tp
-ENTRY (__read_tp)
- mrs x0, tpidr_el0
- RET
-END (__read_tp)