node-linux-s390x 20.3.1 → 20.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +256 -1
  2. package/LICENSE +515 -520
  3. package/README.md +8 -2
  4. package/bin/node +0 -0
  5. package/include/node/common.gypi +49 -21
  6. package/include/node/config.gypi +4 -2
  7. package/include/node/js_native_api.h +18 -0
  8. package/include/node/node.h +10 -0
  9. package/include/node/node_version.h +2 -2
  10. package/include/node/openssl/asn1_no-asm.h +2 -0
  11. package/include/node/openssl/asn1t_no-asm.h +2 -0
  12. package/include/node/openssl/bio_no-asm.h +2 -0
  13. package/include/node/openssl/bn_conf_no-asm.h +2 -0
  14. package/include/node/openssl/cmp_no-asm.h +2 -0
  15. package/include/node/openssl/cms_no-asm.h +2 -0
  16. package/include/node/openssl/conf_no-asm.h +2 -0
  17. package/include/node/openssl/configuration_no-asm.h +2 -0
  18. package/include/node/openssl/crmf_no-asm.h +2 -0
  19. package/include/node/openssl/crypto_no-asm.h +2 -0
  20. package/include/node/openssl/ct_no-asm.h +2 -0
  21. package/include/node/openssl/dso_conf_no-asm.h +2 -0
  22. package/include/node/openssl/err_no-asm.h +2 -0
  23. package/include/node/openssl/ess_no-asm.h +2 -0
  24. package/include/node/openssl/fipskey_no-asm.h +2 -0
  25. package/include/node/openssl/lhash_no-asm.h +2 -0
  26. package/include/node/openssl/ocsp_no-asm.h +2 -0
  27. package/include/node/openssl/opensslv_no-asm.h +2 -0
  28. package/include/node/openssl/pkcs12_no-asm.h +2 -0
  29. package/include/node/openssl/pkcs7_no-asm.h +2 -0
  30. package/include/node/openssl/safestack_no-asm.h +2 -0
  31. package/include/node/openssl/srp_no-asm.h +2 -0
  32. package/include/node/openssl/ssl_no-asm.h +2 -0
  33. package/include/node/openssl/ui_no-asm.h +2 -0
  34. package/include/node/openssl/x509_no-asm.h +2 -0
  35. package/include/node/openssl/x509_vfy_no-asm.h +2 -0
  36. package/include/node/openssl/x509v3_no-asm.h +2 -0
  37. package/include/node/uv/darwin.h +3 -3
  38. package/include/node/uv/errno.h +6 -0
  39. package/include/node/uv/linux.h +1 -1
  40. package/include/node/uv/threadpool.h +1 -1
  41. package/include/node/uv/unix.h +25 -23
  42. package/include/node/uv/version.h +1 -1
  43. package/include/node/uv/win.h +2 -2
  44. package/include/node/uv.h +25 -4
  45. package/include/node/zconf.h +1 -1
  46. package/include/node/zlib.h +175 -175
  47. package/package.json +1 -1
  48. package/share/man/man1/node.1 +3 -0
package/README.md CHANGED
@@ -291,6 +291,8 @@ For information about the governance of the Node.js project, see
291
291
  **Anatoli Papirovski** <<apapirovski@mac.com>> (he/him)
292
292
  * [AshCripps](https://github.com/AshCripps) -
293
293
  **Ash Cripps** <<email@ashleycripps.co.uk>>
294
+ * [atlowChemi](https://github.com/atlowChemi) -
295
+ **Chemi Atlow** <<chemi@atlow.co.il>> (he/him)
294
296
  * [Ayase-252](https://github.com/Ayase-252) -
295
297
  **Qingyu Deng** <<i@ayase-lab.com>>
296
298
  * [bengl](https://github.com/bengl) -
@@ -377,6 +379,8 @@ For information about the governance of the Node.js project, see
377
379
  **Matthew Aitken** <<maitken033380023@gmail.com>> (he/him)
378
380
  * [kuriyosh](https://github.com/kuriyosh) -
379
381
  **Yoshiki Kurihara** <<yosyos0306@gmail.com>> (he/him)
382
+ * [kvakil](https://github.com/kvakil) -
383
+ **Keyhan Vakil** <<kvakil@sylph.kvakil.me>>
380
384
  * [legendecas](https://github.com/legendecas) -
381
385
  **Chengzhong Wu** <<legendecas@gmail.com>> (he/him)
382
386
  * [Leko](https://github.com/Leko) -
@@ -461,6 +465,8 @@ For information about the governance of the Node.js project, see
461
465
  **Rich Trott** <<rtrott@gmail.com>> (he/him)
462
466
  * [vdeturckheim](https://github.com/vdeturckheim) -
463
467
  **Vladimir de Turckheim** <<vlad2t@hotmail.com>> (he/him)
468
+ * [vmoroz](https://github.com/vmoroz) -
469
+ **Vladimir Morozov** <<vmorozov@microsoft.com>> (he/him)
464
470
  * [VoltrexKeyva](https://github.com/VoltrexKeyva) -
465
471
  **Mohammed Keyvanzadeh** <<mohammadkeyvanzade94@gmail.com>> (he/him)
466
472
  * [watilde](https://github.com/watilde) -
@@ -705,14 +711,14 @@ maintaining the Node.js project.
705
711
  **Himadri Ganguly** <<himadri.tech@gmail.com>> (he/him)
706
712
  * [iam-frankqiu](https://github.com/iam-frankqiu) -
707
713
  **Frank Qiu** <<iam.frankqiu@gmail.com>> (he/him)
708
- * [kvakil](https://github.com/kvakil) -
709
- **Keyhan Vakil** <<kvakil@sylph.kvakil.me>> (they/them)
710
714
  * [marsonya](https://github.com/marsonya) -
711
715
  **Akhil Marsonya** <<akhil.marsonya27@gmail.com>> (he/him)
712
716
  * [meixg](https://github.com/meixg) -
713
717
  **Xuguang Mei** <<meixuguang@gmail.com>> (he/him)
714
718
  * [Mesteery](https://github.com/Mesteery) -
715
719
  **Mestery** <<mestery@protonmail.com>> (he/him)
720
+ * [preveen-stack](https://github.com/preveen-stack) -
721
+ **Preveen Padmanabhan** <<wide4head@gmail.com>> (he/him)
716
722
  * [PoojaDurgad](https://github.com/PoojaDurgad) -
717
723
  **Pooja Durgad** <<Pooja.D.P@ibm.com>>
718
724
  * [RaisinTen](https://github.com/RaisinTen) -
package/bin/node CHANGED
Binary file
@@ -36,7 +36,7 @@
36
36
 
37
37
  # Reset this number to 0 on major V8 upgrades.
38
38
  # Increment by one for each non-official patch applied to deps/v8.
39
- 'v8_embedder_string': '-node.9',
39
+ 'v8_embedder_string': '-node.10',
40
40
 
41
41
  ##### V8 defaults for Node.js #####
42
42
 
@@ -411,28 +411,56 @@
411
411
  'cflags': [ '-I/usr/local/include' ],
412
412
  'ldflags': [ '-Wl,-z,wxneeded' ],
413
413
  }],
414
- ],
415
- 'conditions': [
416
- [ 'target_arch=="ia32"', {
417
- 'cflags': [ '-m32' ],
418
- 'ldflags': [ '-m32' ],
419
- }],
420
- [ 'target_arch=="x64"', {
421
- 'cflags': [ '-m64' ],
422
- 'ldflags': [ '-m64' ],
423
- }],
424
- [ 'target_arch=="ppc" and OS not in "aix os400"', {
425
- 'cflags': [ '-m32' ],
426
- 'ldflags': [ '-m32' ],
427
- }],
428
- [ 'target_arch=="ppc64" and OS not in "aix os400"', {
429
- 'cflags': [ '-m64', '-mminimal-toc' ],
430
- 'ldflags': [ '-m64' ],
414
+ ['_toolset=="host"', {
415
+ 'conditions': [
416
+ [ 'host_arch=="ia32"', {
417
+ 'cflags': [ '-m32' ],
418
+ 'ldflags': [ '-m32' ],
419
+ }],
420
+ [ 'host_arch=="x64"', {
421
+ 'cflags': [ '-m64' ],
422
+ 'ldflags': [ '-m64' ],
423
+ }],
424
+ [ 'host_arch=="ppc" and OS not in "aix os400"', {
425
+ 'cflags': [ '-m32' ],
426
+ 'ldflags': [ '-m32' ],
427
+ }],
428
+ [ 'host_arch=="ppc64" and OS not in "aix os400"', {
429
+ 'cflags': [ '-m64', '-mminimal-toc' ],
430
+ 'ldflags': [ '-m64' ],
431
+ }],
432
+ [ 'host_arch=="s390x" and OS=="linux"', {
433
+ 'cflags': [ '-m64', '-march=z196' ],
434
+ 'ldflags': [ '-m64', '-march=z196' ],
435
+ }],
436
+ ],
431
437
  }],
432
- [ 'target_arch=="s390x" and OS=="linux"', {
433
- 'cflags': [ '-m64', '-march=z196' ],
434
- 'ldflags': [ '-m64', '-march=z196' ],
438
+ ['_toolset=="target"', {
439
+ 'conditions': [
440
+ [ 'target_arch=="ia32"', {
441
+ 'cflags': [ '-m32' ],
442
+ 'ldflags': [ '-m32' ],
443
+ }],
444
+ [ 'target_arch=="x64"', {
445
+ 'cflags': [ '-m64' ],
446
+ 'ldflags': [ '-m64' ],
447
+ }],
448
+ [ 'target_arch=="ppc" and OS not in "aix os400"', {
449
+ 'cflags': [ '-m32' ],
450
+ 'ldflags': [ '-m32' ],
451
+ }],
452
+ [ 'target_arch=="ppc64" and OS not in "aix os400"', {
453
+ 'cflags': [ '-m64', '-mminimal-toc' ],
454
+ 'ldflags': [ '-m64' ],
455
+ }],
456
+ [ 'target_arch=="s390x" and OS=="linux"', {
457
+ 'cflags': [ '-m64', '-march=z196' ],
458
+ 'ldflags': [ '-m64', '-march=z196' ],
459
+ }],
460
+ ],
435
461
  }],
462
+ ],
463
+ 'conditions': [
436
464
  [ 'OS=="solaris"', {
437
465
  'cflags': [ '-pthreads' ],
438
466
  'ldflags': [ '-pthreads' ],
@@ -135,7 +135,8 @@
135
135
  'lib/internal/fs/cp/cp.js',
136
136
  'lib/internal/fs/dir.js',
137
137
  'lib/internal/fs/promises.js',
138
- 'lib/internal/fs/read_file_context.js',
138
+ 'lib/internal/fs/read/context.js',
139
+ 'lib/internal/fs/read/utf8.js',
139
140
  'lib/internal/fs/recursive_watch.js',
140
141
  'lib/internal/fs/rimraf.js',
141
142
  'lib/internal/fs/streams.js',
@@ -259,7 +260,8 @@
259
260
  'lib/internal/test/transfer.js',
260
261
  'lib/internal/test_runner/coverage.js',
261
262
  'lib/internal/test_runner/harness.js',
262
- 'lib/internal/test_runner/mock.js',
263
+ 'lib/internal/test_runner/mock/mock.js',
264
+ 'lib/internal/test_runner/mock/mock_timers.js',
263
265
  'lib/internal/test_runner/reporter/dot.js',
264
266
  'lib/internal/test_runner/reporter/spec.js',
265
267
  'lib/internal/test_runner/reporter/tap.js',
@@ -92,6 +92,24 @@ NAPI_EXTERN napi_status NAPI_CDECL napi_create_string_utf16(napi_env env,
92
92
  const char16_t* str,
93
93
  size_t length,
94
94
  napi_value* result);
95
+ #ifdef NAPI_EXPERIMENTAL
96
+ NAPI_EXTERN napi_status NAPI_CDECL
97
+ node_api_create_external_string_latin1(napi_env env,
98
+ char* str,
99
+ size_t length,
100
+ napi_finalize finalize_callback,
101
+ void* finalize_hint,
102
+ napi_value* result,
103
+ bool* copied);
104
+ NAPI_EXTERN napi_status NAPI_CDECL
105
+ node_api_create_external_string_utf16(napi_env env,
106
+ char16_t* str,
107
+ size_t length,
108
+ napi_finalize finalize_callback,
109
+ void* finalize_hint,
110
+ napi_value* result,
111
+ bool* copied);
112
+ #endif // NAPI_EXPERIMENTAL
95
113
  NAPI_EXTERN napi_status NAPI_CDECL napi_create_symbol(napi_env env,
96
114
  napi_value description,
97
115
  napi_value* result);
@@ -816,6 +816,8 @@ NODE_EXTERN struct uv_loop_s* GetCurrentEventLoop(v8::Isolate* isolate);
816
816
  // This function only works if `env` has an associated `MultiIsolatePlatform`.
817
817
  NODE_EXTERN v8::Maybe<int> SpinEventLoop(Environment* env);
818
818
 
819
+ NODE_EXTERN std::string GetAnonymousMainPath();
820
+
819
821
  class NODE_EXTERN CommonEnvironmentSetup {
820
822
  public:
821
823
  ~CommonEnvironmentSetup();
@@ -848,6 +850,13 @@ class NODE_EXTERN CommonEnvironmentSetup {
848
850
  // no support for native/host objects other than Node.js builtins
849
851
  // in the snapshot.
850
852
  //
853
+ // If the embedder wants to use LoadEnvironment() later to run a snapshot
854
+ // builder script they should make sure args[1] contains the path of the
855
+ // snapshot script, which will be used to create __filename and __dirname
856
+ // in the context where the builder script is run. If they do not want to
857
+ // include the build-time paths into the snapshot, use the string returned
858
+ // by GetAnonymousMainPath() as args[1] to anonymize the script.
859
+ //
851
860
  // Snapshots are an *experimental* feature. In particular, the embedder API
852
861
  // exposed through this class is subject to change or removal between Node.js
853
862
  // versions, including possible API and ABI breakage.
@@ -909,6 +918,7 @@ std::unique_ptr<CommonEnvironmentSetup> CommonEnvironmentSetup::Create(
909
918
  if (!errors->empty()) ret.reset();
910
919
  return ret;
911
920
  }
921
+
912
922
  // Implementation for ::CreateFromSnapshot -- the ::Create() method
913
923
  // could call this with a nullptr snapshot_data in a major version.
914
924
  template <typename... EnvironmentArgs>
@@ -23,8 +23,8 @@
23
23
  #define SRC_NODE_VERSION_H_
24
24
 
25
25
  #define NODE_MAJOR_VERSION 20
26
- #define NODE_MINOR_VERSION 3
27
- #define NODE_PATCH_VERSION 1
26
+ #define NODE_MINOR_VERSION 5
27
+ #define NODE_PATCH_VERSION 0
28
28
 
29
29
  #define NODE_VERSION_IS_LTS 0
30
30
  #define NODE_VERSION_LTS_CODENAME ""
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/asn1.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/asn1.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/asn1.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/asn1.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/asn1t.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/asn1t.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/asn1t.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/asn1t.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/bio.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/bio.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/bio.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/bio.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/crypto/bn_conf.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/crypto/bn_conf.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/crypto/bn_conf.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/crypto/bn_conf.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/cmp.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/cmp.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/cmp.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/cmp.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/cms.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/cms.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/cms.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/cms.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/conf.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/conf.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/conf.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/conf.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/configuration.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/configuration.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/configuration.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/configuration.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/crmf.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/crmf.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/crmf.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/crmf.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/crypto.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/crypto.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/crypto.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/crypto.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/ct.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/ct.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/ct.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/ct.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/crypto/dso_conf.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/crypto/dso_conf.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/crypto/dso_conf.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/crypto/dso_conf.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/err.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/err.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/err.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/err.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/ess.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/ess.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/ess.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/ess.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/fipskey.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/fipskey.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/fipskey.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/fipskey.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/lhash.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/lhash.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/lhash.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/lhash.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/ocsp.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/ocsp.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/ocsp.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/ocsp.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/opensslv.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/opensslv.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/opensslv.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/opensslv.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/pkcs12.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/pkcs12.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/pkcs12.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs12.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/pkcs7.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/pkcs7.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/pkcs7.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/pkcs7.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/safestack.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/safestack.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/safestack.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/safestack.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/srp.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/srp.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/srp.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/srp.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/ssl.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/ssl.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/ssl.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/ssl.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/ui.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/ui.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/ui.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/ui.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/x509.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/x509.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/x509.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/x509.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/x509_vfy.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/x509_vfy.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/x509_vfy.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/x509_vfy.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -13,6 +13,8 @@
13
13
  # include "./archs/linux-armv4/no-asm/include/openssl/x509v3.h"
14
14
  #elif defined(OPENSSL_LINUX) && defined(__aarch64__)
15
15
  # include "./archs/linux-aarch64/no-asm/include/openssl/x509v3.h"
16
+ #elif defined(OPENSSL_LINUX) && defined(__loongarch64)
17
+ # include "./archs/linux64-loongarch64/no-asm/include/openssl/x509v3.h"
16
18
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__i386__)
17
19
  # include "./archs/darwin-i386-cc/no-asm/include/openssl/x509v3.h"
18
20
  #elif defined(__APPLE__) && defined(__MACH__) && defined(__x86_64__)
@@ -40,7 +40,7 @@
40
40
  void* cf_state; \
41
41
  uv_mutex_t cf_mutex; \
42
42
  uv_sem_t cf_sem; \
43
- void* cf_signals[2]; \
43
+ struct uv__queue cf_signals; \
44
44
 
45
45
  #define UV_PLATFORM_FS_EVENT_FIELDS \
46
46
  uv__io_t event_watcher; \
@@ -48,8 +48,8 @@
48
48
  int realpath_len; \
49
49
  int cf_flags; \
50
50
  uv_async_t* cf_cb; \
51
- void* cf_events[2]; \
52
- void* cf_member[2]; \
51
+ struct uv__queue cf_events; \
52
+ struct uv__queue cf_member; \
53
53
  int cf_error; \
54
54
  uv_mutex_t cf_mutex; \
55
55
 
@@ -468,4 +468,10 @@
468
468
  # define UV__ENODATA (-4024)
469
469
  #endif
470
470
 
471
+ #if defined(EUNATCH) && !defined(_WIN32)
472
+ # define UV__EUNATCH UV__ERR(EUNATCH)
473
+ #else
474
+ # define UV__EUNATCH (-4023)
475
+ #endif
476
+
471
477
  #endif /* UV_ERRNO_H_ */
@@ -28,7 +28,7 @@
28
28
  int inotify_fd; \
29
29
 
30
30
  #define UV_PLATFORM_FS_EVENT_FIELDS \
31
- void* watchers[2]; \
31
+ struct uv__queue watchers; \
32
32
  int wd; \
33
33
 
34
34
  #endif /* UV_LINUX_H */
@@ -31,7 +31,7 @@ struct uv__work {
31
31
  void (*work)(struct uv__work *w);
32
32
  void (*done)(struct uv__work *w, int status);
33
33
  struct uv_loop_s* loop;
34
- void* wq[2];
34
+ struct uv__queue wq;
35
35
  };
36
36
 
37
37
  #endif /* UV_THREADPOOL_H_ */