diff options
author | Daniel Gutson <dgutson@codesourcery.com> | 2010-01-05 00:40:07 +0000 |
---|---|---|
committer | Daniel Gutson <dgutson@codesourcery.com> | 2010-01-05 00:40:07 +0000 |
commit | 16231b7b9de982c605ea14f61b46054eeac01628 (patch) | |
tree | 024c40c9092cf859a576be0131806973a2d29e60 /bfd/bfd.m4 | |
parent | c1e2cb9d8c5d760059171e7cd34355f64742a132 (diff) | |
download | gdb-16231b7b9de982c605ea14f61b46054eeac01628.zip gdb-16231b7b9de982c605ea14f61b46054eeac01628.tar.gz gdb-16231b7b9de982c605ea14f61b46054eeac01628.tar.bz2 |
2010-01-04 Daniel Gutson <dgutson@codesourcery.com>
* bfd.m4 (BFD_HAVE_SYS_PROCFS_TYPE): Define _STRUCTURE_PROC
before including procfs.h.
(BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Likewise.
* configure.in: Added autoconf probe for the pr_fpreg member.
* configure: Regenerated.
* config.in: Regenerated.
* elf.c: Define _STRUCTURE_PROC before including procfs.h.
Diffstat (limited to 'bfd/bfd.m4')
-rw-r--r-- | bfd/bfd.m4 | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8,6 +8,8 @@ AC_DEFUN([BFD_HAVE_SYS_PROCFS_TYPE], AC_CACHE_VAL(bfd_cv_have_sys_procfs_type_$1, [AC_TRY_COMPILE([ #define _SYSCALL32 +/* Needed for new procfs interface on sparc-solaris. */ +#define _STRUCTURED_PROC 1 #include <sys/procfs.h>], [$1 avar], bfd_cv_have_sys_procfs_type_$1=yes, @@ -27,6 +29,8 @@ AC_DEFUN([BFD_HAVE_SYS_PROCFS_TYPE_MEMBER], AC_CACHE_VAL(bfd_cv_have_sys_procfs_type_member_$1_$2, [AC_TRY_COMPILE([ #define _SYSCALL32 +/* Needed for new procfs interface on sparc-solaris. */ +#define _STRUCTURED_PROC 1 #include <sys/procfs.h>], [$1 avar; void* aref = (void*) &avar.$2], bfd_cv_have_sys_procfs_type_member_$1_$2=yes, |