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
f0985900
Commit
f0985900
authored
Sep 09, 2003
by
Jan Hubicka
Committed by
Jan Hubicka
Sep 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* varasm.c (notice_global_symbol): Properly deal with weak symbols.
From-SVN: r71236
parent
94fd5176
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
gcc/ChangeLog
+4
-0
gcc/varasm.c
+4
-4
No files found.
gcc/ChangeLog
View file @
f0985900
Tue Sep 9 15:36:28 CEST 2003 Jan Hubicka <jh@suse.cz>
* varasm.c (notice_global_symbol): Properly deal with weak symbols.
2003-09-08 Kelley Cook <kelleycook@wideopenwest.com>
2003-09-08 Kelley Cook <kelleycook@wideopenwest.com>
* Makefile.in: Revert yesterday's change.
* Makefile.in: Revert yesterday's change.
...
...
gcc/varasm.c
View file @
f0985900
...
@@ -1048,11 +1048,11 @@ void
...
@@ -1048,11 +1048,11 @@ void
notice_global_symbol
(
tree
decl
)
notice_global_symbol
(
tree
decl
)
{
{
if
((
!
first_global_object_name
||
!
weak_global_object_name
)
if
((
!
first_global_object_name
||
!
weak_global_object_name
)
&&
TREE_PUBLIC
(
decl
)
&&
TREE_PUBLIC
(
decl
)
&&
!
DECL_COMMON
(
decl
)
&&
(
TREE_CODE
(
decl
)
==
FUNCTION_DECL
&&
(
TREE_CODE
(
decl
)
==
FUNCTION_DECL
||
!
(
DECL_COMMON
(
decl
)
||
(
TREE_CODE
(
decl
)
==
VAR_DECL
&&
(
DECL_INITIAL
(
decl
)
=
=
0
&&
(
DECL_INITIAL
(
decl
)
!
=
0
||
DECL_INITIAL
(
decl
)
=
=
error_mark_node
))))
&&
DECL_INITIAL
(
decl
)
!
=
error_mark_node
))))
{
{
const
char
*
p
;
const
char
*
p
;
char
*
name
;
char
*
name
;
...
...
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