From patchwork Fri Nov 4 22:25:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 691476 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3t9byS60mVz9t1B for ; Sat, 5 Nov 2016 09:25:52 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="EsAYHodE"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; q=dns; s=default; b=H8EeSErObFJpJ4SbEl9J5s+FFya4F b8dNxaRzc8m2VKJpw7TcKM8fJCMoRmzlBjSurUqWPGl03QD38sLpSsSBgMNaRyRi FnnF7rgZxJZ9C+QGdv/12JGxH7HctTFJ/piOs/MVXaqiabWU73/abjQVtNq2ge0A nbkq4Xv2RIv2UQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:mime-version :content-type; s=default; bh=fvwqeCYaWovPEWBHNj7OCOJw77M=; b=EsA YHodEUHVLKh1h0EwZpoVBY1BTG0OtNgy7yTlyPnxLm/I/M4hdQT4xETnDNa5Uq7b mzcDUDW9oVluJpIPg681yRRwIpludlskkZArcpgKWlbdCR/WKwNdOXSA76rdkVGT LyEfKmLPol96mbxrrN1eOPJIirz6wAsjCWMJoSE4= Received: (qmail 5358 invoked by alias); 4 Nov 2016 22:25:43 -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 5349 invoked by uid 89); 4 Nov 2016 22:25:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=family, wish X-HELO: relay1.mentorg.com Date: Fri, 4 Nov 2016 22:25:24 +0000 From: Joseph Myers To: , Subject: Add localplt.data for hppa Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) This patch adds a localplt.data file for hppa so that test passes. Architecture maintainers should feel free to clean up the sysdeps code so that some or all of the system-specific entries libc.so: _exit libc.so: __sigsetjmp libc.so: _IO_funlockfile libc.so: sigprocmask libc.so: __errno_location libpthread.so: __errno_location are no longer needed. Tested for hppa. Note: check-execstack and check-textrel still fail; you may wish to look at those to get to a clean baseline there (they are less obvious for people not familiar with the architecture). 2016-11-04 Joseph Myers * sysdeps/unix/sysv/linux/hppa/localplt.data: New file. diff --git a/sysdeps/unix/sysv/linux/hppa/localplt.data b/sysdeps/unix/sysv/linux/hppa/localplt.data new file mode 100644 index 0000000..2a25ebc --- /dev/null +++ b/sysdeps/unix/sysv/linux/hppa/localplt.data @@ -0,0 +1,23 @@ +# 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 +libc.so: _exit +libc.so: __sigsetjmp +libc.so: _IO_funlockfile +libc.so: sigprocmask +libc.so: __errno_location +libm.so: matherr +libpthread.so: __errno_location +# The dynamic loader uses __libc_memalign internally to allocate aligned +# TLS storage. The other malloc family of functions are expected to allow +# user symbol interposition. +ld.so: __libc_memalign +ld.so: malloc +ld.so: calloc +ld.so: realloc +ld.so: free