From 0d552306f86139d51caa7afe407e7d5096d311db Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 23 Mar 1993 13:54:41 +0000 Subject: 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. --- bfd/hosts/sparc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/hosts/sparc.h') 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 +#include #undef exit #undef abort - - -- cgit v1.1