File tree Expand file tree Collapse file tree 13 files changed +36
-16
lines changed
src/unix/linux_like/linux/gnu/b64/loongarch64 Expand file tree Collapse file tree 13 files changed +36
-16
lines changed Original file line number Diff line number Diff line change @@ -3344,6 +3344,7 @@ fn test_linux(target: &str) {
33443344 let gnueabihf = target. contains ( "gnueabihf" ) ;
33453345 let x86_64_gnux32 = target. contains ( "gnux32" ) && x86_64;
33463346 let riscv64 = target. contains ( "riscv64" ) ;
3347+ let loongarch64 = target. contains ( "loongarch64" ) ;
33473348 let uclibc = target. contains ( "uclibc" ) ;
33483349
33493350 let mut cfg = ctest_cfg ( ) ;
@@ -3466,6 +3467,7 @@ fn test_linux(target: &str) {
34663467 // Include linux headers at the end:
34673468 headers ! {
34683469 cfg:
3470+ [ loongarch64] : "asm/hwcap.h" ,
34693471 [ riscv64] : "asm/hwcap.h" ,
34703472 "asm/mman.h" ,
34713473 [ gnu] : "linux/aio_abi.h" ,
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ SKF_NET_OFF
6666SO_PRIORITY
6767SO_PROTOCOL
6868SYS_accept
69+ SYS_fstat
6970SYS_msgctl
7071SYS_msgget
7172SYS_msgrcv
@@ -79,6 +80,7 @@ SYS_semctl
7980SYS_semget
8081SYS_semop
8182SYS_semtimedop
83+ SYS_setrlimit
8284SYS_shmat
8385SYS_shmctl
8486SYS_shmdt
Original file line number Diff line number Diff line change @@ -96,6 +96,7 @@ SYS_fadvise64_64
9696SYS_fchown32
9797SYS_fcntl64
9898SYS_fork
99+ SYS_fstat
99100SYS_fstat64
100101SYS_fstatat64
101102SYS_fstatfs64
@@ -165,6 +166,7 @@ SYS_setregid32
165166SYS_setresgid32
166167SYS_setresuid32
167168SYS_setreuid32
169+ SYS_setrlimit
168170SYS_setuid32
169171SYS_sgetmask
170172SYS_sigaction
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ SYS_epoll_wait
3030SYS_eventfd
3131SYS_fcntl64
3232SYS_fork
33+ SYS_fstat
3334SYS_fstat64
3435SYS_fstatfs64
3536SYS_ftime
@@ -77,6 +78,7 @@ SYS_send
7778SYS_sendfile
7879SYS_sendfile64
7980SYS_set_thread_area
81+ SYS_setrlimit
8082SYS_sgetmask
8183SYS_sigaction
8284SYS_signal
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ SYS_fadvise64
5454SYS_fadvise64_64
5555SYS_fcntl64
5656SYS_fork
57+ SYS_fstat
5758SYS_fstat64
5859SYS_fstatat64
5960SYS_fstatfs64
@@ -110,6 +111,7 @@ SYS_select
110111SYS_send
111112SYS_sendfile
112113SYS_sendfile64
114+ SYS_setrlimit
113115SYS_sgetmask
114116SYS_sigaction
115117SYS_signal
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ SYS_epoll_create
6666SYS_epoll_wait
6767SYS_eventfd
6868SYS_fork
69+ SYS_fstat
6970SYS_fstatfs64
7071SYS_ftime
7172SYS_futimesat
@@ -117,6 +118,7 @@ SYS_rtas
117118SYS_select
118119SYS_send
119120SYS_sendfile
121+ SYS_setrlimit
120122SYS_sgetmask
121123SYS_sigaction
122124SYS_signal
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ SYS_epoll_create
6666SYS_epoll_wait
6767SYS_eventfd
6868SYS_fork
69+ SYS_fstat
6970SYS_fstatfs64
7071SYS_ftime
7172SYS_futimesat
@@ -117,6 +118,7 @@ SYS_rtas
117118SYS_select
118119SYS_send
119120SYS_sendfile
121+ SYS_setrlimit
120122SYS_sgetmask
121123SYS_sigaction
122124SYS_signal
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ SO_TIMESTAMPNS
4646SO_WIFI_STATUS
4747SYS_accept
4848SYS_fadvise64
49+ SYS_fstat
4950SYS_msgctl
5051SYS_msgget
5152SYS_msgrcv
@@ -59,6 +60,7 @@ SYS_semget
5960SYS_semop
6061SYS_semtimedop
6162SYS_sendfile
63+ SYS_setrlimit
6264SYS_shmat
6365SYS_shmctl
6466SYS_shmdt
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ SYS_epoll_wait
4444SYS_eventfd
4545SYS_fadvise64
4646SYS_fork
47+ SYS_fstat
4748SYS_fstatfs64
4849SYS_futimesat
4950SYS_get_kernel_syms
@@ -76,6 +77,7 @@ SYS_s390_pci_mmio_write
7677SYS_s390_runtime_instr
7778SYS_select
7879SYS_sendfile
80+ SYS_setrlimit
7981SYS_sigaction
8082SYS_signal
8183SYS_signalfd
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ SYS_execv
4040SYS_fadvise64
4141SYS_fadvise64_64
4242SYS_fork
43+ SYS_fstat
4344SYS_fstat64
4445SYS_fstatat64
4546SYS_fstatfs64
@@ -79,6 +80,7 @@ SYS_sched_set_affinity
7980SYS_select
8081SYS_sendfile
8182SYS_sendfile64
83+ SYS_setrlimit
8284SYS_sgetmask
8385SYS_sigaction
8486SYS_signal
You can’t perform that action at this time.
0 commit comments