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
6efdeb47
Commit
6efdeb47
authored
Oct 16, 1992
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pa.h (TARGET_SWITCHES): New switch "-mlong-calls".
From-SVN: r2487
parent
5cf2759e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
gcc/config/pa/pa.h
+9
-0
No files found.
gcc/config/pa/pa.h
View file @
6efdeb47
...
@@ -111,6 +111,14 @@ extern int target_flags;
...
@@ -111,6 +111,14 @@ extern int target_flags;
#define TARGET_SHARED_LIBS (target_flags & 8)
#define TARGET_SHARED_LIBS (target_flags & 8)
/* Force all function calls to indirect addressing via a register. This
avoids lossage when the function is very far away from the current PC.
??? What about simple jumps, they can suffer from the same problem.
Would require significant surgery in pa.md. */
#define TARGET_LONG_CALLS (target_flags & 16)
/* Macro to define tables used to set the flags.
/* Macro to define tables used to set the flags.
This is a list in braces of pairs in braces,
This is a list in braces of pairs in braces,
each pair being { "NAME", VALUE }
each pair being { "NAME", VALUE }
...
@@ -126,6 +134,7 @@ extern int target_flags;
...
@@ -126,6 +134,7 @@ extern int target_flags;
{"kernel", 4}, \
{"kernel", 4}, \
{"shared-libs", 8}, \
{"shared-libs", 8}, \
{"no-shared-libs", -8},\
{"no-shared-libs", -8},\
{"long-calls", 16}, \
{ "", TARGET_DEFAULT}}
{ "", TARGET_DEFAULT}}
#define TARGET_DEFAULT 0
#define TARGET_DEFAULT 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