Home | History | Annotate | only in /src/common/lib/libc/arch/sh3
History log of /src/common/lib/libc/arch/sh3
RevisionDateAuthorComments
 1.9 30-Mar-2023  riastradh 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
 1.8 28-Feb-2019  isaki branches: 1.8.14;
Add missing atomic_and_{8,16}_nv_cas.c for __sync_and_and_fetch_{1,2}.
XXX why is not only atomic_and_* symmetric unlike the others?
(in common/lib/libc/atomic/)
 1.7 13-Oct-2014  martin branches: 1.7.16;
Provide <atomic> C++ 2011 support functions for mips and sh3.
 1.6 22-Feb-2014  martin branches: 1.6.4;
Add missing __sync_* ops to libc
 1.5 04-Jan-2009  pooka branches: 1.5.8; 1.5.14;
allow inclusion of atomic ops in librump
 1.4 29-Sep-2008  ad Allow atomic ops to be built as part of libpthread.
 1.3 11-Feb-2008  ad Only build atomic ops for libkern/libc.
 1.2 10-Feb-2008  ad Enable the atomic ops in userspace.
 1.1 29-Nov-2007  ad branches: 1.1.4;
Atomic ops for sh3.
 1.1.4.3 23-Mar-2008  matt sync with HEAD
 1.1.4.2 09-Jan-2008  matt sync with HEAD
 1.1.4.1 29-Nov-2007  matt file Makefile.inc was added on branch matt-armv6 on 2008-01-09 01:21:07 +0000
 1.5.14.1 19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.8.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.6.4.1 12-Nov-2014  snj Pull up following revision(s) (requested by martin in ticket #218):
common/lib/libc/arch/arm/atomic/Makefile.inc: revision 1.24-1.26
common/lib/libc/arch/hppa/atomic/Makefile.inc: revision 1.13
common/lib/libc/arch/mips/atomic/Makefile.inc: revision 1.13
common/lib/libc/arch/sh3/atomic/Makefile.inc: revision 1.7
common/lib/libc/arch/sparc/atomic/Makefile.inc: revision 1.18
common/lib/libc/arch/vax/atomic/Makefile.inc: revision 1.7
common/lib/libc/atomic/atomic_and_16_nv_cas.c: revision 1.2
common/lib/libc/atomic/atomic_and_8_nv_cas.c: revision 1.2
common/lib/libc/atomic/atomic_c11_compare_exchange_cas_16.c: revision 1.1-1.2
common/lib/libc/atomic/atomic_c11_compare_exchange_cas_32.c: revision 1.1-1.2
common/lib/libc/atomic/atomic_c11_compare_exchange_cas_8.c: revision 1.1-1.2
common/lib/libc/atomic/atomic_cas_by_cas32.c: revision 1.4
common/lib/libc/atomic/atomic_op_namespace.h: revision 1.7
Add __sync_val_compare_and_swap_{1,2} aliases for _atomic_cas_{8,16}
--
Provide __atomic_compare_exchange_N (as needed for the C11 2011 <atomic>
ops) via the corresponding CAS.
--
Hook __atomic_compare_exchange_N into vax libc.
--
Provide __sync_and_and_fetch_2 and __sync_and_and_fetch_1 for pre-ARMv6,
they are needed for the C++ 2011 <atomic> stuff.
--
Add C++ 2011 <atomic> support functions.
--
Move the and_{16,8}_nv sources into the right (libc only) block.
--
Provide <atomic> C++ 2011 support functions for mips and sh3.
--
Provide C++ 2011 <atomic> support functions for hppa and arm.
--
Provide prototypes to fix build with clang.
 1.7.16.3 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.7.16.2 21-Apr-2020  martin Sync with HEAD
 1.7.16.1 10-Jun-2019  christos Sync with HEAD
 1.8.14.1 31-Jul-2023  martin 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.
 1.3 23-Apr-2006  uwe Now that bcopy.S doesn't contain the actual implemenation, move it
back to libc.
 1.2 22-Apr-2006  uwe Move the code into memcpy.S. Adjust the other files accordingly.
Same binaries are generated.
 1.1 22-Dec-2005  christos move from libc.
 1.3 04-Jul-2011  mrg branches: 1.3.44;
sh3 needs the __ffssi2 weak symbol, too.
 1.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.1 20-Dec-2005  christos branches: 1.1.26;
Merge libkern + libc common files. As requested by core.
 1.1.26.1 18-May-2008  yamt sync with head.
 1.3.44.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.3.44.1 21-Apr-2020  martin Sync with HEAD
 1.3 07-Feb-2024  msaitoh Remove ryo@'s mail addresses.
 1.2 22-Apr-2006  uwe branches: 1.2.94;
Move the code into memcpy.S. Adjust the other files accordingly.
Same binaries are generated.
 1.1 20-Dec-2005  christos Merge libkern + libc common files. As requested by core.
 1.2.94.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.2.94.1 21-Apr-2020  martin Sync with HEAD
 1.2 22-Apr-2006  uwe branches: 1.2.94;
Move the code into memcpy.S. Adjust the other files accordingly.
Same binaries are generated.
 1.1 20-Dec-2005  christos Merge libkern + libc common files. As requested by core.
 1.2.94.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.2.94.1 21-Apr-2020  martin Sync with HEAD
 1.2 16-Feb-2008  apb branches: 1.2.70;
For all files under src/common, as well as related man pages under
src/lib/libc, or related headers under src/sys/sys: change u_intNN_t to
uintNN_t.
 1.1 20-Dec-2005  christos branches: 1.1.6; 1.1.18;
Merge libkern + libc common files. As requested by core.
 1.1.18.1 23-Mar-2008  matt sync with HEAD
 1.1.6.1 18-Nov-2008  snj Pull up following revision(s) (requested by tsutsui in ticket #1224):
common/lib/libc/gen/bswap64.c: revision 1.2
common/lib/libprop/prop_data.c: revision 1.10
common/lib/libc/inet/inet_addr.c: revision 1.2
common/lib/libc/hash/rmd160/rmd160.c: revision 1.4
common/lib/libc/gen/bswap32.c: revision 1.2
common/lib/libc/gen/bswap16.c: revision 1.2
common/lib/libc/arch/alpha/gen/byte_swap_4.S: revision 1.3
common/lib/libc/arch/sh3/string/memset.S: revision 1.2
common/lib/libc/arch/alpha/gen/byte_swap_2.S: revision 1.3
common/lib/libc/md/md5c.c: revision 1.3
common/lib/libc/hash/sha1/sha1.c: revision 1.3
common/lib/libc/md/md4c.c: revision 1.3
sys/sys/rmd160.h: revision 1.2
sys/sys/sha2.h: revision 1.2
For all files under src/common, as well as related man pages under
src/lib/libc, or related headers under src/sys/sys: change u_intNN_t to
uintNN_t.
 1.2.70.2 21-Apr-2020  martin Ooops, restore accidently removed files from merge mishap
 1.2.70.1 21-Apr-2020  martin Sync with HEAD

RSS XML Feed