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
8e702085
Commit
8e702085
authored
Feb 07, 1997
by
Mike Stump
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
i formatting tweaks
From-SVN: r13614
parent
abeeec2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
14 deletions
+9
-14
gcc/libgcc2.c
+9
-14
No files found.
gcc/libgcc2.c
View file @
8e702085
...
@@ -3042,8 +3042,6 @@ struct exception_table_node {
...
@@ -3042,8 +3042,6 @@ struct exception_table_node {
struct
exception_table_node
*
next
;
struct
exception_table_node
*
next
;
};
};
static
int
except_table_pos
;
static
void
*
except_pc
;
static
struct
exception_table_node
*
exception_table_list
;
static
struct
exception_table_node
*
exception_table_list
;
static
exception_table
*
static
exception_table
*
...
@@ -3084,8 +3082,8 @@ find_exception_table (pc)
...
@@ -3084,8 +3082,8 @@ find_exception_table (pc)
an inner block. */
an inner block. */
void
*
void
*
__find_first_exception_table_match
(
pc
)
__find_first_exception_table_match
(
pc
)
void
*
pc
;
void
*
pc
;
{
{
exception_table
*
table
=
find_exception_table
(
pc
);
exception_table
*
table
=
find_exception_table
(
pc
);
int
pos
=
0
;
int
pos
=
0
;
...
@@ -3093,33 +3091,30 @@ void *pc;
...
@@ -3093,33 +3091,30 @@ void *pc;
if
(
table
==
0
)
if
(
table
==
0
)
return
(
void
*
)
0
;
return
(
void
*
)
0
;
#if 0
#if 0
printf ("find_first_exception_table_match(): pc = %x!\n", pc);
printf ("find_first_exception_table_match
(): pc = %x!\n", pc);
#endif
#endif
except_pc
=
pc
;
#if 0
#if 0
/* We can't do this yet, as we don't know that the table is sorted. */
/* We can't do this yet, as we don't know that the table is sorted. */
do {
do {
++pos;
++pos;
if (table[pos].start >
except_
pc)
if (table[pos].start > pc)
/* found the first table[pos].start >
except_
pc, so the previous
/* found the first table[pos].start > pc, so the previous
entry better be the one we want! */
entry better be the one we want! */
break;
break;
} while (table[pos].exception_handler != (void *) -1);
} while (table[pos].exception_handler != (void *) -1);
--pos;
--pos;
if (table[pos].start <=
except_pc && table[pos].end > except_
pc)
if (table[pos].start <=
pc && table[pos].end >
pc)
{
{
except_table_pos = pos;
#if 0
#if 0
printf ("find_first_eh_table_match(): found match: %x\n", table[pos].exception_handler);
printf ("find_first_eh_table_match
(): found match: %x\n", table[pos].exception_handler);
#endif
#endif
return table[pos].exception_handler;
return table[pos].exception_handler;
}
}
#else
#else
while
(
table
[
++
pos
].
exception_handler
!=
(
void
*
)
-
1
)
{
while
(
table
[
++
pos
].
exception_handler
!=
(
void
*
)
-
1
)
{
if
(
table
[
pos
].
start
<=
except_pc
&&
table
[
pos
].
end
>
except_
pc
)
if
(
table
[
pos
].
start
<=
pc
&&
table
[
pos
].
end
>
pc
)
{
{
/* This can apply. Make sure it is better or as good as the previous
/* This can apply. Make sure it is better or as good as the previous
best. */
best. */
...
@@ -3135,7 +3130,7 @@ void *pc;
...
@@ -3135,7 +3130,7 @@ void *pc;
#endif
#endif
#if 0
#if 0
printf ("find_first_eh_table_match(): else: returning NULL!\n");
printf ("find_first_eh_table_match
(): else: returning NULL!\n");
#endif
#endif
return
(
void
*
)
0
;
return
(
void
*
)
0
;
}
}
...
...
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