0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/std/special
Andrew Kelley 1cefe14424
update clone on arm32 to latest musl implementation
See musl commit 05870abeaac0588fb9115cfd11f96880a0af2108
by Rich Felker.

Commit message from musl reproduced here:

fix code path where child function returns in arm __clone built as thumb

mov lr,pc is not a valid way to save the return address in thumb mode
since it omits the thumb bit. use a chain of bl and bx to emulate blx.
this could be avoided by converting to a .S file with preprocessor
conditions to use blx if available, but the time cost here is
dominated by the syscall anyway.

while making this change, also remove the remnants of support for
pre-bx ISA levels. commit 9f290a49bf9ee247d540d3c83875288a7991699c
removed the hack from the parent code paths, but left the unnecessary
code in the child. keeping it would require rewriting two code paths
rather than one, and is useless for reasons described in that commit.
History 2019-09-16 14:23:43 -04:00
..
compiler_rt run new zig fmt and remove stale comment 2019-08-29 21:23:49 -07:00
init-exe zig build: install is now the default step; default prefix is zig-cache 2019-07-04 15:32:44 -04:00
init-lib zig build: install is now the default step; default prefix is zig-cache 2019-07-04 15:32:44 -04:00
build_runner.zig zig build: make install prefix available to build.zig and 2019-09-03 16:19:10 -04:00
c.zig update clone on arm32 to latest musl implementation 2019-09-16 14:23:43 -04:00
compiler_rt.zig compiler-rt: add __muldi3 2019-07-22 12:49:26 -04:00
panic.zig update the default panic handler on freestanding 2019-07-02 19:44:49 -04:00
start.zig Merge branch 'uefi' of https://github.com/nrdmn/zig into nrdmn-uefi 2019-09-13 14:10:42 -04:00
start_lib.zig rename std/special/bootstrap.zig to std/special/start.zig 2019-06-28 02:00:56 -04:00
start_windows_tls.zig rename std/special/bootstrap.zig to std/special/start.zig 2019-06-28 02:00:56 -04:00
test_runner.zig better result location semantics with optionals and return locations 2019-06-15 12:28:21 -04:00