Luís Marques
Luís Marques
More details: I had to change `EHStreamer.cpp` to use `EmitLabelDifference` instead of `EmitLabelDifferenceAsULEB128` in a few places. The generated table is now probably correct, as can be seen by the...
OK, the crashes were because there was no implementation of `getExceptionPointerRegister` and `getExceptionSelectorRegister`. I'm assuming those should return `X10` and `X11` (`a0` and `a1`). Although it would be nice to...
(it also fixed the error about using a non-existent register, when optimizations are enabled; the problem with missing relocations persists though)
D's runtime library also needs more complete atomic support.
> I think the binaries still dynamically link to libc: > > ``` > [jw bin]$ ldd riscv32-unknown-elf-gcc > linux-vdso.so.1 (0x00007fff99ac0000) > libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f75a8e00000) > /lib64/ld-linux-x86-64.so.2 (0x00007f75a91b7000) >...
I'm happy to merge this PR instead of my original one. It LGTM but I'm biased, other people should have a look at it. The testplan should be updated as...
@nnlight Thanks. I applied the patch and it didn't help me (maybe I botched it, I'm using a non-C frontend so the build steps are a bit more complicated). But...
I'm also very restricted on time for the next month or so, but let me just add that it's easy to iterate the segments based on what elf-d already provides,...
I don't think using `volatile` here properly addresses the underlying issue. The `rptr`, `wptr`, and `buf` need to have consistent values, for all threads. Your use of `volatile`, combined with...
> even though nearly all riscv boards do have these features. I think zig needs to make it easier to select the more common boards, and more obvious what selections...