From db19a093bba2009eaed0fbc545210480a2108dda Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Wed, 5 Dec 2018 00:46:09 +0000 Subject: [PATCH] Remove MD __sys_* private symbols. No references to any of these exist in the tree. The list was also erratic with different architectures exporting different things (arm64 and riscv exported none). Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D18425 --- lib/libc/amd64/Symbol.map | 3 --- lib/libc/arm/Symbol.map | 3 --- lib/libc/i386/Symbol.map | 3 --- lib/libc/mips/Symbol.map | 3 --- lib/libc/powerpc/Symbol.map | 2 -- lib/libc/powerpc64/Symbol.map | 2 -- lib/libc/sparc64/Symbol.map | 5 ----- 7 files changed, 21 deletions(-) diff --git a/lib/libc/amd64/Symbol.map b/lib/libc/amd64/Symbol.map index 7b1f7b7301ca..8b61122bbe5f 100644 --- a/lib/libc/amd64/Symbol.map +++ b/lib/libc/amd64/Symbol.map @@ -51,9 +51,7 @@ FBSD_1.0 { */ FBSDprivate_1.0 { /* PSEUDO syscalls */ - __sys_getlogin; _getlogin; - __sys_exit; _set_tp; ___longjmp; @@ -63,6 +61,5 @@ FBSDprivate_1.0 { signalcontext; __siglongjmp; _brk; - __sys_vfork; _vfork; }; diff --git a/lib/libc/arm/Symbol.map b/lib/libc/arm/Symbol.map index 6c3f2765f8b0..9950a56ee815 100644 --- a/lib/libc/arm/Symbol.map +++ b/lib/libc/arm/Symbol.map @@ -43,9 +43,7 @@ FBSD_1.4 { FBSDprivate_1.0 { /* PSEUDO syscalls */ - __sys_getlogin; _getlogin; - __sys_exit; _set_tp; __aeabi_read_tp; @@ -55,7 +53,6 @@ FBSDprivate_1.0 { signalcontext; _signalcontext; __siglongjmp; - __sys_vfork; _vfork; _brk; _sbrk; diff --git a/lib/libc/i386/Symbol.map b/lib/libc/i386/Symbol.map index cdc2db6bb01a..1151a3352c23 100644 --- a/lib/libc/i386/Symbol.map +++ b/lib/libc/i386/Symbol.map @@ -48,9 +48,7 @@ FBSD_1.0 { FBSDprivate_1.0 { /* PSEUDO syscalls */ - __sys_getlogin; _getlogin; - __sys_exit; _set_tp; ___longjmp; @@ -59,7 +57,6 @@ FBSDprivate_1.0 { __signalcontext; signalcontext; __siglongjmp; - __sys_vfork; _vfork; _brk; }; diff --git a/lib/libc/mips/Symbol.map b/lib/libc/mips/Symbol.map index 4eba7eab57c2..9ee1d5fbd6a2 100644 --- a/lib/libc/mips/Symbol.map +++ b/lib/libc/mips/Symbol.map @@ -37,9 +37,7 @@ FBSD_1.3 { FBSDprivate_1.0 { /* PSEUDO syscalls */ - __sys_getlogin; _getlogin; - __sys_exit; _set_tp; ___longjmp; @@ -48,7 +46,6 @@ FBSDprivate_1.0 { signalcontext; _signalcontext; __siglongjmp; - __sys_vfork; _vfork; _brk; _sbrk; diff --git a/lib/libc/powerpc/Symbol.map b/lib/libc/powerpc/Symbol.map index 38f9bf579cfb..be6daf5d908e 100644 --- a/lib/libc/powerpc/Symbol.map +++ b/lib/libc/powerpc/Symbol.map @@ -43,9 +43,7 @@ FBSD_1.3 { FBSDprivate_1.0 { /* PSEUDO syscalls */ - __sys_getlogin; _getlogin; - __sys_exit; _set_tp; _fpgetsticky; diff --git a/lib/libc/powerpc64/Symbol.map b/lib/libc/powerpc64/Symbol.map index c1e2d9ce8e69..29bd6a544a61 100644 --- a/lib/libc/powerpc64/Symbol.map +++ b/lib/libc/powerpc64/Symbol.map @@ -39,9 +39,7 @@ FBSD_1.0 { FBSDprivate_1.0 { /* PSEUDO syscalls */ - __sys_getlogin; _getlogin; - __sys_exit; _set_tp; _fpgetsticky; diff --git a/lib/libc/sparc64/Symbol.map b/lib/libc/sparc64/Symbol.map index 551fae915158..1f05cbad34ed 100644 --- a/lib/libc/sparc64/Symbol.map +++ b/lib/libc/sparc64/Symbol.map @@ -68,9 +68,7 @@ FBSD_1.0 { FBSDprivate_1.0 { /* PSEUDO syscalls */ - __sys_getlogin; _getlogin; - __sys_exit; _set_tp; ___longjmp; @@ -79,11 +77,8 @@ FBSDprivate_1.0 { signalcontext; __signalcontext; __siglongjmp; - __sys_brk; _brk; - __sys_sbrk; _sbrk; - __sys_vfork; _vfork; /* used in src/lib/csu/sparc64/crt1.c */