Alexandros Naskos
7559418305
Added comment justifying wrapping operations
2020-03-03 12:41:11 +02:00
Alexandros Naskos
a48cd1cf58
Allow wrapping in VDSO lookup
2020-03-02 11:44:21 +02:00
Andrew Kelley
3c76e5e33d
update tls in std lib for lack of sub-arch
2020-02-19 22:09:35 -05:00
LemonBoy
a779450fef
linux/i386: Make syscall6 more robust and correct
...
LLVM10 exposed a subtle flaw in the previous implementation that made
the mmap tests fail.
2020-02-07 22:13:05 +01:00
Andrew Kelley
a867b43366
progress towards merging
...
see BRANCH_TODO file
2020-01-19 20:54:04 -05:00
LemonBoy
c5cfc9bf68
Move definition of __aeabi_read_tp
2020-01-15 17:50:51 +01:00
Andrew Kelley
53913acaf7
zig fmt and update `extern fn` to `callconv(.C)`
2020-01-06 15:34:50 -05:00
LemonBoy
563d9ebfe5
Implement the callconv() annotation
2020-01-02 18:53:16 +01:00
LemonBoy
19ddbd9e9e
Make sure the address is aligned for intToPtr ops
...
Closes #773
2019-12-15 14:41:05 -05:00
Andrew Kelley
951dc451d6
Merge pull request #3808 from LemonBoy/i386-for-ya
...
linux-i386 support
2019-11-30 22:00:00 -05:00
Andrew Kelley
413f9a5cfc
move `std.fs.Dir.cwd` to `std.fs.cwd`
...
update to non-deprecated std.fs APIs throughout the codebase
Related: #3811
2019-11-30 15:35:27 -05:00
LemonBoy
e1e06e6766
linux-i386 support
2019-11-30 16:13:33 +01:00
Andrew Kelley
15d415e10b
make std.mem.toSlice use null terminated pointers
...
and fix the fallout
2019-11-24 21:21:05 -05:00
Andrew Kelley
47f06be369
string literals are now null terminated
...
this also deletes C string literals from the language, and then makes
the std lib changes and compiler changes necessary to get the behavior
tests and std lib tests passing again.
2019-11-21 20:43:41 -05:00
Andrew Kelley
aa0daea541
update more of the std lib to use `@as`
2019-11-08 15:57:25 -05:00
Andrew Kelley
e0db54e89d
update the codebase to use `@as`
2019-11-08 15:57:24 -05:00
Andrew Kelley
5181970807
improve docs and field names of Statx struct
2019-10-16 17:24:42 -04:00
LemonBoy
40fc7a1fda
Add support for the statx syscall
2019-10-12 20:51:51 +02:00
LemonBoy
7640bec8e0
Fix pipe syscall for MIPS
2019-10-03 17:07:53 -04:00
LemonBoy
17f2af10b5
Correct signal bits for MIPS
...
Also enable the segfault handler for all the supported architectures
beside MIPS.
2019-10-01 13:58:58 -04:00
LemonBoy
4ebcf64864
Initial support for mipsel architecture¬
2019-09-26 09:31:55 +02:00
Andrew Kelley
ed36dbbd9c
mv std/ lib/
...
that's all this commit does. further commits will fix cli flags and
such.
see #2221
2019-09-25 23:35:41 -04:00