aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-03-23 13:54:41 +0000
committerKen Raeburn <raeburn@cygnus>1993-03-23 13:54:41 +0000
commit0d552306f86139d51caa7afe407e7d5096d311db (patch)
tree4e6e08b5190dad292d893fda5963a0420695503f /bfd/hosts
parent30d17c7e227e0ff15b66c336d5ff34ebd64a62be (diff)
downloadgdb-0d552306f86139d51caa7afe407e7d5096d311db.zip
gdb-0d552306f86139d51caa7afe407e7d5096d311db.tar.gz
gdb-0d552306f86139d51caa7afe407e7d5096d311db.tar.bz2
libbfd.c: Maintain `where' field of BFD with current position while BFD is
in use. If FILE_OFFSET_IS_CHAR_INDEX, assume arithmetic can be done on it, and ignore SEEK_SET requests that move to the current position. hosts/sparc.h: Define FILE_OFFSET_IS_CHAR_INDEX.
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/sparc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/hosts/sparc.h b/bfd/hosts/sparc.h
index 7b05902..c32da58 100644
--- a/bfd/hosts/sparc.h
+++ b/bfd/hosts/sparc.h
@@ -1,11 +1,11 @@
#define STDC_HEADERS
+#define FILE_OFFSET_IS_CHAR_INDEX
#if defined(__STDC__) && __GNUC__ >= 2
#define abort __hide_abort
#define exit __hide_exit
#endif
#include "hosts/std-host.h"
#include <alloca.h>
+#include <memory.h>
#undef exit
#undef abort
-
-