From patchwork Thu Mar 31 15:41:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Greenhalgh X-Patchwork-Id: 64801 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp231001lbc; Thu, 31 Mar 2016 08:41:51 -0700 (PDT) X-Received: by 10.66.123.17 with SMTP id lw17mr23209363pab.108.1459438911202; Thu, 31 Mar 2016 08:41:51 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id n6si14835354pfa.10.2016.03.31.08.41.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Mar 2016 08:41:51 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-424121-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-424121-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-424121-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; q=dns; s=default; b=VqLz5QC1FjRXL1ZJ nA3SUyUIXNOguCitkDz2WLM/Oo95elw4iCDulo9t/RjTDj1XjCp2XrIjaM0/3iKC iiWcjw+bdUhClrhPEBg8W+E6FJrQpgKFng+SyhB/dP7sHxw3YW9n2yo6eFZyWuV6 VZ2IgeaLhaeBajIVhjS1DIupR/E= 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:from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; s=default; bh=IeCsBlyuUHz2yRFcEnn2Mi 6/RAw=; b=vQ4TqzGHKGENdj0rDM8p/xkrORnvwRTQnPHB+FGCnXUzMySAzAe7ou SXESKzcY0wLgiz0WtVy3iYfkCgw0NWkDAF4YdkE2N4gNmrDQ82bp8tdLzrYlpw0M 4A5SfNiPABGeG5iqYkQCV+K7hpi6UhdOD0YQDEok4FyqqBJOTLUO4= Received: (qmail 34455 invoked by alias); 31 Mar 2016 15:41:37 -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 34434 invoked by uid 89); 31 Mar 2016 15:41:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL, BAYES_50, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=HAuthentication-Results:gcc.gnu.org, HAuthentication-Results:pass, HReceived-SPF:helo, HReceived-SPF:receiver X-HELO: emea01-db3-obe.outbound.protection.outlook.com Received: from mail-db3on0091.outbound.protection.outlook.com (HELO emea01-db3-obe.outbound.protection.outlook.com) (157.55.234.91) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA256 encrypted) ESMTPS; Thu, 31 Mar 2016 15:41:26 +0000 Received: from AM2PR07CA0004.eurprd07.prod.outlook.com (10.163.24.142) by DB3PR07MB0604.eurprd07.prod.outlook.com (10.160.46.153) with Microsoft SMTP Server (TLS) id 15.1.447.15; Thu, 31 Mar 2016 15:41:22 +0000 Received: from AM1FFO11OLC006.protection.gbl (2a01:111:f400:7e00::149) by AM2PR07CA0004.outlook.office365.com (2a01:111:e400:8448::14) with Microsoft SMTP Server (TLS) id 15.1.453.11 via Frontend Transport; Thu, 31 Mar 2016 15:41:22 +0000 Authentication-Results: spf=pass (sender IP is 217.140.96.140) smtp.mailfrom=arm.com; gcc.gnu.org; dkim=none (message not signed) header.d=none; gcc.gnu.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 217.140.96.140 as permitted sender) receiver=protection.outlook.com; client-ip=217.140.96.140; helo=nebula.arm.com; Received: from nebula.arm.com (217.140.96.140) by AM1FFO11OLC006.mail.protection.outlook.com (10.174.64.134) with Microsoft SMTP Server (TLS) id 15.1.453.6 via Frontend Transport; Thu, 31 Mar 2016 15:41:22 +0000 Received: from e107456-lin.cambridge.arm.com (10.1.2.79) by mail.arm.com (10.1.105.66) with Microsoft SMTP Server id 14.3.279.2; Thu, 31 Mar 2016 16:41:19 +0100 From: James Greenhalgh To: CC: , , , Subject: [Patch ARM] Delete ASM_OUTPUT_DEF and fall back to default .set directive Date: Thu, 31 Mar 2016 16:41:18 +0100 Message-ID: <1459438878-21244-1-git-send-email-james.greenhalgh@arm.com> In-Reply-To: <56D57365.1040103@foss.arm.com> References: <56D57365.1040103@foss.arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131039124822881442; (7f4fb8e1-17aa-4746-8602-08d27e8c8cd0); () X-Forefront-Antispam-Report: CIP:217.140.96.140; IPV:NLI; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(189002)(164054003)(377424004)(199003)(2906002)(1220700001)(568964002)(2476003)(76176999)(77096005)(5003600100002)(87936001)(1096002)(15975445007)(5000100001)(92566002)(4326007)(50986999)(586003)(33646002)(5008740100001)(36756003)(450100001)(106466001)(2950100001)(19580395003)(86362001)(5890100001)(19580405001)(512874002)(110136002)(11100500001)(50226001)(4610100001)(6806005)(189998001)(2351001)(229853001)(104016004)(84326002)(142923001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR07MB0604; H:nebula.arm.com; FPR:; SPF:Pass; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1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eMFU0HfTMkMioQr1i1CPYYTztsIMfhh7nM2/XY5LkKQIRbmDmMvg==; 25:Xnb2iiCyyP6BYBqOpaqILH6vnQbSSGmV+79yKse0r+gdgRsaQRhn3PNrlL233NLKwon6hNV4K2CRKlaRozgRyV0m96LQ8SgTzhQgw0fao9ZPIdwQHMk+KVNch1mHAdlbV7POfAjG7UXcPTN4iwtLMda3BaDEv4LMCD8GHfSMJl+rdRwY9Ar7XLKRez3BE4dWXGeIXQn4XjUtgMFmGUe9Hz0BHz9ItjMdAssBBHjf7gp7x6wt7LHqGeCTdrOWo6XFu9pZzxKeBxr0+OVLK4vFbwaFhWTUEJ0QYXGvD3WXrTrHOB+yYOiYrdyYZ02H/yuiczUpEa/DSaIMtrtet9UHy+OP97GhwuLrnJQapzEmV1ESUZyLAe05iSiPWI71W52m X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:DB3PR07MB0604; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(102415293)(102615271)(601004)(2401047)(5005006)(13018025)(13024025)(13016025)(8121501046)(13023025)(3002001)(10201501046); SRVR:DB3PR07MB0604; BCL:0; PCL:0; RULEID:(400006); SRVR:DB3PR07MB0604; X-Microsoft-Exchange-Diagnostics: 1; DB3PR07MB0604; 4:z73woPFRDJareofp9tCmC+835vU7O2d343NFu9nQyW6E27afGgRwqtY8tx2hVBNAfVre/EP91Ti1dIuI4EUXUuej371Wwt6r5e2G1e9Uq78wEkMquBOEeZ8/xNHSGdh6qzmpd2GKqkMIFBt+e+4S9aYOjvYVLVyovirW9151zqaI/CJsvBK/xAIwndgxuJ8tto/EGuqmHrGMAVf1Vc4qCpSXNUOGgOem23kDEvCughRxkbqjrwr3Bvc3l1Mc2KyumCgyFIRhvU1R5p7yyw+gZbQbDEcubcR2EXBlBEqB5DgOxsvDTbXtrRF4W/3ChWbkRlMW4pHJiqzuHcDAo3dJr6eDOiCFsxdtaAx/C0NWTPyl9WQzHofgHkhthYHSKx9XUsGKFn9dk/ujYASCzCUs+Z4hsIH53l3U17/Pnd/B27pffLuc+9Me65oXGSu9RLwUkVU4ppkjQeLybiLw0CVFz51T838VXj0aypDZMeDr9Lc= X-Forefront-PRVS: 0898A6E028 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB3PR07MB0604; 23:6VmF1jQdy+ICIRkJnP8oeV9JNmzmGfub8adBPTXwB?= =?us-ascii?Q?yDaiuRVnHprLisZ8I5ceGV/phSfhEh1M3uLXd/deZ0XlmkPojWWqd64MsUER?= =?us-ascii?Q?OYs898keCseo/bfbGlBY+W8ee9g7B6OAgqPKHAGohsfW4VBjHNZ+haovLfe7?= =?us-ascii?Q?3XJ5qBwExqWsaCx6kv254xGDoqXgaJa6FayxK/aShMhDlG5WggzzOeIxjGZq?= =?us-ascii?Q?wl4/t1wnrRGImlWmPaW6mcPlVn8QB7ynzAPn5V+sHfj/GRZakNJm9pr/CMwI?= =?us-ascii?Q?kLdRM//vPHEqdVcNdlQ9TCUgWcAi0XkVErPwaVJZRLmcZh24+a2jpl0zXqYZ?= =?us-ascii?Q?c8DXm6k9IEMmJkX9wLsmfhocZRioyoe8w1hZWEAHVG+KgWISLkV+Ui2lRZ/F?= =?us-ascii?Q?cyVgtTlc6HCtMYNlNdV5VETCTldMJLWT4jPo9wFVOiAUzsVmq7MxoNBeU8hY?= =?us-ascii?Q?BH0zJ3yXJDXT545QPVaIhmI5bRzGAo7dL6vL1uk1ypOHhzhHWqJ0PMTHNdy/?= =?us-ascii?Q?CG1CZFxVLC2vIXh/U+A/zo7gY0aw/o3TI9OeUMIbjmdTf8ZBuYbp35L5nNxC?= =?us-ascii?Q?TRcKn2CZG6PPmVZnniRG9TgD0JpYrWen3Vbp1E7tCceTnfDKAlOhp+G68aon?= =?us-ascii?Q?4SKtBuIYMTE/h7v1CiyIURoLYQ3xed0hybe31bKnr6bUsUvpx/z/dVjmFW+M?= =?us-ascii?Q?e90yC9xIE5Ow8Pteitr4NqDE38GORUdEtWVSRs8G/9USSqxkJg3bnNRl8t3J?= =?us-ascii?Q?6fLB6JwEbHT3llaqIx+WdYlYkV+jpsKr3qEJ8WJWk5dGf7XjMj5FIhcxtDrR?= =?us-ascii?Q?PXr6BJFAilryhv6zqeD/eNAvudYgxvIyDi8XunJnWrijHx+3TwGT4Nbeb4g8?= =?us-ascii?Q?m4y29DxH0rwUwNJurQi9pZga18MiJRea2qltusSHO93/On2FaxIFDLT9BOvI?= =?us-ascii?Q?/6DnEYWOP59Copch1AgIxWSVD4Px32sa/5Xwna4MCp3g+rIMPE6v9r+Jz6aT?= =?us-ascii?Q?WDmIwdfPRDBYBeaSAIR+cYC9C2XjlxNWvluEw6xf5TqSSgBmlArZ9rkcIoLM?= =?us-ascii?Q?AcIEMBwQcEnogY9O9OiBtYaWZjdLeVPNV92LTV4epLe0JCg9MhHGu7yoFgyH?= =?us-ascii?Q?2ja0YkOhd4vLF//ddLTvLCzfu8kEQHELy4/SXAmUq2U+U3GaEgxXg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; DB3PR07MB0604; 5:EYm6NApUFgZvstfZLO3xhnVQDD5RTgRZeya8mVN9CQJ+swz1W0v3m0o2KTtrQXPc1kKWHYlPE+kSlO8uRhXWZgxU+KrMBzt9rRKQPAJ8UjyaJMyIISPG/LFzOgXSFC0DFeK+zGQTwm6w9rD6DQtYOt/SLI1KwjZVOz0x6clOqp4=; 24:M5+FRay1drajLDaoUllcCBpvHpP00JliR/k6DR6q6Ra9jA/QNeHLMxkQwhlLyfTtLFmY9gyIz6L39bp7lgBh1IzHuekObqAvJaC9GA9uzxI= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2016 15:41:22.0385 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[217.140.96.140]; Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR07MB0604 X-IsSubscribed: yes Hi, gcc.dg/torture/pr69951.c has been failing for arm*-*-linux* targets, as we put out "b = a" as a way of defining a symbol alias, which trips an assembler warning if the left hand side is an instruction name (such as 'b' for branch, see [1] for context). We don't want to do this, a simple .set directive will suffice. This can be achieved by deleting the definition of ASM_OUTPUT_DEF in config/arm/linux-elf.h . This will cause us to fall back to the default definition, as we have SET_ASM_OP defined through config/elfos.h for all ARM ports. This patch makes that change. Built and tested on an arm-none-linux-gnueabihf box with no issues. OK? Thanks, James --- 2016-03-31 James Greenhalgh * config/arm/linux-elf.h (ASM_OUTPUT_DEF): Delete. --- [1]: https://gcc.gnu.org/ml/gcc-patches/2016-03/msg00018.html diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index 472141d..a94bd2d 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -85,17 +85,6 @@ } \ while (0) -/* This is how we tell the assembler that two symbols have the same value. */ -#define ASM_OUTPUT_DEF(FILE, NAME1, NAME2) \ - do \ - { \ - assemble_name (FILE, NAME1); \ - fputs (" = ", FILE); \ - assemble_name (FILE, NAME2); \ - fputc ('\n', FILE); \ - } \ - while (0) - #undef FPUTYPE_DEFAULT #define FPUTYPE_DEFAULT "vfp"