Stas Sergeev

Results 942 comments of Stas Sergeev

https://reviews.llvm.org/D63121 This seems to confirm my theory that you can't leave the "small" relocations to run-time in a form of undefined symbols. At least not on x86_64. Why GNU ld...

fdpp: we'll find work-around everywhere. :) Instead of implementing the dynamic linker (that would depend on GNU ld misbehaviour and all that), I did a simple trick: I link the...

Hi @hpax how difficult would it be to support R_386_SEGRELATIVE in nasm? Currently I have to create my own relocation table by linking the object twice and diffing the resulting...

Can't reproduce the "doesn't start with freecom" part any longer.

I am not sure 9c4a468 was correct. Andrew, you seem to have a PSP test, could you please check if file table pointer at offset 0x34 copied or updated by...

This is mostly "fixed" with DR-DOS findings about 0x26 and the hack to increment stdio fds refcount. But still crashes if started under DN and then one exits from DN.

Things are getting weirder. It appears that both PC and MS DOSes on 0x26 populate the psp_parent and psp_file_table with some crap/uninitialized content. So I don't understand how 0x4c on...

@slurps-mad-rips thanks for a reply, I've got your idea now. But it doesn't seem to work for me: ``` template constexpr ptrdiff_t offset (T const& pmd) noexcept { static_assert(sizeof(pmd) ==...

I think gcc just optimized things away as unused. Here is the full example (sorry, dunno how to create the godbolt URL): ``` #include #include template constexpr ptrdiff_t offset (T...