m68k: more atomic stubbing

Change-Id: Ic8f0078068b0d01973d67424187d11bd2bef019f
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2217
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
François Revol 2020-02-04 18:43:51 +01:00 committed by waddlesplash
parent 0960949012
commit f1d285df02

View File

@ -209,3 +209,26 @@ FUNCTION(atomic_get64):
movem.l (%a7)+,%d2-%d3/%a2
rts
FUNCTION_END(atomic_get64)
.text
#warning IMPLEMENT GCC 64-bit ATOMICS ON m68k!
/* These are to fill in 64-bit atomic calls emitted by
* by GCC when 64-bit atomics are unavailable.
*/
FUNCTION(__atomic_fetch_add_8):
nop
rts
FUNCTION_END(__atomic_fetch_add_8)
FUNCTION(__atomic_store_8):
nop
rts
FUNCTION_END(__atomic_store_8)
FUNCTION(__atomic_load_8):
nop
rts
FUNCTION_END(__atomic_load_8)