diff options
author | Claudiu Zissulescu <claziss@synopsys.com> | 2019-06-13 11:35:19 +0200 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gcc.gnu.org> | 2019-06-13 11:35:19 +0200 |
commit | a7b183bf22c7c57fc0d8851f84db6fff694ba5f8 (patch) | |
tree | 6e5eb93a88782d280960c4e0ef3b24820fe942ef /gcc | |
parent | 52ffa82671d74d4b1bf4551643e48213e57ae5c4 (diff) | |
download | gcc-a7b183bf22c7c57fc0d8851f84db6fff694ba5f8.zip gcc-a7b183bf22c7c57fc0d8851f84db6fff694ba5f8.tar.gz gcc-a7b183bf22c7c57fc0d8851f84db6fff694ba5f8.tar.bz2 |
[ARC] Add documentation naked, ilink and firq
gcc/
xxxx-xx-xx Claudiu Zissulescu <claziss@synopsys.com>
* doc/extend.texi (ARC Function Attributes): Update info.
From-SVN: r272237
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 14 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index efb3b73..08464c5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2019-06-13 Claudiu Zissulescu <claziss@synopsys.com> + + * doc/extend.texi (ARC Function Attributes): Update info. + 2019-06-13 Feng Xue <fxue@os.amperecomputing.com> PR tree-optimization/89713 diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index a87bfe1..7ea0d04 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -4140,7 +4140,8 @@ void f () __attribute__ ((interrupt ("ilink1"))); @end smallexample Permissible values for this parameter are: @w{@code{ilink1}} and -@w{@code{ilink2}}. +@w{@code{ilink2}} for ARCv1 architecture, and @w{@code{ilink}} and +@w{@code{firq}} for ARCv2 architecture. @item long_call @itemx medium_call @@ -4183,6 +4184,17 @@ This attribute allows one to mark secure-code functions that are callable from normal mode. The location of the secure call function into the @code{sjli} table needs to be passed as argument. +@item naked +@cindex @code{naked} function attribute, ARC +This attribute allows the compiler to construct the requisite function +declaration, while allowing the body of the function to be assembly +code. The specified function will not have prologue/epilogue +sequences generated by the compiler. Only basic @code{asm} statements +can safely be included in naked functions (@pxref{Basic Asm}). While +using extended @code{asm} or a mixture of basic @code{asm} and C code +may appear to work, they cannot be depended upon to work reliably and +are not supported. + @end table @node ARM Function Attributes |