diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-27 23:33:18 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-04-27 23:33:18 +0200 |
commit | 6dffa67b46dc2d4deb25951f8b17e823f559cf3a (patch) | |
tree | fd6096536fa963ea335bfe9ee94c414607d0588d /libphobos/libdruntime/core/sys/freebsd/execinfo.d | |
parent | 9b8e9006bb35641865358e2df4f6b3ae185b239a (diff) |
libphobos: Backport extern(C) bindings from druntime 2.091
Merge upstream druntime 47688279.
Reviewed-on: https://github.com/dlang/druntime/pull/3073
Fixes: PR d/90718
Fixes: PR d/90719
libphobos/ChangeLog:
* libdruntime/Makefile.am (DRUNTIME_DSOURCES_LINUX): Remove
core/sys/linux/sys/netinet/tcp.d.
* libdruntime/Makefile.in: Regenerate.
Diffstat (limited to 'libphobos/libdruntime/core/sys/freebsd/execinfo.d')
-rw-r--r-- | libphobos/libdruntime/core/sys/freebsd/execinfo.d | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libphobos/libdruntime/core/sys/freebsd/execinfo.d b/libphobos/libdruntime/core/sys/freebsd/execinfo.d index cbdf70219dc..125ef097d27 100644 --- a/libphobos/libdruntime/core/sys/freebsd/execinfo.d +++ b/libphobos/libdruntime/core/sys/freebsd/execinfo.d @@ -38,6 +38,8 @@ else asm nothrow @trusted { mov p[EBP], EBP; } else version (D_InlineAsm_X86_64) asm nothrow @trusted { mov p[RBP], RBP; } + else version (AArch64) + asm nothrow @trusted { "str x29, %0" : "=m" (p); } else static assert(false, "Architecture not supported."); |