From patchwork Fri Apr 20 16:03:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 902015 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-91764-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="QJHNf9Tq"; 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 40SLJ74nlVz9s1p for ; Sat, 21 Apr 2018 02:03:51 +1000 (AEST) 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=oYLa/Gbil3uD6Pt62lioqk6YjIfCD LUcKyqLZz9V14PWkm44vqgG0r/u9d3rc5uroDxkTgvJ3V5ZFClY7bECDu3YtcosI m/G4GmUNh7U4bK/dJMuGY34P20XngNYW6oktQHwIr2QPLCv57a5BuaevYxotZMf+ dPdTlnyMIvkqc0= 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=ORcdXKPKSD1uJax7015Ts1JbnM8=; b=QJH Nf9TqpdF4Br28neVHxRgjU/KM7ApSu7kP+rJRQr36v7VR74yjsue1ywDz8f0WLaQ 4fmvYYTI+IClebN1FUtTqKAGmkntKVQg5sBPtaOD3UMzS3BK9/Hzc227c7OMH3FU pnak0KknNAjEUQX1t1/Hq7+c+pxM/gdaPaS2mVA4= Received: (qmail 122392 invoked by alias); 20 Apr 2018 16:03:46 -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 122375 invoked by uid 89); 20 Apr 2018 16:03:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_PASS, URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:918, sk:buildm, sk:build-m X-HELO: relay1.mentorg.com Date: Fri, 20 Apr 2018 16:03:38 +0000 From: Joseph Myers To: Subject: Define XTABS to TAB3 on alpha to match Linux 4.16 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 makes the alpha bits/termios.h define XTABS to TAB3, so matching a change made in Linux 4.16 as well as matching other architectures where the values are already equal. Tested with build-many-glibcs.py for alpha-linux-gnu. 2018-04-20 Joseph Myers * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC] (XTABS): Define to TAB3. diff --git a/sysdeps/unix/sysv/linux/alpha/bits/termios.h b/sysdeps/unix/sysv/linux/alpha/bits/termios.h index 7bf8bfe..24423e8 100644 --- a/sysdeps/unix/sysv/linux/alpha/bits/termios.h +++ b/sysdeps/unix/sysv/linux/alpha/bits/termios.h @@ -117,7 +117,7 @@ struct termios #define VT1 00200000 #ifdef __USE_MISC -# define XTABS 01000000 /* Hmm.. Linux/i386 considers this part of TABDLY.. */ +# define XTABS TAB3 #endif /* c_cflag bit meaning */