Changeset 00f5fde for libcfa/src/startup.cfa
- Timestamp:
- Jan 12, 2022, 9:30:48 PM (2 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- 42daeb4
- Parents:
- 1959528 (diff), 07a1e7a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Peter A. Buhr <pabuhr@…> (01/12/22 18:35:04)
- git-committer:
- Peter A. Buhr <pabuhr@…> (01/12/22 21:30:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/startup.cfa
r1959528 r00f5fde 10 10 // Created On : Tue Jul 24 16:21:57 2018 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jan 12 1 6:25:37202213 // Update Count : 4912 // Last Modified On : Wed Jan 12 18:51:24 2022 13 // Update Count : 51 14 14 // 15 15 … … 20 20 #include "bits/defs.hfa" 21 21 22 extern uint32_t __global_random_seed ;22 extern uint32_t __global_random_seed, __global_random_state; 23 23 24 24 extern "C" { … … 51 51 void __cfaabi_core_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_CORE ) )); 52 52 void __cfaabi_core_startup( void ) { 53 __global_random_s eed = rdtscl();53 __global_random_state = __global_random_seed = rdtscl(); 54 54 __cfaabi_interpose_startup(); 55 55 __cfaabi_device_startup();
Note: See TracChangeset
for help on using the changeset viewer.