Commit | Line | Data |
---|---|---|
df601262 C |
1 | /* Subroutines needed by GCC output code on some machines. */ |
2 | /* Compile this file with the Unix C compiler! */ | |
3 | ||
4 | /* Define the C data type to use for an SImode value. */ | |
5 | ||
6 | #ifndef SItype | |
7 | #define SItype long int | |
8 | #endif | |
9 | ||
10 | /* Define the type to be used for returning an SF mode value | |
11 | and the method for turning a float into that type. | |
12 | These definitions work for machines where an SF value is | |
13 | returned in the same register as an int. */ | |
14 | ||
15 | #ifndef SFVALUE | |
16 | #define SFVALUE int | |
17 | #endif | |
18 | ||
19 | #ifndef INTIFY | |
20 | #define INTIFY(FLOATVAL) (intify.f = (FLOATVAL), intify.i) | |
21 | #endif | |
22 | ||
23 | union flt_or_int { int i; float f; }; | |
24 | ||
25 | ||
26 | #include <stdio.h> | |
27 | /* This is used by the `assert' macro. */ | |
28 | void | |
29 | __eprintf (string, expression, line, filename) | |
30 | char *string; | |
31 | char *expression; | |
32 | int line; | |
33 | char *filename; | |
34 | { | |
35 | fprintf (stderr, string, expression, line, filename); | |
36 | } |