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
5041a61c
Commit
5041a61c
authored
Nov 25, 1997
by
Jeffrey A Law
Committed by
Jeff Law
Nov 25, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
From-SVN: r16698
parent
bb727b5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
gcc/ChangeLog
+4
-0
gcc/crtstuff.c
+7
-0
No files found.
gcc/ChangeLog
View file @
5041a61c
Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
* crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
* dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
* dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
...
...
gcc/crtstuff.c
View file @
5041a61c
...
@@ -128,6 +128,11 @@ static void
...
@@ -128,6 +128,11 @@ static void
__do_global_dtors_aux
()
__do_global_dtors_aux
()
{
{
static
func_ptr
*
p
=
__DTOR_LIST__
+
1
;
static
func_ptr
*
p
=
__DTOR_LIST__
+
1
;
static
int
completed
=
0
;
if
(
completed
)
return
;
while
(
*
p
)
while
(
*
p
)
{
{
p
++
;
p
++
;
...
@@ -137,8 +142,10 @@ __do_global_dtors_aux ()
...
@@ -137,8 +142,10 @@ __do_global_dtors_aux ()
#ifdef EH_FRAME_SECTION_ASM_OP
#ifdef EH_FRAME_SECTION_ASM_OP
__deregister_frame
(
__EH_FRAME_BEGIN__
);
__deregister_frame
(
__EH_FRAME_BEGIN__
);
#endif
#endif
completed
=
1
;
}
}
/* Stick a call to __do_global_dtors_aux into the .fini section. */
/* Stick a call to __do_global_dtors_aux into the .fini section. */
static
void
static
void
...
...
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