summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/weak-0.yml
blob: 4f6c00c68ee8683c46c5f9cc4b5ec18bc50421ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/weak
rationale: null
references: []
requirement-type: functional
text: |
  When the code is compiled with the GNU C compiler,
  and the produced target file format is ELF or a.out,
  and the ${../if/weak:/name} macro is part of a function definition
  at global scope or variable definition at global scope,
  and there is no other symbol at global scope with the same name as the
  one of the above mentioned function or variable,
  the macro shall have no observable effect.
type: requirement