summaryrefslogtreecommitdiff
path: root/gcc/config/i386/sysv4.h
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-07-19 17:15:55 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1992-07-19 17:15:55 +0000
commit176dc61903c4b7c53d8c29aba93aee6f8aaf96a8 (patch)
treefced3685b111d151aca07012bac2ee07d62c6e51 /gcc/config/i386/sysv4.h
parentdfbe11aff238aa3dd8715d4f4e6c17508927db4b (diff)
downloadgcc-176dc61903c4b7c53d8c29aba93aee6f8aaf96a8.tar.gz
*** empty log message ***
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@1629 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/sysv4.h')
-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 bac364b8755..e20ca74419e 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