This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Tweak objc.dg/stabs-1.m for Linux use


> Will commit as obvious.
>
> [gcc/testsuite/ChangeLog]
> 2004-12-17  Ziemowit Laski  <zlaski@apple.com>
>
>          * objc.dg/stabs-1.m: Allow assembly label to begin
>          with a dot ('.').

We need 2 more tweaks for Solaris:

        .section        ".text"
        .stabs  "",100,0,0,.LLetext0
.LLetext0:

Tested on Solaris and Linux.  OK for mainline?


2004-12-21  Eric Botcazou  <ebotcazou@libertysurf.fr>

	* objc.dg/stabs-1.m: Allow section name to be quoted and
	assembly label to begin with '.L'.


-- 
Eric Botcazou
Index: objc.dg/stabs-1.m
===================================================================
RCS file: /cvs/gcc/gcc/gcc/testsuite/objc.dg/stabs-1.m,v
retrieving revision 1.3
diff -u -p -r1.3 stabs-1.m
--- objc.dg/stabs-1.m	17 Dec 2004 19:32:51 -0000	1.3
+++ objc.dg/stabs-1.m	21 Dec 2004 19:11:16 -0000
@@ -15,4 +15,4 @@
 }
 @end
 
-/* { dg-final { scan-assembler ".text\n\t.stabs.*100,0,0,(\\.)?Letext\[0-9\]*\n(\\.)?Letext" } } */
+/* { dg-final { scan-assembler ".text\"?\n\t.stabs.*100,0,0,(\\.)?L?Letext\[0-9\]*\n(\\.)?L?Letext" } } */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]