Branch: refs/heads/master Home: https://github.com/OpenAMP/libmetal Commit: a55c8a2cb7fa46843c15086796d3bfa2e93edd5c https://github.com/OpenAMP/libmetal/commit/a55c8a2cb7fa46843c15086796d3bfa2e... Author: Arnaud Pouliquen arnaud.pouliquen@st.com Date: 2020-12-15 (Tue, 15 Dec 2020)
Changed paths: M lib/compiler.h
Log Message: ----------- Generate a compiler error when ARMCC is not using GNU extentions
The GNU extensions enableable via the "--gnu" compile option, is mandatory for the ARMCC to benefit from GNU atomic routines and macros. This commit adds compilation error to notify user about ARMCC
Signed-off-by: Haithem Rahmani haithem.rahmani@st.com Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Commit: 65d77a680b7ba61eab20c28ee25f57751023995c https://github.com/OpenAMP/libmetal/commit/65d77a680b7ba61eab20c28ee25f57751... Author: Haithem Rahmani haithem.rahmani@st.com Date: 2020-12-15 (Tue, 15 Dec 2020)
Changed paths: M lib/atomic.h
Log Message: ----------- Make ARMCC use GCC atomic routines
The MDK-ARM ARMCC doesn't provide the "stdatomic.h", however, with the option "--gnu", it can support the standard gcc atomic routines.
This patch makes the armcc compiler use the "compiler/gcc/atomic.h"
Signed-off-by: Haithem Rahmani haithem.rahmani@st.com Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Commit: 9c807f04e77921a1fa3000c8f13c7bfc1004075b https://github.com/OpenAMP/libmetal/commit/9c807f04e77921a1fa3000c8f13c7bfc1... Author: Arnaud Pouliquen arnaud.pouliquen@st.com Date: 2020-12-15 (Tue, 15 Dec 2020)
Changed paths: M lib/compiler/CMakeLists.txt A lib/compiler/armcc/CMakeLists.txt A lib/compiler/armcc/errno.h M lib/errno.h
Log Message: ----------- compiler: Add support of metal/errno.h for ARMCC
Add ARMCC errno.h to support non posix error values used in baremetal.
Signed-off-by: Arnaud Pouliquen arnaud.pouliquen@st.com
Compare: https://github.com/OpenAMP/libmetal/compare/a352cc678a33...9c807f04e779