Ariadne Conill
131e825f50
x86: add freestanding port
2020-12-06 11:37:19 +00:00
Ariadne Conill
9c0ffd8fbb
x86: fix conflicts with musl headers + freestanding adaptations
2020-12-06 11:24:23 +00:00
Ariadne Conill
83a109c2a7
update README with status table
2020-12-06 03:54:19 -07:00
Ariadne Conill
0566e66d2d
NEWS: not all ports have freestanding yet
2020-12-06 03:45:05 -07:00
Ariadne Conill
13f396f743
note freestanding build support ( closes #6 , #7 )
2020-12-06 03:30:13 -07:00
Ariadne Conill
9aef11752f
x86_64: add freestanding port
2020-12-06 03:22:27 -07:00
Ariadne Conill
794b4f92aa
build: generate libucontext pkg-config file
2020-12-06 04:10:14 -06:00
Ariadne Conill
74121dfe75
build: install generated headers
2020-12-06 04:01:26 -06:00
Ariadne Conill
e715cd2679
gitignore: add include/libucontext/bits.h
2020-12-06 03:54:22 -06:00
Ariadne Conill
1966a6b349
include: add public libucontext/libucontext.h header
2020-12-06 03:53:58 -06:00
Ariadne Conill
a8415a0c4e
m68k: add freestanding bits.h file
2020-12-06 03:53:45 -06:00
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
40c8016144
bits: alias greg_t as libucontext_greg_t in non-freestanding builds
2020-12-06 03:40:55 -06:00
Ariadne Conill
ef632da18f
build: regenerate libucontext/bits.h as needed
2020-12-06 03:40:27 -06:00
Ariadne Conill
e2636d542b
test program: use libucontext-prefixed symbols
2020-12-06 03:32:09 -06:00
Ariadne Conill
0953d71ed1
build: fill in more details for freestanding builds
2020-12-06 03:31:48 -06:00
Ariadne Conill
2979186379
common: define libucontext_ucontext_t for non-freestanding case
2020-12-06 03:18:41 -06:00
Ariadne Conill
11468c3e54
build: assemble with -DLIBUCONTEXT_ASSEMBLY
2020-12-06 03:17:36 -06:00
Ariadne Conill
d44eba0b22
build: add support for freestanding builds
2020-12-06 03:10:04 -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
fe19127c66
build: add support for EXPORT_UNPREFIXED=no
...
In an EXPORT_UNPREFIXED=no build, getcontext/makecontext/setcontext/swapcontext
symbols are not provided.
2020-12-06 02:54:01 -06:00
Ariadne Conill
8b7cefd98d
begin NEWS for 0.13
2020-12-06 02:42:37 -06:00
Ariadne Conill
0863bd891d
README: note m68k support
2020-12-06 02:25:53 -06:00
Ariadne Conill
15ba7b039c
m68k: add startcontext trampoline
2020-12-06 02:24:49 -06:00
Ariadne Conill
5f6135c0f9
m68k: fixups for makecontext
2020-12-06 02:24:05 -06:00
Ariadne Conill
22520be2de
m68k: fix register layout off by one
2020-12-06 00:52:05 -06:00
Ariadne Conill
89536b198d
m68k: add swapcontext
2020-12-06 00:04:50 -06:00
Ariadne Conill
c462af8a3c
m68k: implement getcontext and setcontext
2020-12-05 23:54:36 -06:00
Ariadne Conill
76f1fd75b8
m68k: add makecontext() implementation
2020-12-05 23:30:39 -06:00
Ariadne Conill
5ee9c4e8a5
m68k: add register definitions
2020-12-05 23:22:40 -06:00
Ariadne Conill
a6e76834d7
riscv64: align ucontext register access with musl 1.2 headers
2020-12-05 20:07:34 -07:00
Drew DeVault
5928947223
riscv64: fix PIC-incompatible assembly
2020-12-05 18:53:49 -07:00
Ariadne Conill
ff858d8bdd
NEWS: add 0.12 changes (forgot to do so earlier)
2020-12-04 11:23:34 -07: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
Ariadne Conill
34472b8884
riscv64: chase musl ab3eb89a8b83353cdaab12ed017a67a7730f90e9 changes
2020-12-03 18:25:04 -07:00
Ariadne Conill
02470ccdd8
build: split CFLAGS/CPPFLAGS correctly
2020-12-03 18:24:08 -07:00
Ariadne Conill
938d0d5771
README: note riscv64 support
2020-05-18 03:28:21 +00:00
Ariadne Conill
c3393695d2
NEWS: prepare for 0.11 release
2020-05-18 03:26:37 +00:00
Ariadne Conill
e11fa34822
riscv64: add makecontext() and __start_context() trampoline
2020-05-18 03:19:22 +00:00
Ariadne Conill
e9308ef58f
riscv64: add swapcontext
2020-05-18 02:48:28 +00:00
Ariadne Conill
e32eb6ef59
riscv64: implement getcontext/setcontext
2020-05-18 02:43:27 +00:00
Ariadne Conill
4d42f482dc
riscv64: add architectural defines
2020-05-18 02:19:14 +00:00
Ariadne Conill
19fa1bbfc2
Merge pull request #20 from kraj/master
...
Remove using .end directive with clang
2020-04-12 13:21:28 -05:00
Khem Raj
b6732f6884
Remove using .end directive with clang
...
Clang does not support this asm directive
Fixes Issue #19
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-04-10 11:23:39 -07:00
Ariadne Conill
272d682103
Merge pull request #18 from awilfox/master
...
x86: Update copyright statement
2020-03-31 04:13:22 -06: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