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
4aaf1d15
Commit
4aaf1d15
authored
Aug 29, 2011
by
Michael Meissner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change default for -msave-toc-indirect
From-SVN: r178260
parent
cdc4cc65
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
gcc/config/rs6000/rs6000.opt
+2
-2
gcc/doc/invoke.texi
+11
-1
No files found.
gcc/config/rs6000/rs6000.opt
View file @
4aaf1d15
...
...
@@ -526,5 +526,5 @@ Target Report Var(TARGET_POINTERS_TO_NESTED_FUNCTIONS) Init(1) Save
Use/do not use r11 to hold the static link in calls to functions via pointers.
msave-toc-indirect
Target
Undocumented Var(TARGET_SAVE_TOC_INDIRECT) Save Init(1)
;
Control whether we save the TOC in the prologue for indirect calls or generate the save inline
Target
Report Var(TARGET_SAVE_TOC_INDIRECT) Save
Control whether we save the TOC in the prologue for indirect calls or generate the save inline
gcc/doc/invoke.texi
View file @
4aaf1d15
...
...
@@ -814,7 +814,8 @@ See RS/6000 and PowerPC Options.
-
mrecip
-
mrecip
=@
var
{
opt
}
-
mno
-
recip
-
mrecip
-
precision
@
gol
-
mno
-
recip
-
precision
@
gol
-
mveclibabi
=@
var
{
type
}
-
mfriz
-
mno
-
friz
@
gol
-
mpointers
-
to
-
nested
-
functions
-
mno
-
pointers
-
to
-
nested
-
functions
}
-
mpointers
-
to
-
nested
-
functions
-
mno
-
pointers
-
to
-
nested
-
functions
@
gol
-
msave
-
toc
-
indirect
-
mno
-
save
-
toc
-
indirect
}
@
emph
{
RX
Options
}
@
gccoptlist
{-
m64bit
-
doubles
-
m32bit
-
doubles
-
fpu
-
nofpu
@
gol
...
...
@@ -16438,6 +16439,15 @@ static chain value to be loaded in register @var{r11}. The
not be able to call through pointers to nested functions or pointers
to functions compiled in other languages that use the static chain if
you use the @option{-mno-pointers-to-nested-functions}.
@item -msave-toc-indirect
@itemx -mno-save-toc-indirect
@opindex msave-toc-indirect
Generate (do not generate) code to save the TOC value in the reserved
stack location in the function prologue if the function calls through
a pointer on AIX and 64-bit Linux systems. If the TOC value is not
saved in the prologue, it is saved just before the call through the
pointer. The @option{-mno-save-toc-indirect} option is the default.
@end table
@node RX Options
...
...
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