From patchwork Wed Oct 14 22:43:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 530415 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 6A399140E41 for ; Thu, 15 Oct 2015 09:43:51 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b=sU/61ZY6; 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:reply-to :mime-version:content-type; q=dns; s=default; b=luLb6r0Dko04J5UI 8pLxygsCn3GuJJZy6Aud/sEiliLrYmIw/+TZIRoWsF9F0L0TvHDys/yADtk8ceUw ad3FYYhHeeYMxdFKiQ42qAB8yxnv4tlzkXxcNIyNovsn4w7SxYiAOqjgGApqvqXm K+lnU35r1JlXnU8M5bbesF0qR0k= 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:reply-to :mime-version:content-type; s=default; bh=bh2OqkRSnVP/cC8Va5HAYz OZvRc=; b=sU/61ZY6mkm4coQ3D08Mi31HtgZ5Cf03hsRzA5oEEbr9AnfY/BLPRm Q0z5FXFjuERF9O1ZnYvFmPsGeGAXSMPunnHklrZjDHn3A4lyOq1Llz88Aukaer8e KggN6EHUWO87ypZDI3OzcxOASJ3hZDLL2+D9sgZTQbsmVgsk0bzwI= Received: (qmail 32389 invoked by alias); 14 Oct 2015 22:43: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 32373 invoked by uid 89); 14 Oct 2015 22:43:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, NO_DNS_FOR_FROM, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mga09.intel.com X-ExtLoop1: 1 Date: Wed, 14 Oct 2015 15:43:40 -0700 From: "H.J. Lu" To: GNU C Library Subject: [PATCH 02/19] Mark x86_64 _dl_unmap hidden Message-ID: <20151014224340.GA30819@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Since x86_64 _dl_unmap is only used internally in ld.so, it can be made hidden. [BZ #19122] * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden. --- sysdeps/x86_64/dl-lookupcfg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sysdeps/x86_64/dl-lookupcfg.h b/sysdeps/x86_64/dl-lookupcfg.h index 310f261..a42d5ef 100644 --- a/sysdeps/x86_64/dl-lookupcfg.h +++ b/sysdeps/x86_64/dl-lookupcfg.h @@ -26,6 +26,7 @@ struct link_map; -extern void internal_function _dl_unmap (struct link_map *map); +extern void _dl_unmap (struct link_map *map) + internal_function attribute_hidden; #define DL_UNMAP(map) _dl_unmap (map)