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
09b4ce12
Commit
09b4ce12
authored
Mar 19, 1998
by
Philippe De Muyter
Committed by
Jeff Law
Mar 19, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
From-SVN: r18717
parent
ba3ad5e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
gcc/ChangeLog
+2
-0
gcc/libgcc2.c
+7
-1
No files found.
gcc/ChangeLog
View file @
09b4ce12
Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
* libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
* fold-const.c (fold): Replace sign-extension of a zero extended
value by a single zero extension.
...
...
gcc/libgcc2.c
View file @
09b4ce12
...
...
@@ -2984,10 +2984,16 @@ exit (int status)
#else
/* No NEED_ATEXIT */
__do_global_dtors
();
#endif
/* No NEED_ATEXIT */
#endif
#endif
/* !defined (INIT_SECTION_ASM_OP) || !defined (OBJECT_FORMAT_ELF) */
/* In gbl-ctors.h, ON_EXIT is defined if HAVE_ATEXIT is defined. In
__bb_init_func and _bb_init_prg, __bb_exit_func is registered with ON_EXIT if
ON_EXIT is defined. Thus we must not call __bb_exit_func here anymore if
HAVE_ATEXIT is defined. */
#ifndef HAVE_ATEXIT
#ifndef inhibit_libc
__bb_exit_func
();
#endif
#endif
/* !HAVE_ATEXIT */
#ifdef EXIT_BODY
EXIT_BODY
;
#else
...
...
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