mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-28 09:38:53 +00:00
985c01116b
Addressing must be PC-relative, so adapt the approach from the other nova_x86_32 syscall bindings (description by @ssumpf): Use call to push the current IP on the stack and add the distance of label 0 and label 1 in order to determine the return address, which NOVA requires in edx. The bug only showed up with "-O0" in libc.lib.so in form of a unwanted text relocation. Fixes #1721 |
||
---|---|---|
.. | ||
syscalls.h |