aboutsummaryrefslogtreecommitdiff
path: root/src/target.cpp
AgeCommit message (Collapse)Author
2019-09-28Merge pull request #3331 from meme/android-ndkAndrew Kelley
Support Android NDK
2019-09-27avoid duplicated code of specifying the default glibc versionAndrew Kelley
2019-09-27support Android NDK and bionicmeme
2019-09-26Initial support for mipsel architecture¬LemonBoy
2019-09-15Merge remote-tracking branch 'origin/master' into llvm9Andrew Kelley
2019-09-13Merge branch 'uefi' of https://github.com/nrdmn/zig into nrdmn-uefiAndrew Kelley
2019-09-10Merge remote-tracking branch 'origin/master' into llvm9Andrew Kelley
2019-09-05I'm pretty sure `sp` is the stack pointer on all ARMAndrew Kelley
2019-09-02Merge remote-tracking branch 'origin/master' into llvm9Andrew Kelley
2019-09-01Revert "Merge pull request #2991 from emekoi/mingw-ci"Andrew Kelley
This reverts commit ec7d7a5b14540ea3b2bab9f11318630338467965, reversing changes made to 81c441f8855d4c58f0b2ff86d3d007cf0bf395d3. It looks like this broke colors in Windows Command Prompt (#3147) and this method of detecting native C ABI isn't working well (#3121).
2019-08-28Merge remote-tracking branch 'origin/master' into llvm9Andrew Kelley
2019-08-21Merge pull request #2991 from emekoi/mingw-ciAndrew Kelley
mingw improvements
2019-08-16target: add missing switch caseAndrew Kelley
2019-08-16Merge remote-tracking branch 'origin/master' into llvm9Andrew Kelley
2019-08-16correct LLVM subarch names for armyvt
2019-08-11fix async function frames not aligned enoughAndrew Kelley
2019-08-03move windows abi detection to `get_native_target`emekoi
2019-08-03Merge remote-tracking branch 'origin/master' into llvm9Andrew Kelley
2019-08-02accept unix style paths on windows-gnuemekoi
2019-08-02implemented runtime abi detetction for windowsemekoi
2019-08-01allow 128 bit cmpxchg on x86_64Andrew Kelley
2019-07-29src/target.cpp: UEFI improvementsNick Erdmann
2019-07-18basic riscv supportAndrew Kelley
llvm is giving me `error: couldn't allocate output register for constraint '{a0}'` which is a bug that needs to be fixed upstream.
2019-07-18improvements to riscv supportAndrew Kelley
2019-07-17update zig codebase to llvm 9Andrew Kelley
2019-07-17back to msvc as the default C ABI on WindowsAndrew Kelley
Zig provides a libc for the GNU C ABI on Windows, and cannot (at least yet) provide one for the MSVC C ABI. However when not linking libc, zig has no problem targeting MSVC as the C ABI. And this should be the default. Related: #2911
2019-07-16update to llvm9 trunkAndrew Kelley
2019-07-16libc headers before C language headers, and disable libunwind on arm32Andrew Kelley
2019-07-16update bundled musl source to 1.1.23Andrew Kelley
2019-07-12mingw libc: solve the segfault having to do with destructorsAndrew Kelley
* fixed --verbose-cc printing an extra "zig" before the rest of the command line * windows-gnu targets use libfoo.a, foo.o extensions to match mingw conventions.
2019-07-11add -Wno-pragma-pack when targeting windows-gnuAndrew Kelley
windows.h has files such as pshpack1.h which do #pragma packing, triggering a clang warning. So for this target, this warning is disabled. this commit also improves the error message printed when no libc can be used, printing the "zig triple" rather than the "llvm triple".
2019-07-11the msvc target abi will have to be solved a different wayAndrew Kelley
2019-07-09ship with mingw-w64 v6.0.0Andrew Kelley
See #514
2019-07-08zero initialize targetAndrew Kelley
Fixes glibc_version being set to garbage. I've made this mistake before so this is an attempt to prevent future bugs. Zig doesn't have zero-initialization, so are we being a hypocrite by using this C feature? No, because C doesn't have the feature that forces you to initialize all fields. That would have prevented this bug every single time.
2019-07-07fix not setting a target glibc version on non-linuxAndrew Kelley
2019-07-07ability to target any glibc versionAndrew Kelley
2019-06-27better CLI error message for missing sub-architectureAndrew Kelley
2019-06-14standard library integrates with knowledge of stripped debug infoAndrew Kelley
2019-05-27improve the stack check CLI optionsAndrew Kelley
See #2526
2019-05-16improvements to build-lib use case of WebAssemblyAndrew Kelley
* build-exe does include the startup code that supplies _start for the wasm32-freestanding target. Previously this did not occur because of logic excluding "freestanding". * build-lib for wasm32-freestanding target gets linked by LLD. To avoid infinite recursion, compiler_rt and zig libc are built as objects rather than libraries. - no "lib" prefix and ".wasm" extension instead of ".a". Rather than build-lib foo.zig producing "libfoo.a", now it produces "foo.wasm". * go back to using `.o` extension for webassembly objects * zig libc only provides _start symbol for wasm when linking libc.
2019-05-15change wasm obj ext to .wasmShritesh Bhattarai
2019-05-15improvements to zig's implementation of libc and WebAssemblyAndrew Kelley
* rename std/special/builtin.zig to std/special/c.zig not to be confused with @import("builtin") which is entirely different, this is zig's multi-target libc implementation. * WebAssembly: build-exe is for executables which have a main(). build-lib is for building libraries of functions to use from, for example, a web browser environment. - for now pass --export-all for libraries when there are any C objects because we have no way to detect the list of exports when compiling C code. - stop passing --no-entry for executables. if you want --no-entry then use build-lib. * make the "musl" ABI the default ABI for wasm32-freestanding. * zig provides libc for wasm32-freestanding-musl.
2019-04-14wasm: force single threadedShritesh Bhattarai
2019-04-12wasm: use .wasm ext for exeShritesh Bhattarai
2019-04-11Add initial support for iOS targets (#2237)Matthew Iannucci
* Add iOS C int sizes... try to hack in iOS DebugInfo * Get rid of ios link check for now * Remove macos linkversion check
2019-03-27implement target_c_type_size_in_bits for WASIAndrew Kelley
2019-03-22stage1: implement get_dynamic_linker for riscvAndrew Kelley
2019-03-20Merge remote-tracking branch 'origin/llvm8'Andrew Kelley
2019-03-19zig targets prints the available libcsAndrew Kelley
2019-03-18Merge remote-tracking branch 'origin/master' into llvm8Andrew Kelley