summaryrefslogtreecommitdiff
path: root/backends/i386_initreg.c
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2014-04-22 21:46:22 +0200
committerMark Wielaard <mjw@redhat.com>2014-04-23 10:56:01 +0200
commit02cefdaa6429e620d6457fdb3ad9934f194c5a93 (patch)
tree7825fc20716a17ec96529d0b9e289ed549bf3185 /backends/i386_initreg.c
parent3232479483cad695d1872b879128a23da3953a7d (diff)
downloadelfutils-02cefdaa6429e620d6457fdb3ad9934f194c5a93.tar.gz
Unwinding is only supported on Linux
Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Diffstat (limited to 'backends/i386_initreg.c')
-rw-r--r--backends/i386_initreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/i386_initreg.c b/backends/i386_initreg.c
index 9e819a47..51fd9ea6 100644
--- a/backends/i386_initreg.c
+++ b/backends/i386_initreg.c
@@ -44,7 +44,7 @@ i386_set_initial_registers_tid (pid_t tid __attribute__ ((unused)),
ebl_tid_registers_t *setfunc __attribute__ ((unused)),
void *arg __attribute__ ((unused)))
{
-#if !defined __i386__ && !defined __x86_64__
+#if (!defined __i386__ && !defined __x86_64__) || !defined(__linux__)
return false;
#else /* __i386__ || __x86_64__ */
struct user_regs_struct user_regs;