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

Submitted by Tristan Gingold on June 27, 2011, 12:28 p.m.

Details

Message ID 9132BF04-5D3C-4359-8260-35346DA662AA@adacore.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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