target OS specific headers.
From-SVN: r22896
Wed Oct 7 14:40:43 1998 Nick Clifton <nickc@cygnus.com>
+ * config/i386/i386.h: Remove definition of
+ HANDLE_PRAGMA_PACK_PUSH_POP.
+
+ * config/i386/go32.h: Add definition of
+ HANDLE_PRAGMA_PACK_PUSH_POP.
+
+ * config/i386/win32.h: Add definition of
+ HANDLE_PRAGMA_PACK_PUSH_POP.
+
+ * config/i386/cygwin32.h: Add definition of
+ HANDLE_PRAGMA_PACK_PUSH_POP.
+
* c-pragma.c (insert_pack_attributes): Do not insert
attributes unless #pragma pack(push,<n>) is in effect.
{ "no-nop-fun-dllimport", -0x20000 }, \
{ "windows", 0x0 },
+/* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1
+
/* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
is a valid machine specific attribute for DECL.
The attributes in ATTRIBUTES have previously been assigned to DECL. */
#include "dbxcoff.h"
-#define NO_STAB_H /* DJGPP has no stab.h */
-
/* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C
#define HANDLE_SYSV_PRAGMA
+/* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1
+
#define YES_UNDERSCORES
#include "i386/gas.h"
#undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
if ((LOG) != 0) fprintf ((FILE), "\t.p2align %d\n", LOG)
+
+/* djgpp has atexit (). */
+#undef HAVE_ATEXIT
+#define HAVE_ATEXIT
+
+/* djgpp automatically calls its own version of __main, so don't define one
+ in libgcc, nor call one in main(). */
+#define HAS_INIT_SECTION
FAIL; \
} while (0)
-/* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */
-#define HANDLE_PRAGMA_PACK_PUSH_POP 1
-
\f
/* Functions in i386.c */
extern void override_options ();
#define YES_UNDERSCORES
+/* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1
+
#define DBX_DEBUGGING_INFO
#define SDB_DEBUGGING_INFO
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG