genode/repos/base-nova/include/spec
Christian Helmuth 985c01116b nova: PIC compatible syscall_5
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
2015-09-30 15:48:10 +02:00
..
32bit/nova nova: PIC compatible syscall_5 2015-09-30 15:48:10 +02:00
64bit/nova Introduce 'spec' subdirectories to outline aspects 2015-09-16 13:58:50 +02:00