]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* gcc.dg/asm-names.c (ymain): New.
authorAldy Hernandez <aldyh@redhat.com>
Mon, 27 Aug 2001 19:23:11 +0000 (19:23 +0000)
committerAldy Hernandez <aldyh@gcc.gnu.org>
Mon, 27 Aug 2001 19:23:11 +0000 (19:23 +0000)
From-SVN: r45205

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asm-names.c

index dddbe24beb8c03340c9c05f876d8cdc0dea78d80..1bdaf961fdbbd6db6ed2ffdc3792ce9ad947758b 100644 (file)
@@ -1,3 +1,7 @@
+2001-08-25  Aldy Hernandez  <aldyh@redhat.com>
+
+        * gcc.dg/asm-names.c (ymain): New.
+
 2001-08-22  Geoffrey Keating  <geoffk@redhat.com>
 
        * gcc.c-torture/compile/961203-1.x: Mark unsupported by stormy16.
index f02f08f31de9edcc6449e924b1fcbdcfd56228f5..dbfa7925427f2aeff6a382e79dd618ad9f83a733 100644 (file)
@@ -21,3 +21,7 @@ main (void)
 extern int xmain (void) asm ("main");
 
 int xmain (void) { return main(); }
+
+/* In case built where the runtime calls __main.  */
+extern int ymain (void) asm ("___main");
+int ymain (void) { return main(); }