This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Tweak objc.dg/stabs-1.m for Linux use
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: Ziemowit Laski <zlaski at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 21 Dec 2004 20:16:03 +0100
- Subject: Re: PATCH: Tweak objc.dg/stabs-1.m for Linux use
- References: <396D81A6-5062-11D9-A5D2-00039390FFE2@apple.com>
> 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" } } */