Patchwork [alpha/vms] : committed: always generate .end directive

login
register
mail settings
Submitter Tristan Gingold
Date June 27, 2011, 12:28 p.m.
Message ID <9132BF04-5D3C-4359-8260-35346DA662AA@adacore.com>
Download mbox | patch
Permalink /patch/102152/
State New
Headers show

Comments

Tristan Gingold - June 27, 2011, 12:28 p.m.
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  <gingold@adacore.com>

	* config/alpha/alpha.c (alpha_end_function): Always generate .end
	directive on VMS.

Patch

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);