Ariadne Conill
c31decc3d4
build: use internal definitions to replace things pulled in from ucontext.h
2020-12-06 03:44:45 -06:00
Ariadne Conill
e65e485630
everywhere: rename __swapcontext to libucontext_swapcontext
2020-12-06 03:04:22 -06:00
Ariadne Conill
37fe7afd5f
everywhere: rename __setcontext to libucontext_setcontext
2020-12-06 03:03:07 -06:00
Ariadne Conill
99ed5bbe12
everywhere: rename __getcontext to libucontext_getcontext
2020-12-06 03:02:25 -06:00
Ariadne Conill
2f31efaa95
everywhere: rename __start_context to better descriptive libucontext_trampoline
2020-12-06 02:59:59 -06:00
Ariadne Conill
c693dc663c
rename __makecontext to libucontext_makecontext
2020-12-06 02:56:59 -06:00
Ariadne Conill
b1ea2ae83b
everywhere: use ucontext.h instead of signal.h for pulling in ucontext definitions
...
This allows building libucontext against newlib.
2020-12-04 11:19:02 -07:00
A. Wilcox
467ee2916d
x86: Update copyright statement
...
Commit d0ccf2f96f
contains the makecontext
fix from Adélie commit aaeb73ea701388e55b7640e32509a5f6a57f6350[1], as
seen at AdelieLinux/libucontext@aaeb73ea – but it didn't include the
addition of my author line.
The full commit text, for future documentation/reference, was:
```
x86: Write link pointer at correct stack offset
It must come *after* the parameters, not *before*.
```
Fixes: d0ccf2f96f
("x86: modernize")
Signed-off-by: A. Wilcox <AWilcox@Wilcox-Tech.com>
[1]: aaeb73ea70
2020-03-30 17:25:30 -05:00
Ariadne Conill
d0ccf2f96f
x86: modernize
2020-03-29 15:04:03 +00:00
Ariadne Conill
d31eaabbaf
update copyright statements, add mailmap
2020-03-27 09:23:49 +00:00
William Pitcock
ef2fa49912
x86: trampoline: fix GOT clobbering, pointed out by fabled
2018-02-15 04:32:16 +00:00
William Pitcock
556da6ce99
x86/x86_64: getcontext: no need to restore %ecx or %rcx
2018-02-14 05:12:09 +00:00
William Pitcock
0143bbac98
x86: trampoline: kill textrel
2018-02-14 03:37:25 +00:00
William Pitcock
ee1526c903
arch: add x86 port
2018-02-01 01:26:34 +00:00