diff options
Diffstat (limited to 'sysdeps/generic/dl-sysdep.c')
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 15f85550fe..120f362e75 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -28,6 +28,7 @@ #include <sys/mman.h> #include <elf/ldsodefs.h> #include <stdio-common/_itoa.h> +#include <fpu_control.h> #include <entry.h> #include <dl-machine.h> @@ -126,6 +127,9 @@ _dl_sysdep_start (void **start_argptr, case AT_HWCAP: _dl_hwcap = av->a_un.a_val; break; + case AT_FPUCW: + __fpu_control = av->a_un.a_val; + break; } /* Linux doesn't provide us with any of these values on the stack @@ -249,6 +253,12 @@ _dl_show_auxv (void) 16, 0), "\n", NULL); break; + case AT_FPUCW: + _dl_sysdep_message ("AT_FPUCW: ", + _itoa_word (av->a_un.a_val, buf + sizeof buf - 1, + 10, 0), + "\n", NULL); + break; } } |