From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30064 invoked by alias); 24 May 2017 21:43:18 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 30025 invoked by uid 89); 24 May 2017 21:43:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,URIBL_RED autolearn=no version=3.3.2 spammy= X-HELO: mx0a-001b2d01.pphosted.com From: "Tulio Magno Quites Machado Filho" To: Joseph Myers Cc: libc-alpha@sourceware.org, pc@us.ibm.com Cc: Subject: Re: [PATCH] Add a way to bypass the PLT when calling getauxval In-Reply-To: References: <1495654883-24546-1-git-send-email-tuliom@linux.vnet.ibm.com> User-Agent: Notmuch/0.20.2 (http://notmuchmail.org) Emacs/24.4.51.1 (x86_64-unknown-linux-gnu) Date: Wed, 24 May 2017 21:43:00 -0000 MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-MML: disable x-cbid: 17052421-0024-0000-0000-000001780A19 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17052421-0025-0000-0000-0000163F606E Message-Id: <87tw4a2aoo.fsf@totoro.lan> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-24_14:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705240115 X-SW-Source: 2017-05/txt/msg00742.txt.bz2 Joseph Myers writes: > On Wed, 24 May 2017, Tulio Magno Quites Machado Filho wrote: > >> Add __libc_getauxval as an internal libc symbol allowing internal libc >> calls to bypass the PLT. > > Why add this alias instead of simply doing libc_hidden_proto (__getauxval) > / libc_hidden_def (__getauxval)? Because I made a wrong assumption about those macros. I'll fix my patch and re-submit. Thanks! -- Tulio Magno