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 | de82439993c3869bac74d2be21632d6d1c56fa7e (patch) | |
tree | 78e25736c1946f4ccd2a60ee8c3afc5528364d35 /bfd/oasys.c | |
parent | cd9fdd77bcf39dd65cc069f04e19bd96ad281341 (diff) | |
download | gdb-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.c | 8 |
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 *)); |