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
a226df46
Commit
a226df46
authored
Nov 26, 1997
by
Michael Meissner
Committed by
Michael Meissner
Nov 26, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use @local for local calls under System V
From-SVN: r16765
parent
034e84c4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
gcc/ChangeLog
+3
-0
gcc/config/rs6000/rs6000.md
+4
-4
No files found.
gcc/ChangeLog
View file @
a226df46
Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
* rs6000.md (call insns): For local calls, use @local suffix under
System V. Don't use @plt under Solaris.
* rs6000.c (output_function_profiler): Put label address in r0, and
* rs6000.c (output_function_profiler): Put label address in r0, and
store LR in 4(sp) for System V/eabi.
store LR in 4(sp) for System V/eabi.
...
...
gcc/config/rs6000/rs6000.md
View file @
a226df46
...
@@ -7525,7 +7525,7 @@
...
@@ -7525,7 +7525,7 @@
else if (INTVAL (operands
[
2
]
) & CALL_V4_CLEAR_FP_ARGS)
else if (INTVAL (operands
[
2
]
) & CALL_V4_CLEAR_FP_ARGS)
output_asm_insn (
\"
creqv 6,6,6
\"
, operands);
output_asm_insn (
\"
creqv 6,6,6
\"
, operands);
return
\"
bl %z0
\"
;
return
(DEFAULT_ABI == ABI_V4 && flag_pic) ?
\"
bl %z0@local
\"
:
\"
bl %z0
\"
;
}"
}"
[
(set_attr "type" "branch")
[
(set_attr "type" "branch")
(set_attr "length" "4,8")])
(set_attr "length" "4,8")])
...
@@ -7580,7 +7580,7 @@
...
@@ -7580,7 +7580,7 @@
else if (INTVAL (operands
[
2
]
) & CALL_V4_CLEAR_FP_ARGS)
else if (INTVAL (operands
[
2
]
) & CALL_V4_CLEAR_FP_ARGS)
output_asm_insn (
\"
creqv 6,6,6
\"
, operands);
output_asm_insn (
\"
creqv 6,6,6
\"
, operands);
return
flag_pic
?
\"
bl %z0@plt
\"
:
\"
bl %z0
\"
;
return
(DEFAULT_ABI == ABI_V4 && flag_pic)
?
\"
bl %z0@plt
\"
:
\"
bl %z0
\"
;
}"
}"
[
(set_attr "type" "branch")
[
(set_attr "type" "branch")
(set_attr "length" "4,8")])
(set_attr "length" "4,8")])
...
@@ -7600,7 +7600,7 @@
...
@@ -7600,7 +7600,7 @@
else if (INTVAL (operands
[
3
]
) & CALL_V4_CLEAR_FP_ARGS)
else if (INTVAL (operands
[
3
]
) & CALL_V4_CLEAR_FP_ARGS)
output_asm_insn (
\"
creqv 6,6,6
\"
, operands);
output_asm_insn (
\"
creqv 6,6,6
\"
, operands);
return
\"
bl %z1
\"
;
return
(DEFAULT_ABI == ABI_V4 && flag_pic) ?
\"
bl %z1@local
\"
:
\"
bl %z1
\"
;
}"
}"
[
(set_attr "type" "branch")
[
(set_attr "type" "branch")
(set_attr "length" "4,8")])
(set_attr "length" "4,8")])
...
@@ -7650,7 +7650,7 @@
...
@@ -7650,7 +7650,7 @@
else if (INTVAL (operands
[
3
]
) & CALL_V4_CLEAR_FP_ARGS)
else if (INTVAL (operands
[
3
]
) & CALL_V4_CLEAR_FP_ARGS)
output_asm_insn (
\"
creqv 6,6,6
\"
, operands);
output_asm_insn (
\"
creqv 6,6,6
\"
, operands);
return
flag_pic
?
\"
bl %z1@plt
\"
:
\"
bl %z1
\"
;
return
(DEFAULT_ABI == ABI_V4 && flag_pic)
?
\"
bl %z1@plt
\"
:
\"
bl %z1
\"
;
}"
}"
[
(set_attr "type" "branch")
[
(set_attr "type" "branch")
(set_attr "length" "4,8")])
(set_attr "length" "4,8")])
...
...
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