From patchwork Tue Jan 3 21:37:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 710704 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 3ttS353d1Vz9sQw for ; Wed, 4 Jan 2017 08:37:37 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="R9BYhZQO"; 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:cc:subject:message-id :mime-version:content-type; q=dns; s=default; b=oLdPCJyp+tn/pQmX I5eTvFc67dePPITaSv4lgHeMB+TyHU1DEHSN9yff22ZhCmhyreERPo0dwEuBas/b 6MtGCewDLlPY35bG7ONuTGjtxXNIqABEjOdB8LthEOX5HEGyNnR2OU9ObyToft32 xHN9EblHqfEZ9RSA5GKWAqLfLk4= 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:cc:subject:message-id :mime-version:content-type; s=default; bh=PEA2/UmtZdASX+pn11iQZk cjxkU=; b=R9BYhZQOy0Fqhi1e6SdldU1Wb2RTJO6fVFKMw6mMxLT0F/OdD5fIFo bktW409wpF6S6XPLaSJGZwfA53t/a9R5/r/GV1qrkYUvAkpAdBS4Y5eBjrDkyYqA h+eDout3/vMUnIAF0Vn234HxeGrXK47/z6kGhn4NbGxf+VD/ANi3w= Received: (qmail 8612 invoked by alias); 3 Jan 2017 21:37:30 -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 8598 invoked by uid 89); 3 Jan 2017 21:37:29 -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= X-HELO: relay1.mentorg.com Date: Tue, 3 Jan 2017 21:37:10 +0000 From: Joseph Myers To: CC: , Subject: Update MicroBlaze localplt.data 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 updates the MicroBlaze localplt.data based on the results of a build with build-many-glibcs.py. This is simply an empirical update; quite possibly the port could be optimized to remove more local PLT entry usage. Tested (compilation tests) with build-many-glibcs.py. 2017-01-03 Joseph Myers * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64): Add libc.so PLT entry. (__tls_get_addr): Make ld.so PLT entry optional. diff --git a/sysdeps/unix/sysv/linux/microblaze/localplt.data b/sysdeps/unix/sysv/linux/microblaze/localplt.data index 07bcf3b..4187832 100644 --- a/sysdeps/unix/sysv/linux/microblaze/localplt.data +++ b/sysdeps/unix/sysv/linux/microblaze/localplt.data @@ -1,4 +1,5 @@ libc.so: __errno_location +libc.so: __pread64 libc.so: calloc libc.so: free libc.so: malloc @@ -7,7 +8,7 @@ libc.so: realloc libm.so: matherr libpthread.so: __errno_location # The dynamic loader needs __tls_get_addr for TLS. -ld.so: __tls_get_addr +ld.so: __tls_get_addr ? # The main malloc is interposed into the dynamic linker, for # allocations after the initial link (when dlopen is used). ld.so: malloc