blob: b5230ef82fed502f6cb186f29bc6e1f9b71cc1a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
SPDX-License-Identifier: CC-BY-SA-4.0
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
functional-type: function
links:
- role: interface-function
uid: ../if/section
rationale: null
references: []
requirement-type: functional
text: |
When the code is compiled with the GNU C compiler,
and the ${../if/section:/name} macro is attached to a
function declaration or definition or a global variable definition,
and the argument ${../if/section:/params[0]/name} after applying
all possible C pre-processor substitutions to its value is a
C sting containing valid linker section name,
and the file format used supports arbitary sections,
the macro shall cause the compiler to store the function or
variable in a section named like the result of the pre-processor
substitutions on its argument ${../if/section:/params[0]/name}.
type: requirement
|