From patchwork Mon Apr 2 21:44:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 26559 Received: (qmail 33170 invoked by alias); 2 Apr 2018 21:44:58 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 32477 invoked by uid 89); 2 Apr 2018 21:44:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy=family X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: Update localplt.data Date: Mon, 2 Apr 2018 23:44:53 +0200 Message-Id: <20180402214453.20777-1-samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/localplt.data: Inherit sysdeps/generic/localplt.data and comment functions currently unused. --- sysdeps/mach/hurd/localplt.data | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/sysdeps/mach/hurd/localplt.data b/sysdeps/mach/hurd/localplt.data index 53c1ba9e1c..2417b715d4 100644 --- a/sysdeps/mach/hurd/localplt.data +++ b/sysdeps/mach/hurd/localplt.data @@ -1,21 +1,41 @@ +# See scripts/check-localplt.awk for how this file is processed. +# PLT use is required for the malloc family and for matherr because +# users can define their own functions and have library internals call them. +libc.so: calloc +libc.so: free +libc.so: malloc +libc.so: memalign +libc.so: realloc +libm.so: matherr +# The main malloc is interposed into the dynamic linker, for +# allocations after the initial link (when dlopen is used). +ld.so: malloc +ld.so: calloc +ld.so: realloc +ld.so: free +# The TLS-enabled version of these functions is interposed from libc.so. +ld.so: _dl_signal_error +ld.so: _dl_catch_error +ld.so: _dl_signal_exception +ld.so: _dl_catch_exception # The dynamic linker has its own versions of basic functions for initial loading # of shared libraries. These need to be overriden by libc once loaded. ld.so: __open ld.so: __close ld.so: __libc_read ld.so: __libc_write -ld.so: __writev +#ld.so: __writev ld.so: __libc_lseek64 -ld.so: __map +ld.so: __mmap ld.so: __fxstat64 ld.so: __xstat64 -ld.so: __access -ld.so: __access_noerrno +#ld.so: __access +#ld.so: __access_noerrno ld.so: __getpid -ld.so: __getcwd -ld.so: __sbrk -ld.so: __strtoul_internal -ld.so: _exit +#ld.so: __getcwd +#ld.so: __sbrk +#ld.so: __strtoul_internal +#ld.so: _exit ld.so: abort ld.so: _hurd_intr_rpc_mach_msg ld.so: __errno_location