diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2009-09-11 16:12:57 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2009-09-11 16:12:57 +0000 |
commit | 603bb63effce598498cdec596afb4860a64935f2 (patch) | |
tree | 0c9a7b7f8ceaa1e53f30b689426da88fdb0bad17 /gcc | |
parent | 61e1d511e100823268b33f4311e67d2c6911ec3c (diff) | |
download | gcc-603bb63effce598498cdec596afb4860a64935f2.zip gcc-603bb63effce598498cdec596afb4860a64935f2.tar.gz gcc-603bb63effce598498cdec596afb4860a64935f2.tar.bz2 |
From Jie Zhang <jie.zhang@analog.com>:
* doc/extend.texi (node Function Attributes): Document l2
function attribute.
(node Blackfin Variable Attributes): Document l2 variable attributes.
From-SVN: r151639
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 13 |
2 files changed, 20 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 82f22ad..4773548 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2009-09-11 Bernd Schmidt <bernd.schmidt@analog.com> + + From Jie Zhang <jie.zhang@analog.com>: + * doc/extend.texi (node Function Attributes): Document l2 + function attribute. + (node Blackfin Variable Attributes): Document l2 variable attributes. + 2009-09-11 Loren J. Rittle <ljrittle@acm.org> * config.gcc (*-*-freebsd*): Enable default_use_cxa_atexit diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 4e9f189..92f26e5 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -2564,6 +2564,13 @@ SRAM@. The function will be put into a specific section named @code{.l1.text}. With @option{-mfdpic}, function calls with a such function as the callee or caller will use inlined PLT. +@item l2 +@cindex @code{l2} function attribute +On the Blackfin, this attribute specifies a function to be placed into L2 +SRAM. The function will be put into a specific section named +@code{.l1.text}. With @option{-mfdpic}, callers of such functions will use +an inlined PLT. + @item long_call/short_call @cindex indirect calls on ARM This attribute specifies how a particular function is called on @@ -4191,6 +4198,12 @@ Variables with @code{l1_data} attribute will be put into the specific section named @code{.l1.data}. Those with @code{l1_data_A} attribute will be put into the specific section named @code{.l1.data.A}. Those with @code{l1_data_B} attribute will be put into the specific section named @code{.l1.data.B}. + +@item l2 +@cindex @code{l2} variable attribute +Use this attribute on the Blackfin to place the variable into L2 SRAM. +Variables with @code{l2} attribute will be put into the specific section +named @code{.l2.data}. @end table @subsection M32R/D Variable Attributes |