From patchwork Thu Dec 13 18:09:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 1013015 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-98306-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="p6we6lwI"; dkim-atps=neutral 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 43G1t61KR7z9s4s for ; Fri, 14 Dec 2018 05:09:49 +1100 (AEDT) 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=Q6wPaz6PKFKmTpXD6KIKXgvDQtnHw kzUuBkMC58sBnzh/dgFv3tNr4fCCH8HtMEKxYd50xGRG6elYV/b/NodkS84kaK+M ymmSQjb6Lu9Y4ubrdHUeuqxpDDnWJ5JLtvivahocYrunfYeJtE6Kopuyy598WfOp HiBh9SkqfUqiu4= 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=52Yr3N0sYoil05K6O4tEVA8zCx4=; b=p6w e6lwI3I13I1j9KPo+Fw7MSLwAhwHCV5XIKFqTFUv0HaokYftpD0vBuqKk2AXhxBj yOhF8umhPXZhVihzPA12M/Vp424X6uZsV4BIH+fvk0gE8oott+HChQRPBX4urHpX /FBqavbvBmwFfgZgkljcEV0JoVQlAZcfvPm8fOYU= Received: (qmail 39802 invoked by alias); 13 Dec 2018 18:09:44 -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 39764 invoked by uid 89); 13 Dec 2018 18:09:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.2 spammy=sk:asm_clo X-HELO: relay1.mentorg.com Date: Thu, 13 Dec 2018 18:09:35 +0000 From: Joseph Myers To: Subject: Do not clobber r12 for ia64 syscalls Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 GCC mainline now gives errors for an asm that clobbers the stack pointer. According to GCC previously ignored such a clobber; thus, this patch removes it from the clobbers for ia64 syscalls. Tested with build-many-glibcs.py for ia64-linux-gnu. 2018-12-13 Joseph Myers * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON): Do not clobber r12. diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h index f8f8d900c6..0505b966d2 100644 --- a/sysdeps/unix/sysv/linux/ia64/sysdep.h +++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h @@ -346,7 +346,7 @@ #define ASM_CLOBBERS_5 ASM_CLOBBERS_6, "out5" #define ASM_CLOBBERS_6_COMMON , "out6", "out7", \ /* Non-stacked integer registers, minus r8, r10, r15. */ \ - "r2", "r3", "r9", "r11", "r12", "r13", "r14", "r16", "r17", "r18", \ + "r2", "r3", "r9", "r11", "r13", "r14", "r16", "r17", "r18", \ "r19", "r20", "r21", "r22", "r23", "r24", "r25", "r26", "r27", \ "r28", "r29", "r30", "r31", \ /* Predicate registers. */ \