From e9f3061668815ec3e2d0822d3b819f48e7adf78c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 15 Nov 1995 23:17:21 +0000 Subject: [PATCH] * targets.c (bfd_target): Change type of second argument to _bfd_print_private_bfd_data from void * to PTR. * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast using PTR rather than void *. * bfd-in2, libbfd.h: Rebuild. * peicode.h (pe_print_private_bfd_data): Change vfile from void * to PTR. * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as _bfd_generic_bfd_print_private_bfd_data rather than casting bfd_true. --- bfd/ChangeLog | 13 +++++++++++++ bfd/targets.c | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7c1ab8ed761..19ccd46293b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,16 @@ +Wed Nov 15 18:05:52 1995 Ian Lance Taylor + + * targets.c (bfd_target): Change type of second argument to + _bfd_print_private_bfd_data from void * to PTR. + * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): Cast + using PTR rather than void *. + * bfd-in2, libbfd.h: Rebuild. + * peicode.h (pe_print_private_bfd_data): Change vfile from void * + to PTR. + * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): Define as + _bfd_generic_bfd_print_private_bfd_data rather than casting + bfd_true. + Tue Nov 14 11:52:23 1995 Ian Lance Taylor * peicode.h (coff_swap_aouthdr_out): For PPC PE, start isize at 0, diff --git a/bfd/targets.c b/bfd/targets.c index 911f2a783a0..331b9111fe0 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -288,7 +288,7 @@ The general target vector. . boolean (*_bfd_set_private_flags) PARAMS ((bfd *, flagword)); . . {* Called to print private BFD data *} -. boolean (*_bfd_print_private_bfd_data) PARAMS ((bfd *, void *)); +. boolean (*_bfd_print_private_bfd_data) PARAMS ((bfd *, PTR)); . . {* Core file entry points. *} .#define BFD_JUMP_TABLE_CORE(NAME)\ @@ -521,6 +521,7 @@ extern const bfd_target i386lynx_coff_vec; extern const bfd_target i386mach3_vec; extern const bfd_target i386msdos_vec; extern const bfd_target i386netbsd_vec; +extern const bfd_target i860coff_vec; extern const bfd_target icoff_big_vec; extern const bfd_target icoff_little_vec; extern const bfd_target ieee_vec; @@ -658,6 +659,7 @@ const bfd_target * const bfd_target_vector[] = { &i386aout_vec, &i386bsd_vec, &i386coff_vec, + &i860coff_vec, &bfd_powerpc_pe_vec, &bfd_powerpcle_pe_vec, &bfd_powerpc_pei_vec, -- 2.30.2