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
17fa74a2
Commit
17fa74a2
authored
Nov 16, 2002
by
Kazu Hirata
Committed by
Kazu Hirata
Nov 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tlink.c: Fix formatting.
From-SVN: r59176
parent
68a7da97
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
11 deletions
+15
-11
gcc/ChangeLog
+4
-0
gcc/tlink.c
+11
-11
No files found.
gcc/ChangeLog
View file @
17fa74a2
2002
-
11
-
16
Kazu
Hirata
<
kazu
@cs
.
umass
.
edu
>
*
tlink
.
c
:
Fix
formatting
.
2002
-
11
-
16
David
Edelsohn
<
edelsohn
@gnu
.
org
>
PR
8362
...
...
gcc/tlink.c
View file @
17fa74a2
...
...
@@ -73,8 +73,8 @@ hash_string_eq (s1_p, s2_p)
const
void
*
s1_p
;
const
void
*
s2_p
;
{
const
char
*
const
*
s1
=
(
const
char
*
const
*
)
s1_p
;
const
char
*
s2
=
(
const
char
*
)
s2_p
;
const
char
*
const
*
s1
=
(
const
char
*
const
*
)
s1_p
;
const
char
*
s2
=
(
const
char
*
)
s2_p
;
return
strcmp
(
*
s1
,
s2
)
==
0
;
}
...
...
@@ -82,7 +82,7 @@ static hashval_t
hash_string_hash
(
s_p
)
const
void
*
s_p
;
{
const
char
*
const
*
s
=
(
const
char
*
const
*
)
s_p
;
const
char
*
const
*
s
=
(
const
char
*
const
*
)
s_p
;
return
(
*
htab_hash_string
)
(
*
s
);
}
...
...
@@ -120,7 +120,7 @@ symbol_hash_lookup (string, create)
{
PTR
*
e
;
e
=
htab_find_slot_with_hash
(
symbol_table
,
string
,
(
*
htab_hash_string
)(
string
),
(
*
htab_hash_string
)
(
string
),
create
?
INSERT
:
NO_INSERT
);
if
(
e
==
NULL
)
return
NULL
;
...
...
@@ -143,7 +143,7 @@ file_hash_lookup (string)
{
PTR
*
e
;
e
=
htab_find_slot_with_hash
(
file_table
,
string
,
(
*
htab_hash_string
)(
string
),
(
*
htab_hash_string
)
(
string
),
INSERT
);
if
(
*
e
==
NULL
)
{
...
...
@@ -165,7 +165,7 @@ demangled_hash_lookup (string, create)
{
PTR
*
e
;
e
=
htab_find_slot_with_hash
(
demangled_table
,
string
,
(
*
htab_hash_string
)(
string
),
(
*
htab_hash_string
)
(
string
),
create
?
INSERT
:
NO_INSERT
);
if
(
e
==
NULL
)
return
NULL
;
...
...
@@ -583,13 +583,13 @@ scan_linker_output (fname)
symbol
*
sym
;
int
end
;
while
(
*
p
&&
ISSPACE
((
unsigned
char
)
*
p
))
while
(
*
p
&&
ISSPACE
((
unsigned
char
)
*
p
))
++
p
;
if
(
!
*
p
)
continue
;
for
(
q
=
p
;
*
q
&&
!
ISSPACE
((
unsigned
char
)
*
q
);
++
q
)
for
(
q
=
p
;
*
q
&&
!
ISSPACE
((
unsigned
char
)
*
q
);
++
q
)
;
/* Try the first word on the line. */
...
...
@@ -605,9 +605,9 @@ scan_linker_output (fname)
/* Some SVR4 linkers produce messages like
ld: 0711-317 ERROR: Undefined symbol: .g__t3foo1Zi
*/
if
(
!
sym
&&
!
end
&&
strstr
(
q
+
1
,
"Undefined symbol: "
))
if
(
!
sym
&&
!
end
&&
strstr
(
q
+
1
,
"Undefined symbol: "
))
{
char
*
p
=
strrchr
(
q
+
1
,
' '
);
char
*
p
=
strrchr
(
q
+
1
,
' '
);
p
++
;
if
(
*
p
==
'.'
)
p
++
;
...
...
@@ -619,7 +619,7 @@ scan_linker_output (fname)
if
(
!
sym
&&
!
end
)
/* Try a mangled name in quotes. */
{
const
char
*
oldq
=
q
+
1
;
const
char
*
oldq
=
q
+
1
;
demangled
*
dem
=
0
;
q
=
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