From patchwork Mon May 1 11:48:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 1775472 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Q91gv6n2Cz1ymp for ; Mon, 1 May 2023 21:48:43 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0BC593858002 for ; Mon, 1 May 2023 11:48:42 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from sonata.ens-lyon.org (sonata.ens-lyon.org [140.77.166.138]) by sourceware.org (Postfix) with ESMTPS id 73E44385840C for ; Mon, 1 May 2023 11:48:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 73E44385840C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bounce.ens-lyon.org Received: from localhost (localhost [127.0.0.1]) by sonata.ens-lyon.org (Postfix) with ESMTP id A5B2420198; Mon, 1 May 2023 13:48:30 +0200 (CEST) Received: from sonata.ens-lyon.org ([127.0.0.1]) by localhost (sonata.ens-lyon.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2l0PYeOti6As; Mon, 1 May 2023 13:48:30 +0200 (CEST) Received: from begin (lfbn-bor-1-1163-184.w92-158.abo.wanadoo.fr [92.158.138.184]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by sonata.ens-lyon.org (Postfix) with ESMTPSA id 86D2620195; Mon, 1 May 2023 13:48:30 +0200 (CEST) Received: from samy by begin with local (Exim 4.96) (envelope-from ) id 1ptS18-00G7iP-0c; Mon, 01 May 2023 13:48:30 +0200 From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault , commit-hurd@gnu.org Subject: [hurd, commited] hurd 64bit: Add missing data file for check-localplt test Date: Mon, 1 May 2023 13:48:29 +0200 Message-Id: <20230501114829.3842898-1-samuel.thibault@ens-lyon.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Sender: "Libc-alpha" --- sysdeps/mach/hurd/x86_64/localplt.data | 44 ++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 sysdeps/mach/hurd/x86_64/localplt.data diff --git a/sysdeps/mach/hurd/x86_64/localplt.data b/sysdeps/mach/hurd/x86_64/localplt.data new file mode 100644 index 0000000000..ce12ef0b3b --- /dev/null +++ b/sysdeps/mach/hurd/x86_64/localplt.data @@ -0,0 +1,44 @@ +# 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. +# Linker in binutils 2.26 and newer consolidates R_X86_64_JUMP_SLOT +# relocation with R_X86_64_GLOB_DAT relocation against the same symbol. +libc.so: calloc + RELA R_X86_64_GLOB_DAT +libc.so: free + RELA R_X86_64_GLOB_DAT +libc.so: malloc + RELA R_X86_64_GLOB_DAT +libc.so: realloc + RELA R_X86_64_GLOB_DAT +# 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: __open64 ? +ld.so: __open_nocancel +ld.so: __close ? +ld.so: __close_nocancel +ld.so: __read ? +ld.so: __read_nocancel +ld.so: __pread64 +ld.so: __pread64_nocancel +ld.so: __write ? +ld.so: __write_nocancel +ld.so: __writev +ld.so: __libc_lseek64 +ld.so: __mmap +ld.so: __fstat64 +ld.so: __stat64 +ld.so: __access +ld.so: __access_noerrno +ld.so: __getpid +ld.so: __getcwd +ld.so: _exit ? +ld.so: abort +ld.so: _hurd_intr_rpc_mach_msg +ld.so: __errno_location +ld.so: _dl_init_first +# +# These should ideally be avoided, but is currently difficult +libc.so: siglongjmp ? +libc.so: longjmp ? +# This is from lseek.c +libc.so: __libc_lseek64 ? +# This is through cleanup_region_start from vfprintf.c +libc.so: _IO_funlockfile ?