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
91141d4f
Commit
91141d4f
authored
May 19, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1013
parent
c3f3d7e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
5 deletions
+24
-5
gcc/config/svr3.h
+24
-5
No files found.
gcc/config/svr3.h
View file @
91141d4f
...
@@ -216,13 +216,32 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
...
@@ -216,13 +216,32 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
/* CTOR_LIST_BEGIN and CTOR_LIST_END are machine-dependent
/* CTOR_LIST_BEGIN and CTOR_LIST_END are machine-dependent
because they push on the stack. */
because they push on the stack. */
#define DO_GLOBAL_CTORS_BODY \
#ifdef STACK_GROWS_DOWNWARD
do { \
func_ptr *__CTOR_LIST__ = __builtin_alloca (0), *p; \
/* Constructor list on stack is in reverse order. Go to the end of the
for (p = __CTOR_LIST__; *p; ) \
list and go backwards to call constructors in the right order. */
(*p++) (); \
#define DO_GLOBAL_CTORS_BODY \
do { \
func_ptr *p, *beg = alloca (0); \
for (p = beg; *p; p++) \
; \
while (p != beg) \
(*--p) (); \
} while (0)
} while (0)
#else
/* Constructor list on stack is in correct order. Just call them. */
#define DO_GLOBAL_CTORS_BODY \
do { \
func_ptr *p, *beg = alloca (0); \
for (p = beg; *p; ) \
(*p++) (); \
#endif \
} while (0)
#endif
/* STACK_GROWS_DOWNWARD */
/* Add extra sections .init and .fini, in addition to .bss from att386.h. */
/* Add extra sections .init and .fini, in addition to .bss from att386.h. */
#undef EXTRA_SECTIONS
#undef EXTRA_SECTIONS
...
...
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