Searched full:nolibc (Results 1 – 16 of 16) sorted by relevance
2 # Makefile for nolibc tests5 # we're in ".../tools/testing/selftests/nolibc"56 # it defaults to this nolibc directory.69 @echo "Supported targets under selftests/nolibc:"72 @echo " sysroot create the nolibc sysroot here (uses \$$ARCH)"73 @echo " nolibc-test build the executable (uses \$$CC and \$$CROSS_COMPILE)"74 @echo " initramfs prepare the initramfs with nolibc-test"99 $(Q)$(MAKE) -C ../../../include/nolibc ARCH=$(ARCH) OUTPUT=$(CURDIR)/sysroot/ headers_standalone102 nolibc-test: nolibc-test.c sysroot/$(ARCH)/include106 initramfs: nolibc-test[all …]
10 * $(CC) -nostdlib -include /path/to/nolibc.h => NOLIBC already defined11 * $(CC) -nostdlib -I/path/to/nolibc/sysroot => _NOLIBC_* guards are present12 * $(CC) with default libc => NOLIBC* never defined14 #ifndef NOLIBC41 /* will be used by nolibc by getenv() */469 #ifdef NOLIBC in run_syscall()500 #ifdef NOLIBC in run_syscall()
2 /nolibc-test
30 #ifndef NOLIBC64 # build using nolibc on supported archs (smaller executable) and fall70 # architecture supported by nolibc72 -nostdlib -include ../../../../include/nolibc/nolibc.h \
10 # Build with nolibc since TPIDR2 is intended to be actively managed by14 -static -include ../../../../include/nolibc/nolibc.h \
161 * it here rather than adding it to nolibc, plus the raw API is a271 * This test is run with nolibc which doesn't support hwcap and in main()
38 liburing_srcs += nolibc.c88 @# so the nolibc objects are always skipped, clean them up!89 @rm -f nolibc.ol nolibc.os
14 * We don't have nolibc support for this arch. Must use libc!
22 # Build with nolibc to avoid effects due to libc's clone() support39 -include ../../../../include/nolibc/nolibc.h \
133 * This test is run with nolibc which doesn't support hwcap and in main()
178 add_compiler_rt_test(SanitizerUnitTests "Sanitizer-${arch}-Test-Nolibc"181 libRTSanitizerCommon.test.nolibc.${arch}.a184 RTSanitizerCommon.test.nolibc.${arch}198 add_sanitizer_common_lib("RTSanitizerCommon.test.nolibc.x86_64"
26 NolibcTestPath += "-Nolibc"; in TEST()
115 - name: Build nolibc119 ./configure --cc=${{matrix.cc}} --cxx=${{matrix.cxx}} --nolibc; \122 … echo "Skipping nolibc build, this arch doesn't support building liburing without libc"; \
29 --nolibc) liburing_nolibc="yes"78 --nolibc build liburing without libc
198 # liburing nolibc.
1774 def nolibc : Flag<["-"], "nolibc">;