diff options
author | Nick Clifton <nickc@redhat.com> | 2013-05-17 07:51:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 2013-05-17 07:51:53 +0000 |
commit | 17b962bd33aa88fbe170ffd67a5273d56350066e (patch) | |
tree | 093fd6f9bc10606205b0aea14e8824e8e4c177e1 /gcc/doc/extend.texi | |
parent | b1a0f84edb849a7b78db47450e7f2d180aeec088 (diff) | |
download | gcc-17b962bd33aa88fbe170ffd67a5273d56350066e.zip gcc-17b962bd33aa88fbe170ffd67a5273d56350066e.tar.gz gcc-17b962bd33aa88fbe170ffd67a5273d56350066e.tar.bz2 |
rl78.c (rl78_attribute_table): Add naked.
* config/rl78/rl78.c (rl78_attribute_table): Add naked.
(rl78_is_naked_func): New function.
(rl78_expand_prologue): Skip prologue generation for naked
functions.
(rl78_expand_epilogue): Skip epilogue generation for naked
functions.
* doc/extend.texi (naked): Add RL78 to the list of processors
that supports this attribute.
From-SVN: r199001
Diffstat (limited to 'gcc/doc/extend.texi')
-rw-r--r-- | gcc/doc/extend.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 1e1f8b3..76a90ec 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -3142,7 +3142,7 @@ and newer. @item naked @cindex function without a prologue/epilogue code -Use this attribute on the ARM, AVR, MCORE, RX and SPU ports to indicate that +Use this attribute on the ARM, AVR, MCORE, RL78, RX and SPU ports to indicate that the specified function does not need prologue/epilogue sequences generated by the compiler. It is up to the programmer to provide these sequences. The only statements that can be safely included in naked functions are |