From d172ecaff9865aa372ffb65983b1babb6609182f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 14 Aug 2025 13:11:26 -0500 Subject: [PATCH] spec/.../mcf5235: Missing GCC atomic helper Provide missing GCC atomics helpers as part of BSPs where GCC does not know how to provide it since the CPU's ISA has no atomic instructions. The implementation provided in bsps/shared/atomics/__atomic_test_and_set.c should work on any single core CPU. --- spec/build/bsps/m68k/mcf5235/bspmcf5235.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml b/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml index ac83b037b0..34892b1a8a 100644 --- a/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml +++ b/spec/build/bsps/m68k/mcf5235/bspmcf5235.yml @@ -54,4 +54,5 @@ source: - bsps/shared/start/bspreset-loop.c - bsps/shared/start/gettargethash-default.c - bsps/shared/start/sbrk.c +- bsps/shared/atomics/__atomic_test_and_set.c type: build