aboutsummaryrefslogtreecommitdiff
path: root/bfd/acconfig.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1995-11-09 09:14:01 +0000
committerKen Raeburn <raeburn@cygnus>1995-11-09 09:14:01 +0000
commit7ac847361b0b12d5cbac9db713318eb465329f7c (patch)
treef8906f577dd934f62a9945092f59df1708fbab03 /bfd/acconfig.h
parent653b07da0c7fee7394d8111d337481b3e449efa8 (diff)
downloadgdb-7ac847361b0b12d5cbac9db713318eb465329f7c.zip
gdb-7ac847361b0b12d5cbac9db713318eb465329f7c.tar.gz
gdb-7ac847361b0b12d5cbac9db713318eb465329f7c.tar.bz2
* configure.in: Added new option --with[out]-mmap. Set USE_MMAP if it is given
and mmep is available. * acconfig.h: Undef USE_MMAP. * configure, config.in: Regenerated. * aoutx.h: If USE_MMAP is not defined, do all symbol and string table handling the old way. (aout_get_external_symbols): Don't complain if last byte of string table is nonzero. * libbfd.c [HAVE_MADVISE]: Include sys/types.h and sys/mman.h. (bfd_free_window) [! USE_MMAP]: Don't define. (bfd_get_file_window, _bfd_generic_get_section_contents_in_window) [! USE_MMAP]: Abort.
Diffstat (limited to 'bfd/acconfig.h')
-rw-r--r--bfd/acconfig.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/acconfig.h b/bfd/acconfig.h
index 3bf5103..43bcf70 100644
--- a/bfd/acconfig.h
+++ b/bfd/acconfig.h
@@ -12,3 +12,6 @@
/* Define only if <sys/procfs.h> is available *and* it defines prstatus_t. */
#undef HAVE_SYS_PROCFS_H
+
+/* Do we really want to use mmap if it's available? */
+#undef USE_MMAP