History log of /haiku/src/system/libroot/posix/arch/x86_64/sigsetjmp.S
Revision Date Author Comments
# c92f19c6 14-Aug-2016 Adrien Destugues <pulkomandy@pulkomandy.tk>

Fix definition of _setjmp

The #pragma weak does not work, the symbol is not defined and when
already defined, it is not made weak. Moreover, it does not make the
symbol global so we need to declare it with a FUNCTION.

If we want the symbol to be weak, then we should use .weak to do so. The
_longjmp symbol should also be changed to match, in that case.

Fixes #12912.


# 04c1e6d0 27-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

ASM code fixes for PIC compilation.


# 2f36ef5a 05-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Fixed the x86_64 setjmp implementation.

* typedef for jmp_buf was using int where it should be long.
* setjmp was clearing the buffer pointer rather than the signal mask before
calling sigsetjmp.
* KDL now works without crashing on x86_64.


# 73f27ecd 15-Jun-2012 Alex Smith <alex@alex-smith.me.uk>

Implementations of some libroot functions for x86_64.

These are the functions required by the kernel. These are all full
implementations except for system_time(), which will be implemented later.


# 04c1e6d01744fb03ca322b42d70dc731c049afe4 27-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

ASM code fixes for PIC compilation.


# 2f36ef5afe5aae9b150597d6281826a1c3ed2f3a 05-Jul-2012 Alex Smith <alex@alex-smith.me.uk>

Fixed the x86_64 setjmp implementation.

* typedef for jmp_buf was using int where it should be long.
* setjmp was clearing the buffer pointer rather than the signal mask before
calling sigsetjmp.
* KDL now works without crashing on x86_64.


# 73f27ecd3a30c16c2363de51891534c09601ea6b 15-Jun-2012 Alex Smith <alex@alex-smith.me.uk>

Implementations of some libroot functions for x86_64.

These are the functions required by the kernel. These are all full
implementations except for system_time(), which will be implemented later.