Commit 13b7a7b9 by Michael Meissner

Change -mno-r11 to -mno-pointers-to-nested-functions

From-SVN: r176253
parent 1db75f6c
...@@ -807,7 +807,8 @@ See RS/6000 and PowerPC Options. ...@@ -807,7 +807,8 @@ See RS/6000 and PowerPC Options.
-msdata=@var{opt} -mvxworks -G @var{num} -pthread @gol -msdata=@var{opt} -mvxworks -G @var{num} -pthread @gol
-mrecip -mrecip=@var{opt} -mno-recip -mrecip-precision @gol -mrecip -mrecip=@var{opt} -mno-recip -mrecip-precision @gol
-mno-recip-precision @gol -mno-recip-precision @gol
-mveclibabi=@var{type} -mfriz -mno-friz -mr11 -mno-r11} -mveclibabi=@var{type} -mfriz -mno-friz @gol
-mpointers-to-nested-functions -mno-pointers-to-nested-functions}
@emph{RX Options} @emph{RX Options}
@gccoptlist{-m64bit-doubles -m32bit-doubles -fpu -nofpu@gol @gccoptlist{-m64bit-doubles -m32bit-doubles -fpu -nofpu@gol
...@@ -16322,18 +16323,18 @@ rounding a floating point value to 64-bit integer and back to floating ...@@ -16322,18 +16323,18 @@ rounding a floating point value to 64-bit integer and back to floating
point. The @code{friz} instruction does not return the same value if point. The @code{friz} instruction does not return the same value if
the floating point number is too large to fit in an integer. the floating point number is too large to fit in an integer.
@item -mr11 @item -mpointers-to-nested-functions
@itemx -mno-r11 @itemx -mno-pointers-to-nested-functions
@opindex mr11 @opindex mpointers-to-nested-functions
Generate (do not generate) code to load up the static chain register Generate (do not generate) code to load up the static chain register
(@var{r11}) when calling through a pointer on AIX and 64-bit Linux (@var{r11}) when calling through a pointer on AIX and 64-bit Linux
systems where a function pointer points to a 3 word descriptor giving systems where a function pointer points to a 3 word descriptor giving
the function address, TOC value to be loaded in register @var{r2}, and the function address, TOC value to be loaded in register @var{r2}, and
static chain value to be loaded in register @var{r11}. The static chain value to be loaded in register @var{r11}. The
@option{-mr11} is on by default. You will not be able to call through @option{-mpointers-to-nested-functions} is on by default. You will
pointers to nested functions or pointers to functions compiled in not be able to call through pointers to nested functions or pointers
other languages that use the static chain if you use the to functions compiled in other languages that use the static chain if
@option{-mno-r11}. you use the @option{-mno-pointers-to-nested-functions}.
@end table @end table
@node RX Options @node RX Options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment