summaryrefslogtreecommitdiff
path: root/bfd/oasys.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-08-19 23:42:47 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-08-19 23:42:47 +0000
commitde82439993c3869bac74d2be21632d6d1c56fa7e (patch)
tree78e25736c1946f4ccd2a60ee8c3afc5528364d35 /bfd/oasys.c
parentcd9fdd77bcf39dd65cc069f04e19bd96ad281341 (diff)
downloadgdb-de82439993c3869bac74d2be21632d6d1c56fa7e.tar.gz
* 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 47e30cbda2d..0b2f88da68a 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 *));