Home
last modified time | relevance | path

Searched +full:- +full:- +full:nolibc (Results 1 – 16 of 16) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/nolibc/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for nolibc tests
5 # we're in ".../tools/testing/selftests/nolibc"
46 # QEMU_ARGS : some arch-specific args to pass to qemu
47 QEMU_ARGS_i386 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=%)"
48 QEMU_ARGS_x86 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=%)"
49 QEMU_ARGS_arm64 = -M virt -cpu cortex-a53 -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)"
50 QEMU_ARGS_arm = -M virt -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)"
51 QEMU_ARGS_mips = -M malta -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)"
52 QEMU_ARGS_riscv = -M virt -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=%)"
[all …]
Dnolibc-test.c1 // SPDX-License-Identifier: GPL-2.0
5 /* platform-specific include files coming from the compiler */
8 /* libc-specific include files
10 * $(CC) -nostdlib -include /path/to/nolibc.h => NOLIBC already defined
11 * $(CC) -nostdlib -I/path/to/nolibc/sysroot => _NOLIBC_* guards are present
12 * $(CC) with default libc => NOLIBC* never defined
14 #ifndef NOLIBC
41 /* will be used by nolibc by getenv() */
117 for (len = 0; len < cnt - llen; len++) in pad_spc()
446 * Return 0 on success, non-zero on failure.
[all …]
D.gitignore2 /nolibc-test
/external/linux-kselftest/tools/testing/selftests/rcutorture/bin/
Dmkinitrd.sh2 # SPDX-License-Identifier: GPL-2.0+
13 [ -z "$D" ] && echo >&2 "No argument supplied" && exit 1
14 if [ ! -d "$D" ]; then
18 if [ -s "$D/initrd/init" ]; then
23 # Create a C-language initrd/init infinite-loop program and statically
25 echo "Creating a statically linked C-language initrd"
27 mkdir -p initrd
30 #ifndef NOLIBC
53 tv.tv_sec -= tvb.tv_sec;
57 tv.tv_usec -= tvb.tv_usec;
[all …]
/external/linux-kselftest/tools/testing/selftests/arm64/abi/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
4 TEST_GEN_PROGS := hwcap ptrace syscall-abi tpidr2
8 $(OUTPUT)/syscall-abi: syscall-abi.c syscall-abi-asm.S
10 # Build with nolibc since TPIDR2 is intended to be actively managed by
13 $(CC) -fno-asynchronous-unwind-tables -fno-ident -s -Os -nostdlib \
14 -static -include ../../../../include/nolibc/nolibc.h \
15 -ffreestanding -Wall $^ -o $@ -lgcc
Dtpidr2.c1 // SPDX-License-Identifier: GPL-2.0-only
123 putstr("# fork() failed: -"); in write_fork_read()
124 putnum(-newpid); in write_fork_read()
161 * it here rather than adding it to nolibc, plus the raw API is a
187 if (ret == -1) { in write_clone_read()
197 putstr("# TPIDR2 non-zero in child: "); in write_clone_read()
271 * This test is run with nolibc which doesn't support hwcap and in main()
/external/liburing/src/
DMakefile9 override CPPFLAGS += -D_GNU_SOURCE \
10 -Iinclude/ -include ../config-host.h
11 CFLAGS ?= -g -O2 -Wall -Wextra -fno-stack-protector
12 override CFLAGS += -Wno-unused-parameter -Wno-sign-compare -DLIBURING_INTERNAL
13 SO_CFLAGS=-fPIC $(CFLAGS)
30 include ../config-host.mak
38 liburing_srcs += nolibc.c
39 override CFLAGS += -nostdlib -nodefaultlibs -ffreestanding
40 override CPPFLAGS += -nostdlib -nodefaultlibs -ffreestanding
41 override LINK_FLAGS += -nostdlib -nodefaultlibs
[all …]
Dlib.h1 /* SPDX-License-Identifier: MIT */
14 * We don't have nolibc support for this arch. Must use libc!
26 #define offsetof(TYPE, FIELD) ((size_t) &((TYPE *)0)->FIELD)
31 __typeof__(((TYPE *)0)->FIELD) *__FIELD_PTR = (PTR); \
32 (TYPE *)((char *) __FIELD_PTR - offsetof(TYPE, FIELD)); \
/external/linux-kselftest/tools/testing/selftests/arm64/fp/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
6 CFLAGS += -I$(top_srcdir)/usr/include/
8 TEST_GEN_PROGS := fp-stress \
9 sve-ptrace sve-probe-vls \
10 vec-syscfg \
11 za-fork za-ptrace
12 TEST_GEN_PROGS_EXTENDED := fp-pidbench fpsimd-test \
13 rdvl-sme rdvl-sve \
14 sve-test \
15 ssve-test \
[all …]
Dza-fork.c1 // SPDX-License-Identifier: GPL-2.0-only
7 // SPDX-License-Identifier: GPL-2.0-only
73 putstr("# fork() failed: -"); in fork_test_c()
74 putnum(-newpid); in fork_test_c()
133 * This test is run with nolibc which doesn't support hwcap and in main()
/external/compiler-rt/lib/sanitizer_common/tests/
DCMakeLists.txt49 -I${COMPILER_RT_SOURCE_DIR}/include
50 -I${COMPILER_RT_SOURCE_DIR}/lib
51 -I${COMPILER_RT_SOURCE_DIR}/lib/sanitizer_common
52 -fno-rtti
53 -O2
54 -Werror=sign-compare
55 -Wno-non-virtual-dtor)
59 list(APPEND SANITIZER_TEST_CFLAGS_COMMON -fno-exceptions -DGTEST_HAS_SEH=0)
62 # -gline-tables-only must be enough for these tests, so use it if possible.
64 list(APPEND SANITIZER_TEST_CFLAGS_COMMON -gline-tables-only)
[all …]
Dsanitizer_nolibc_test.cc1 //===-- sanitizer_nolibc_test.cc ------------------------------------------===//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
26 NolibcTestPath += "-Nolibc"; in TEST()
/external/liburing/.github/workflows/
Dbuild.yml10 runs-on: ubuntu-latest
13 fail-fast: false
16 # x86-64 gcc
17 - arch: x86_64
18 cc_pkg: gcc-x86-64-linux-gnu
19 cxx_pkg: g++-x86-64-linux-gnu
20 cc: x86_64-linux-gnu-gcc
21 cxx: x86_64-linux-gnu-g++
23 # x86-64 clang
24 - arch: x86_64
[all …]
/external/liburing/
Dconfigure3 set -e
5 cc=${CC:-gcc}
6 cxx=${CXX:-g++}
11 --help|-h) show_help=yes
13 --prefix=*) prefix="$optarg"
15 --includedir=*) includedir="$optarg"
17 --libdir=*) libdir="$optarg"
19 --libdevdir=*) libdevdir="$optarg"
21 --mandir=*) mandir="$optarg"
23 --datadir=*) datadir="$optarg"
[all …]
/external/liburing/test/
DMakefile7 include ../config-host.mak
13 -D_GNU_SOURCE \
14 -D__SANE_USERSPACE_TYPES__ \
15 -I../src/include/ \
16 -include ../config-host.h
18 CFLAGS ?= -g -O2 -Wall -Wextra
19 XCFLAGS = -Wno-unused-parameter -Wno-sign-compare
22 XCFLAGS += -Wstringop-overflow=0
26 XCFLAGS += -Warray-bounds=0
30 override CFLAGS += $(XCFLAGS) -DLIBURING_BUILD_TEST
[all …]
/external/clang/include/clang/Driver/
DOptions.td1 //===--- Options.td - Options for clang -----------------------------------===//
8 //===----------------------------------------------------------------------===//
12 //===----------------------------------------------------------------------===//
20 // DriverOption - The option is a "driver" option, and should not be forwarded
24 // LinkerInput - The option is a linker input.
27 // NoArgumentUnused - Don't report argument unused warnings for this option; this
28 // is useful for options like -static or -dynamic which a user may always end up
32 // Unsupported - The option is unsupported, and the driver will reject command
36 // CoreOption - This is considered a "core" Clang option, available in both
37 // clang and clang-cl modes.
[all …]