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
5e62dee5
Commit
5e62dee5
authored
Apr 06, 1999
by
Richard Henderson
Committed by
Richard Henderson
Apr 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* alpha.c (alpha_end_function): Don't flag weak functions.
From-SVN: r26233
parent
67070f5c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
gcc/ChangeLog
+8
-0
gcc/config/alpha/alpha.c
+3
-3
No files found.
gcc/ChangeLog
View file @
5e62dee5
Wed
Apr
7
03
:
16
:
45
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
alpha
.
c
(
reg_no_subreg_operand
)
:
New
function
.
*
alpha
.
h
(
PREDICATE_CODES
)
:
Add
it
.
*
alpha
.
md
(
floatdi
?
f
patterns
):
Use
it
for
op1
.
*
alpha
.
c
(
alpha_end_function
)
:
Don
'
t
flag
weak
functions
.
Wed
Apr
7
02
:
11
:
55
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
Wed
Apr
7
02
:
11
:
55
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
expr
.
c
(
expand_builtin
)
[
BUILT_IN_RETURN_ADDRESS
]
:
Use
*
expr
.
c
(
expand_builtin
)
[
BUILT_IN_RETURN_ADDRESS
]
:
Use
...
...
gcc/config/alpha/alpha.c
View file @
5e62dee5
...
@@ -3948,10 +3948,10 @@ alpha_end_function (file, fnname, decl)
...
@@ -3948,10 +3948,10 @@ alpha_end_function (file, fnname, decl)
Don't do this for global functions in object files destined for a
Don't do this for global functions in object files destined for a
shared library because the function may be overridden by the application
shared library because the function may be overridden by the application
or other libraries.
or other libraries. Similarly, don't do this for weak functions. */
??? Is this just ELF? */
if
(
!
flag_pic
||
!
TREE_PUBLIC
(
current_function_decl
))
if
(
!
DECL_WEAK
(
current_function_decl
)
&&
(
!
flag_pic
||
!
TREE_PUBLIC
(
current_function_decl
)))
SYMBOL_REF_FLAG
(
XEXP
(
DECL_RTL
(
current_function_decl
),
0
))
=
1
;
SYMBOL_REF_FLAG
(
XEXP
(
DECL_RTL
(
current_function_decl
),
0
))
=
1
;
}
}
...
...
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