summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-02-27 07:15:23 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-02-27 07:15:23 +0000
commitfdad1e41aeb95bf6d512c3b547bad7bc0abf35d3 (patch)
treecbbe47f74210dfb9063d5703f3fb31b68fa41f58
parent696bb10172b558e966ed153baf75fe85f5b59665 (diff)
RELRO means the __{got,plt}_{start,end} symbols are superfluous
ok kettenis@
-rw-r--r--lib/libc/arch/alpha/Symbols.list2
-rw-r--r--lib/libc/arch/powerpc/Symbols.list2
-rw-r--r--lib/libc/arch/sparc64/Symbols.list2
-rw-r--r--lib/librthread/Symbols.map6
4 files changed, 0 insertions, 12 deletions
diff --git a/lib/libc/arch/alpha/Symbols.list b/lib/libc/arch/alpha/Symbols.list
index 9b9ff3e8bd3..6d779f754a2 100644
--- a/lib/libc/arch/alpha/Symbols.list
+++ b/lib/libc/arch/alpha/Symbols.list
@@ -2,8 +2,6 @@ __divl
__divlu
__divq
__divqu
-__plt_end
-__plt_start
__reml
__remlu
__remq
diff --git a/lib/libc/arch/powerpc/Symbols.list b/lib/libc/arch/powerpc/Symbols.list
index d7afea4eb31..c989b9de3c6 100644
--- a/lib/libc/arch/powerpc/Symbols.list
+++ b/lib/libc/arch/powerpc/Symbols.list
@@ -1,7 +1,5 @@
__end
__floatundidf
-__plt_end
-__plt_start
_mcount
fabsl
frexpl
diff --git a/lib/libc/arch/sparc64/Symbols.list b/lib/libc/arch/sparc64/Symbols.list
index 69b66c95f8c..c61f3f6cac0 100644
--- a/lib/libc/arch/sparc64/Symbols.list
+++ b/lib/libc/arch/sparc64/Symbols.list
@@ -52,6 +52,4 @@ _Qp_xtoq
__builtin_saveregs
__dtoul
__ftoul
-__plt_end
-__plt_start
_mcount
diff --git a/lib/librthread/Symbols.map b/lib/librthread/Symbols.map
index 1e6f28dd3ea..784b887cd01 100644
--- a/lib/librthread/Symbols.map
+++ b/lib/librthread/Symbols.map
@@ -9,12 +9,6 @@
_end;
__end;
- /* needed by ld.so until we switch to RELRO */
- __got_start;
- __got_end;
- __plt_start;
- __plt_end;
-
/* pthread implementation */
pthread_attr_destroy;
pthread_attr_getdetachstate;