*** empty log message ***
authorRichard Stallman <rms@gnu.org>
Sat, 25 Apr 1992 01:09:03 +0000 (01:09 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 25 Apr 1992 01:09:03 +0000 (01:09 +0000)
From-SVN: r826

gcc/assert.h
gcc/config/svr4.h

index fe50cfb..59aafd9 100644 (file)
@@ -13,7 +13,7 @@
   ((void) ((expression) ? 0 : __assert (expression, __FILE__, __LINE__)))
 
 #define __assert(expression, file, lineno)  \
-  (printf ("%s:%d: failed assertion\n", file, lineno), \
+  (printf ("%s:%u: failed assertion\n", file, lineno), \
    abort (), 0)
 
 #else
@@ -27,7 +27,7 @@ extern void __eprintf (const char *, const char *, int, const char *);
   ((void) ((expression) ? 0 : __assert (#expression, __FILE__, __LINE__)))
 
 #define __assert(expression, file, line)  \
-  (__eprintf ("%s:%d: failed assertion `%s'\n",                \
+  (__eprintf ("%s:%u: failed assertion `%s'\n",                \
              file, line, expression), 0)
 
 #else /* no __STDC__; i.e. -traditional.  */
@@ -38,7 +38,7 @@ extern void __eprintf (); /* Defined in libgcc.a */
   ((void) ((expression) ? 0 : __assert (expression, __FILE__, __LINE__)))
 
 #define __assert(expression, file, lineno)  \
-  (__eprintf ("%s:%d: failed assertion `%s'\n",                \
+  (__eprintf ("%s:%u: failed assertion `%s'\n",                \
              file, lineno, "expression"), 0)
 
 #endif /* no __STDC__; i.e. -traditional.  */
index b6a42bc..fcdd9d0 100644 (file)
@@ -499,6 +499,7 @@ dtors_section ()                                                    \
 
 #define TYPE_ASM_OP    ".type"
 #define SIZE_ASM_OP    ".size"
+#define WEAK_ASM_OP    ".weak"
 
 /* The following macro defines the format used to output the second
    operand of the .type assembler directive.  Different svr4 assemblers
@@ -570,7 +571,7 @@ dtors_section ()                                                    \
         fprintf (FILE, ",");                                           \
        assemble_name (FILE, label);                                    \
         fprintf (FILE, "-");                                           \
-       ASM_OUTPUT_LABELREF (FILE, (FNAME));                            \
+       assemble_name (FILE, (FNAME));                                  \
        putc ('\n', FILE);                                              \
       }                                                                        \
   } while (0)