aboutsummaryrefslogtreecommitdiff
path: root/bfd/ieee.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-10-28 01:08:51 +0000
committerSteve Chamberlain <steve@cygnus>1991-10-28 01:08:51 +0000
commit01dd1b2b474c599efacfa7e6740172e4db0f0ee4 (patch)
tree020577c23e31ec64f3ac64584d8c78f6162c4c4f /bfd/ieee.c
parent2f192e9b95ba6cf6ae5389cb98d7007c12640bae (diff)
downloadgdb-01dd1b2b474c599efacfa7e6740172e4db0f0ee4.zip
gdb-01dd1b2b474c599efacfa7e6740172e4db0f0ee4.tar.gz
gdb-01dd1b2b474c599efacfa7e6740172e4db0f0ee4.tar.bz2
Sun Oct 27 16:56:58 1991 Steve Chamberlain (steve at cygnus.com)
* configure.in: add motorola delta88 cases * libbfd.h, libbfd-in.h, archive.c, ieee.c, elf.c, srec.c: fix write_armap prototype * libbfd.c: add doc on bfd_write_bigendian_4byte_int
Diffstat (limited to 'bfd/ieee.c')
-rw-r--r--bfd/ieee.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bfd/ieee.c b/bfd/ieee.c
index d6ed3ad..b433027 100644
--- a/bfd/ieee.c
+++ b/bfd/ieee.c
@@ -22,8 +22,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
token (which is one byte in this lexicon) lookahead recursive decent
parser. */
-#include <sysdep.h>
#include "bfd.h"
+#include "sysdep.h"
#include "libbfd.h"
#include "ieee.h"
#include "libieee.h"
@@ -1110,7 +1110,7 @@ DEFUN(ieee_object_p,(abfd),
/* Determine the architecture and machine type of the object file.
*/
{
- bfd_arch_info_struct_type *arch = bfd_scan_arch(processor);
+ bfd_arch_info_type *arch = bfd_scan_arch(processor);
if (arch == 0) goto fail;
abfd->arch_info = arch;
}
@@ -1174,22 +1174,22 @@ DEFUN(ieee_print_symbol,(ignore_abfd, afile, symbol, how),
bfd *ignore_abfd AND
PTR afile AND
asymbol *symbol AND
- bfd_print_symbol_enum_type how)
+ bfd_print_symbol_type how)
{
FILE *file = (FILE *)afile;
switch (how) {
- case bfd_print_symbol_name_enum:
+ case bfd_print_symbol_name:
fprintf(file,"%s", symbol->name);
break;
- case bfd_print_symbol_type_enum:
+ case bfd_print_symbol_more:
#if 0
fprintf(file,"%4x %2x",aout_symbol(symbol)->desc & 0xffff,
aout_symbol(symbol)->other & 0xff);
#endif
BFD_FAIL();
break;
- case bfd_print_symbol_all_enum:
+ case bfd_print_symbol_all:
{
CONST char *section_name = symbol->section == (asection *)NULL ?
"*abs" : symbol->section->name;
@@ -2905,7 +2905,7 @@ DEFUN(ieee_bfd_debug_info_accumulate,(abfd, section),
#define ieee_slurp_armap bfd_true
#define ieee_slurp_extended_name_table bfd_true
#define ieee_truncate_arname (void (*)())bfd_nullvoidptr
-#define ieee_write_armap (FOO( boolean, (*),(bfd *, unsigned int, struct orl *, int, int))) bfd_nullvoidptr
+#define ieee_write_armap (FOO( boolean, (*),(bfd *, unsigned int, struct orl *, unsigned int, int))) bfd_nullvoidptr
#define ieee_get_lineno (struct lineno_cache_entry *(*)())bfd_nullvoidptr
#define ieee_close_and_cleanup bfd_generic_close_and_cleanup
#define ieee_set_arch_mach bfd_default_set_arch_mach
@@ -2914,7 +2914,7 @@ DEFUN(ieee_bfd_debug_info_accumulate,(abfd, section),
bfd_target ieee_vec =
{
"ieee", /* name */
- bfd_target_ieee_flavour_enum,
+ bfd_target_ieee_flavour,
true, /* target byte order */
true, /* target headers byte order */
(HAS_RELOC | EXEC_P | /* object flags */