W3cubDocs

/GCC 10

6.34.4 Blackfin Variable Attributes

Three attributes are currently defined for the Blackfin.

l1_data
l1_data_A
l1_data_B

Use these attributes on the Blackfin to place the variable into L1 Data SRAM. Variables with l1_data attribute are put into the specific section named .l1.data. Those with l1_data_A attribute are put into the specific section named .l1.data.A. Those with l1_data_B attribute are put into the specific section named .l1.data.B.

l2

Use this attribute on the Blackfin to place the variable into L2 SRAM. Variables with l2 attribute are put into the specific section named .l2.data.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/Blackfin-Variable-Attributes.html