diff options
author | John Gilmore <gnu@cygnus> | 1992-11-28 13:00:18 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-11-28 13:00:18 +0000 |
commit | 1f29e30b1f011b35c948b048e7f19cfa663d57d9 (patch) | |
tree | 6bdf19737e1e8dc3d65b1fc62b1c2049f892fdb5 /bfd/aoutx.h | |
parent | d4a06831c1121dc4205135127d82a3fb6d53f26b (diff) | |
download | gdb-1f29e30b1f011b35c948b048e7f19cfa663d57d9.zip gdb-1f29e30b1f011b35c948b048e7f19cfa663d57d9.tar.gz gdb-1f29e30b1f011b35c948b048e7f19cfa663d57d9.tar.bz2 |
* aout-target.h, aoutf1.h, trad-core.c, coffcode.h, libaout.h:
Eliminate all PROTO calls, replace with PARAMS for readability.
* aoutx.h: Add type to callback parameter.
* coff-mips.c: Don't call trad-core.h, not needed.
* trad-core.c: Incorporate trad-core.h declarations. Fix comments.
* trad-core.h: Eliminate, unused.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r-- | bfd/aoutx.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h index a874757..909c5b2 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -1,5 +1,5 @@ -/* BFD semi-generic back-end for a.out binaries - Copyright (C) 1990-1991 Free Software Foundation, Inc. +/* BFD semi-generic back-end for a.out binaries. + Copyright 1990, 1991, 1992 Free Software Foundation, Inc. Written by Cygnus Support. This file is part of BFD, the Binary File Descriptor library. @@ -339,7 +339,7 @@ bfd_target * DEFUN(NAME(aout,some_aout_object_p),(abfd, execp, callback_to_real_object_p), bfd *abfd AND struct internal_exec *execp AND - bfd_target *(*callback_to_real_object_p) ()) + bfd_target *(*callback_to_real_object_p) (bfd *)) { struct aout_data_struct *rawptr, *oldrawptr; bfd_target *result; @@ -484,9 +484,11 @@ DEFUN(NAME(aout,some_aout_object_p),(abfd, execp, callback_to_real_object_p), abfd->flags |= EXEC_P; if (result) { +#if 0 /* These should be set correctly anyways. */ abfd->sections = obj_textsec (abfd); obj_textsec (abfd)->next = obj_datasec (abfd); obj_datasec (abfd)->next = obj_bsssec (abfd); +#endif } else { |