From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15576 invoked by alias); 30 Jun 2015 07:18:32 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 15560 invoked by uid 89); 30 Jun 2015 07:18:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx2.suse.de Received: from cantor2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 30 Jun 2015 07:18:31 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 3D66AAC63; Tue, 30 Jun 2015 07:18:28 +0000 (UTC) From: Andreas Schwab To: Jiong Wang Cc: gcc-patches Subject: Re: [AArch64] Fall back to -fPIC if no support of -fpic relocation modifer in assembler References: X-Yow: HELLO, everybody, I'm a HUMAN!! Date: Tue, 30 Jun 2015 07:32:00 -0000 In-Reply-To: (Jiong Wang's message of "Mon, 29 Jun 2015 13:42:13 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2015-06/txt/msg02152.txt.bz2 Jiong Wang writes: > gcc/ > * configure.ac: Add check for aarch64 assembler -fpic relocation > modifier support. > * configure: Regenerate. > * config.in: Regenerate. > * config/aarch64/aarch64.c (initialize_aarch64_code_model): Fall back to > -fPIC if not support of -fpic relocation modifier in assembler. This fixes all testsuite regressions except this one: gcc.target/aarch64/pic-small.c scan-assembler-times adrp\tx[0-9]+, _GLOBAL_OFFSET_TABLE 2 Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."