From patchwork Mon Sep 14 23:40:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rich Felker X-Patchwork-Id: 517634 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 D6B17140770 for ; Tue, 15 Sep 2015 09:41:07 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=DGOIdqPT; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=Z28Oo39NI5N++GO1vny61JDKkKmySNgnIYhlntW7hHdL5ebOEPqXa oakVlFQibIPhzBBrYQsqbqx27t9HyAhhTn3MILV/UZj6craRxeGRM7tC6AR52uxI PF8RBMUed9EsVgIAhumkog28SlClwwxOhwqb3W2G6PRGqxBO0zJIYQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=7MeYOtMI6iYV3g5QK/VolGgziX0=; b=DGOIdqPTi6VuetFLIwDh 9qL0I1J8TceSJdwH6anbcIrTLu2SG05SJVEqI/aRgnjDSpR3O1BudmX5G/yogaQN wD+gjOJczNTA4ETp5vOOdIq8iSRwC/O1tJE4G+0wHHl6odmidBxEQwupVFefZ05T GWBvA2RJ0Pp39Viflxxjjjg= Received: (qmail 27992 invoked by alias); 14 Sep 2015 23:41:00 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 27967 invoked by uid 89); 14 Sep 2015 23:41:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.5 required=5.0 tests=AWL, BAYES_50, KAM_LAZY_DOMAIN_SECURITY, RDNS_DYNAMIC, TVD_RCVD_IP, URIBL_BLACK autolearn=no version=3.3.2 X-HELO: brightrain.aerifal.cx Received: from 216-12-86-13.cv.mvl.ntelos.net (HELO brightrain.aerifal.cx) (216.12.86.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 14 Sep 2015 23:40:57 +0000 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1ZbdMl-00025H-00 for gcc-patches@gcc.gnu.org; Mon, 14 Sep 2015 23:40:55 +0000 Date: Mon, 14 Sep 2015 19:40:55 -0400 From: Rich Felker To: gcc-patches@gcc.gnu.org Subject: [PATCH v2] fix TLS support detection for sh targets Message-ID: <20150914234055.GA7839@brightrain.aerifal.cx> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes 2015-09-14 Rich Felker * gcc/configure.ac: Change target pattern for sh TLS support test from "sh[34]-*-*" to "sh[123456789lbe]*-*-*". * gcc/configure: Regenerate. diff --git a/gcc/configure b/gcc/configure index 846c996..6fb11a7 100755 --- a/gcc/configure +++ b/gcc/configure @@ -23977,7 +23977,7 @@ foo: .long 25 tls_first_minor=14 tls_as_opt="-m64 -Aesame --fatal-warnings" ;; - sh-*-* | sh[34]-*-*) + sh-*-* | sh[123456789lbe]*-*-*) conftest_s=' .section ".tdata","awT",@progbits foo: .long 25 diff --git a/gcc/configure.ac b/gcc/configure.ac index 34c43d5..a6e078a 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -3325,7 +3325,7 @@ foo: .long 25 tls_first_minor=14 tls_as_opt="-m64 -Aesame --fatal-warnings" ;; - sh-*-* | sh[34]-*-*) + sh-*-* | sh[123456789lbe]*-*-*) conftest_s=' .section ".tdata","awT",@progbits foo: .long 25