From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22003 invoked by alias); 12 Jun 2012 19:15:39 -0000 Received: (qmail 21995 invoked by uid 22791); 12 Jun 2012 19:15:38 -0000 X-SWARE-Spam-Status: No, hits=-3.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jun 2012 19:15:25 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1SeWYn-0007OH-1b from joseph_myers@mentor.com for libc-ports@sourceware.org; Tue, 12 Jun 2012 12:15:25 -0700 Received: from digraph.polyomino.org.uk ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Jun 2012 20:15:23 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.74) (envelope-from ) id 1SeWYk-0001Bm-8k for libc-ports@sourceware.org; Tue, 12 Jun 2012 19:15:22 +0000 Date: Tue, 12 Jun 2012 19:15:00 -0000 From: "Joseph S. Myers" To: libc-ports@sourceware.org Subject: Fix ARM check-localplt failure (__startcontext) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-06/txt/msg00022.txt.bz2 I've applied this patch to fix a localplt test failure for ARM arising from a call to _exit in the *context code. diff --git a/ChangeLog.arm b/ChangeLog.arm index 20664aa..c411e1c 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,8 @@ +2012-06-12 Joseph Myers + + * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Use + HIDDEN_JUMPTARGET for _exit jump. + 2012-05-30 Joseph Myers * sysdeps/unix/sysv/linux/arm/syscalls.list: Remove diff --git a/sysdeps/unix/sysv/linux/arm/setcontext.S b/sysdeps/unix/sysv/linux/arm/setcontext.S index b472947..d163fc4 100644 --- a/sysdeps/unix/sysv/linux/arm/setcontext.S +++ b/sysdeps/unix/sysv/linux/arm/setcontext.S @@ -87,7 +87,7 @@ ENTRY(__startcontext) bne PLTJMP(__setcontext) @ New context was 0 - exit - b PLTJMP(_exit) + b PLTJMP(HIDDEN_JUMPTARGET(_exit)) END(__startcontext) #ifdef PIC -- Joseph S. Myers joseph@codesourcery.com