aboutsummaryrefslogtreecommitdiff
path: root/bfd/oasys.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-08-19 23:42:47 +0000
committerAlan Modra <amodra@gmail.com>2001-08-19 23:42:47 +0000
commitba3ef70e78fc3fc766338ec9743c7fd595e922d8 (patch)
treeeb9a432b7099f2c65f7a55c32382343a29481659 /bfd/oasys.c
parentfe766f112c8557ba0cc8c33a236b9078cca07d90 (diff)
downloadgdb-ba3ef70e78fc3fc766338ec9743c7fd595e922d8.zip
gdb-ba3ef70e78fc3fc766338ec9743c7fd595e922d8.tar.gz
gdb-ba3ef70e78fc3fc766338ec9743c7fd595e922d8.tar.bz2
* archive.c (offsetof): Remove define.
* elf.c: Likewise. * oasys.c: Likewise * sysdep.h (offsetof): Define.
Diffstat (limited to 'bfd/oasys.c')
-rw-r--r--bfd/oasys.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/oasys.c b/bfd/oasys.c
index 47e30cb..0b2f88d 100644
--- a/bfd/oasys.c
+++ b/bfd/oasys.c
@@ -27,14 +27,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "oasys.h"
#include "liboasys.h"
-/* XXX - FIXME. offsetof belongs in the system-specific files in
- ../include/sys. */
-/* Define offsetof for those systems which lack it */
-
-#ifndef offsetof
-#define offsetof(type, identifier) (size_t) &(((type *) 0)->identifier)
-#endif
-
static boolean oasys_read_record PARAMS ((bfd *,
oasys_record_union_type *));
static boolean oasys_write_sections PARAMS ((bfd *));