From patchwork Mon Jun 27 12:28:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tristan Gingold X-Patchwork-Id: 102152 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]) by ozlabs.org (Postfix) with SMTP id 4BFDFB6F54 for ; Mon, 27 Jun 2011 22:29:07 +1000 (EST) Received: (qmail 3976 invoked by alias); 27 Jun 2011 12:29:04 -0000 Received: (qmail 3961 invoked by uid 22791); 27 Jun 2011 12:29:03 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 27 Jun 2011 12:28:49 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 9C3C8CB023D for ; Mon, 27 Jun 2011 14:28:48 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k+DLYzfkx+sA for ; Mon, 27 Jun 2011 14:28:45 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id A38D7CB01F2 for ; Mon, 27 Jun 2011 14:28:45 +0200 (CEST) From: Tristan Gingold Subject: [alpha/vms]: committed: always generate .end directive Date: Mon, 27 Jun 2011 14:28:43 +0200 Message-Id: <9132BF04-5D3C-4359-8260-35346DA662AA@adacore.com> To: "gcc-patches@gcc.gnu.org Patches" Mime-Version: 1.0 (Apple Message framework v1084) X-IsSubscribed: yes 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 Hi, -finhibit-size-directive prevented the generation of .end directive on alpha-vms. This doesn't make sense as .end does almost nothing and will be required by newly version of gas. Committed on trunk. Tristan. 2011-06-27 Tristan Gingold * config/alpha/alpha.c (alpha_end_function): Always generate .end directive on VMS. Index: gcc/config/alpha/alpha.c =================================================================== --- gcc/config/alpha/alpha.c (revision 175520) +++ gcc/config/alpha/alpha.c (working copy) @@ -8159,7 +8159,8 @@ #endif /* End the function. */ - if (!flag_inhibit_size_directive) + if (TARGET_ABI_OPEN_VMS + || !flag_inhibit_size_directive) { fputs ("\t.end ", file); assemble_name (file, fnname);