aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-19 17:15:55 +0000
committerRichard Stallman <rms@gnu.org>1992-07-19 17:15:55 +0000
commit4c461967d48222ef2e8dc739b2d31bc6a2d67d4c (patch)
treefced3685b111d151aca07012bac2ee07d62c6e51
parentedb323d348855e1e360af43d072df28dcb627889 (diff)
downloadgcc-4c461967d48222ef2e8dc739b2d31bc6a2d67d4c.zip
gcc-4c461967d48222ef2e8dc739b2d31bc6a2d67d4c.tar.gz
gcc-4c461967d48222ef2e8dc739b2d31bc6a2d67d4c.tar.bz2
*** empty log message ***
From-SVN: r1629
-rw-r--r--gcc/config/i386/sysv4.h31
1 files changed, 3 insertions, 28 deletions
diff --git a/gcc/config/i386/sysv4.h b/gcc/config/i386/sysv4.h
index bac364b..e20ca74 100644
--- a/gcc/config/i386/sysv4.h
+++ b/gcc/config/i386/sysv4.h
@@ -22,6 +22,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "i386.h" /* Base i386 target machine definitions */
#include "att386.h" /* Use the i386 AT&T assembler syntax */
#include "svr4.h" /* Definitions common to all SVR4 targets */
+#include "machmode.h"
#include "real.h"
#undef TARGET_VERSION
@@ -254,31 +255,5 @@ extern int maximum_field_alignment;
#undef PCC_BITFIELD_TYPE_MATTERS
#define PCC_BITFIELD_TYPE_MATTERS (maximum_field_alignment == 0)
-/* Code to handle #pragma directives. The interface is a bit messy,
- but there's no simpler way to do this while still using yylex. */
-#define HANDLE_PRAGMA(FILE) \
- do { \
- while (c == ' ' || c == '\t') \
- c = getc (FILE); \
- if (c == '\n' || c == EOF) \
- { \
- handle_pragma_token (0, 0); \
- return c; \
- } \
- ungetc (c, FILE); \
- switch (yylex ()) \
- { \
- case IDENTIFIER: \
- case TYPENAME: \
- case STRING: \
- case CONSTANT: \
- handle_pragma_token (token_buffer, yylval.ttype); \
- break; \
- default: \
- handle_pragma_token (token_buffer, 0); \
- } \
- if (nextchar >= 0) \
- c = nextchar, nextchar = -1; \
- else \
- c = getc (FILE); \
- } while (1)
+/* Handle #pragma pack and sometimes #pragma weak. */
+#define HANDLE_SYSV_PRAGMA