summaryrefslogtreecommitdiffstats
path: root/spec/rtems/basedefs/req/weak-0.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rtems/basedefs/req/weak-0.yml')
-rw-r--r--spec/rtems/basedefs/req/weak-0.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/spec/rtems/basedefs/req/weak-0.yml b/spec/rtems/basedefs/req/weak-0.yml
new file mode 100644
index 00000000..68dd0f94
--- /dev/null
+++ b/spec/rtems/basedefs/req/weak-0.yml
@@ -0,0 +1,20 @@
+SPDX-License-Identifier: CC-BY-SA-4.0
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: requirement-refinement
+ uid: ../if/weak
+non-functional-type: interface
+rationale: null
+references: []
+requirement-type: non-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