Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
c678a7f8
Commit
c678a7f8
authored
Oct 07, 1998
by
Nick Clifton
Committed by
Nick Clifton
Oct 07, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move definition of HANDLE_PRAGMA_PACK_PUSH_POP out of i386.h and into
target OS specific headers. From-SVN: r22896
parent
bf294d92
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
5 deletions
+29
-5
gcc/ChangeLog
+12
-0
gcc/config/i386/cygwin32.h
+3
-0
gcc/config/i386/go32.h
+11
-2
gcc/config/i386/i386.h
+0
-3
gcc/config/i386/win32.h
+3
-0
No files found.
gcc/ChangeLog
View file @
c678a7f8
Wed
Oct
7
14
:
40
:
43
1998
Nick
Clifton
<
nickc
@cygnus
.
com
>
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
*
c
-
pragma
.
c
(
insert_pack_attributes
)
:
Do
not
insert
attributes
unless
#
pragma
pack
(
push
,
<
n
>
)
is
in
effect
.
attributes
unless
#
pragma
pack
(
push
,
<
n
>
)
is
in
effect
.
...
...
gcc/config/i386/cygwin32.h
View file @
c678a7f8
...
@@ -89,6 +89,9 @@ Boston, MA 02111-1307, USA. */
...
@@ -89,6 +89,9 @@ Boston, MA 02111-1307, USA. */
{ "no-nop-fun-dllimport", -0x20000 }, \
{ "no-nop-fun-dllimport", -0x20000 }, \
{ "windows", 0x0 },
{ "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
/* A C expression whose value is nonzero if IDENTIFIER with arguments ARGS
is a valid machine specific attribute for DECL.
is a valid machine specific attribute for DECL.
The attributes in ATTRIBUTES have previously been assigned to DECL. */
The attributes in ATTRIBUTES have previously been assigned to DECL. */
...
...
gcc/config/i386/go32.h
View file @
c678a7f8
...
@@ -2,13 +2,14 @@
...
@@ -2,13 +2,14 @@
#include "dbxcoff.h"
#include "dbxcoff.h"
#define NO_STAB_H
/* DJGPP has no stab.h */
/* Don't assume anything about the header files. */
/* Don't assume anything about the header files. */
#define NO_IMPLICIT_EXTERN_C
#define NO_IMPLICIT_EXTERN_C
#define HANDLE_SYSV_PRAGMA
#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
#define YES_UNDERSCORES
#include "i386/gas.h"
#include "i386/gas.h"
...
@@ -88,3 +89,11 @@ dtor_section () \
...
@@ -88,3 +89,11 @@ dtor_section () \
#undef ASM_OUTPUT_ALIGN
#undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
if ((LOG) != 0) fprintf ((FILE), "\t.p2align %d\n", 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
gcc/config/i386/i386.h
View file @
c678a7f8
...
@@ -2662,9 +2662,6 @@ do { \
...
@@ -2662,9 +2662,6 @@ do { \
FAIL; \
FAIL; \
} while (0)
} while (0)
/* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */
#define HANDLE_PRAGMA_PACK_PUSH_POP 1
/* Functions in i386.c */
/* Functions in i386.c */
extern
void
override_options
();
extern
void
override_options
();
...
...
gcc/config/i386/win32.h
View file @
c678a7f8
...
@@ -23,6 +23,9 @@ Boston, MA 02111-1307, USA. */
...
@@ -23,6 +23,9 @@ Boston, MA 02111-1307, USA. */
#define YES_UNDERSCORES
#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 DBX_DEBUGGING_INFO
#define SDB_DEBUGGING_INFO
#define SDB_DEBUGGING_INFO
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment