diff options
author | Alan Modra <amodra@bigpond.net.au> | 2001-08-19 23:42:47 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2001-08-19 23:42:47 +0000 |
commit | f76c6dc3bc764f676b9cd9f8bf342c09f06c384f (patch) | |
tree | cb50f47d4901dd755fce98483b9b4b8f55a1d6f8 /bfd/oasys.c | |
parent | 6996a2be1de1ced801e055eaa9f0264657f7ceb7 (diff) | |
download | binutils-redhat-f76c6dc3bc764f676b9cd9f8bf342c09f06c384f.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.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/oasys.c b/bfd/oasys.c index 47e30cbda2..0b2f88da68 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 *)); |