*** empty log message ***
From-SVN: r826
This commit is contained in:
parent
c785c6603c
commit
252043ee44
@ -13,7 +13,7 @@
|
|||||||
((void) ((expression) ? 0 : __assert (expression, __FILE__, __LINE__)))
|
((void) ((expression) ? 0 : __assert (expression, __FILE__, __LINE__)))
|
||||||
|
|
||||||
#define __assert(expression, file, lineno) \
|
#define __assert(expression, file, lineno) \
|
||||||
(printf ("%s:%d: failed assertion\n", file, lineno), \
|
(printf ("%s:%u: failed assertion\n", file, lineno), \
|
||||||
abort (), 0)
|
abort (), 0)
|
||||||
|
|
||||||
#else
|
#else
|
||||||
@ -27,7 +27,7 @@ extern void __eprintf (const char *, const char *, int, const char *);
|
|||||||
((void) ((expression) ? 0 : __assert (#expression, __FILE__, __LINE__)))
|
((void) ((expression) ? 0 : __assert (#expression, __FILE__, __LINE__)))
|
||||||
|
|
||||||
#define __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)
|
file, line, expression), 0)
|
||||||
|
|
||||||
#else /* no __STDC__; i.e. -traditional. */
|
#else /* no __STDC__; i.e. -traditional. */
|
||||||
@ -38,7 +38,7 @@ extern void __eprintf (); /* Defined in libgcc.a */
|
|||||||
((void) ((expression) ? 0 : __assert (expression, __FILE__, __LINE__)))
|
((void) ((expression) ? 0 : __assert (expression, __FILE__, __LINE__)))
|
||||||
|
|
||||||
#define __assert(expression, file, lineno) \
|
#define __assert(expression, file, lineno) \
|
||||||
(__eprintf ("%s:%d: failed assertion `%s'\n", \
|
(__eprintf ("%s:%u: failed assertion `%s'\n", \
|
||||||
file, lineno, "expression"), 0)
|
file, lineno, "expression"), 0)
|
||||||
|
|
||||||
#endif /* no __STDC__; i.e. -traditional. */
|
#endif /* no __STDC__; i.e. -traditional. */
|
||||||
|
@ -499,6 +499,7 @@ dtors_section () \
|
|||||||
|
|
||||||
#define TYPE_ASM_OP ".type"
|
#define TYPE_ASM_OP ".type"
|
||||||
#define SIZE_ASM_OP ".size"
|
#define SIZE_ASM_OP ".size"
|
||||||
|
#define WEAK_ASM_OP ".weak"
|
||||||
|
|
||||||
/* The following macro defines the format used to output the second
|
/* The following macro defines the format used to output the second
|
||||||
operand of the .type assembler directive. Different svr4 assemblers
|
operand of the .type assembler directive. Different svr4 assemblers
|
||||||
@ -570,7 +571,7 @@ dtors_section () \
|
|||||||
fprintf (FILE, ","); \
|
fprintf (FILE, ","); \
|
||||||
assemble_name (FILE, label); \
|
assemble_name (FILE, label); \
|
||||||
fprintf (FILE, "-"); \
|
fprintf (FILE, "-"); \
|
||||||
ASM_OUTPUT_LABELREF (FILE, (FNAME)); \
|
assemble_name (FILE, (FNAME)); \
|
||||||
putc ('\n', FILE); \
|
putc ('\n', FILE); \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
Loading…
Reference in New Issue
Block a user