Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/common/lib/libc



Module Name:    src
Committed By:   riastradh
Date:           Thu Mar 30 15:03:36 UTC 2023

Modified Files:
        src/common/lib/libc/arch/hppa/atomic: Makefile.inc
        src/common/lib/libc/arch/m68k/atomic: Makefile.inc
        src/common/lib/libc/arch/mips/atomic: Makefile.inc
        src/common/lib/libc/arch/sh3/atomic: Makefile.inc
        src/common/lib/libc/arch/sparc/atomic: Makefile.inc
        src/common/lib/libc/arch/vax/atomic: Makefile.inc
Added Files:
        src/common/lib/libc/atomic: atomic_is_lock_free.c

Log Message:
libc: Define __atomic_is_lock_free.

Limited to architectures where it is actually needed by gcc for any
calls to stdatomic.h atomic_is_lock_free for now.

We should also add it to other architectures too, along with lockful
atomic r/m/w operations for sizes that can't be handled natively, but
that's a lot more work.  It is also necessary for -fno-inline-atomics
but we're missing a lot of other symbols for that too, to be fixed.
For now, this should enable the OpenSSL build to complete on these
architectures again after I reverted a local change.

XXX pullup-10


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/common/lib/libc/arch/hppa/atomic/Makefile.inc
cvs rdiff -u -r1.15 -r1.16 src/common/lib/libc/arch/m68k/atomic/Makefile.inc
cvs rdiff -u -r1.15 -r1.16 src/common/lib/libc/arch/mips/atomic/Makefile.inc
cvs rdiff -u -r1.8 -r1.9 src/common/lib/libc/arch/sh3/atomic/Makefile.inc
cvs rdiff -u -r1.23 -r1.24 src/common/lib/libc/arch/sparc/atomic/Makefile.inc
cvs rdiff -u -r1.8 -r1.9 src/common/lib/libc/arch/vax/atomic/Makefile.inc
cvs rdiff -u -r0 -r1.1 src/common/lib/libc/atomic/atomic_is_lock_free.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index