Source-Changes archive

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

CVS commit: [netbsd-10] src/common/lib/libc



Module Name:    src
Committed By:   martin
Date:           Mon Jul 31 16:10:27 UTC 2023

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

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #275):

        common/lib/libc/arch/sparc/atomic/Makefile.inc: revision 1.24
        common/lib/libc/arch/m68k/atomic/Makefile.inc: revision 1.16
        common/lib/libc/arch/mips/atomic/Makefile.inc: revision 1.16
        common/lib/libc/arch/hppa/atomic/Makefile.inc: revision 1.15
        common/lib/libc/arch/vax/atomic/Makefile.inc: revision 1.9
        common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.1
        common/lib/libc/arch/sh3/atomic/Makefile.inc: revision 1.9

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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.14.14.1 \
    src/common/lib/libc/arch/hppa/atomic/Makefile.inc
cvs rdiff -u -r1.15 -r1.15.14.1 \
    src/common/lib/libc/arch/m68k/atomic/Makefile.inc
cvs rdiff -u -r1.15 -r1.15.6.1 \
    src/common/lib/libc/arch/mips/atomic/Makefile.inc
cvs rdiff -u -r1.8 -r1.8.14.1 \
    src/common/lib/libc/arch/sh3/atomic/Makefile.inc
cvs rdiff -u -r1.23 -r1.23.14.1 \
    src/common/lib/libc/arch/sparc/atomic/Makefile.inc
cvs rdiff -u -r1.8 -r1.8.14.1 \
    src/common/lib/libc/arch/vax/atomic/Makefile.inc
cvs rdiff -u -r0 -r1.3.2.2 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