aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorDaniel Gutson <dgutson@codesourcery.com>2010-01-05 00:40:07 +0000
committerDaniel Gutson <dgutson@codesourcery.com>2010-01-05 00:40:07 +0000
commit16231b7b9de982c605ea14f61b46054eeac01628 (patch)
tree024c40c9092cf859a576be0131806973a2d29e60 /bfd/elf.c
parentRemove "Warning: " from error message (diff)
downloadbinutils-gdb-16231b7b9de982c605ea14f61b46054eeac01628.tar.gz
binutils-gdb-16231b7b9de982c605ea14f61b46054eeac01628.tar.bz2
binutils-gdb-16231b7b9de982c605ea14f61b46054eeac01628.zip
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/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 3287d0f8fa3..aac33148589 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -7445,6 +7445,8 @@ _bfd_elf_rel_vtable_reloc_fn
out details about the corefile. */
#ifdef HAVE_SYS_PROCFS_H
+/* Needed for new procfs interface on sparc-solaris. */
+# define _STRUCTURED_PROC 1
# include <sys/procfs.h>
#endif