From 3860075f3f22d7add76eee4caa85b051e7913d10 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Mon, 22 Jun 1992 15:42:38 +0000 Subject: Fri Jun 19 20:23:21 1992 Steve Chamberlain (sac@thepub.cygnus.com) Lints for bfd_reloc_code_type->bfd_reloc_code_real_type, and correct calling of howto special functions and fixes from Raeburn for gas<>bfdness * archures.c: nuke bfd_reloc_code_type * bout.c, cpu-h8300.c, coff-i960.c, coff-m88k.c: special function lint * coffcode.h (styp_to_sec_flags): STYP_INFO is marked as SEC_NEVER_LOAD, various other bfdgas newness * reloc.c->libbfd.h: change protype of bfd_default_reloc_type_lookup * targets.c: change jump table vector to above --- bfd/reloc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bfd/reloc.c') diff --git a/bfd/reloc.c b/bfd/reloc.c index 93b2af7..6380158 100644 --- a/bfd/reloc.c +++ b/bfd/reloc.c @@ -733,7 +733,7 @@ SECTION SYNOPSIS CONST struct reloc_howto_struct * - bfd_reloc_type_lookup (bfd *abfd, bfd_reloc_code_type code); + bfd_reloc_type_lookup (bfd *abfd, bfd_reloc_code_real_type code); DESCRIPTION This routine returns a pointer to a howto struct which when @@ -744,9 +744,9 @@ DESCRIPTION CONST struct reloc_howto_struct * -DEFUN(bfd_reloc_type_lookup,(arch, code), +DEFUN(bfd_reloc_type_lookup,(abfd, code), bfd *abfd AND - bfd_reloc_code_type code) + bfd_reloc_code_real_type code) { return BFD_SEND (abfd, reloc_type_lookup, (abfd, code)); } @@ -762,7 +762,7 @@ INTERNAL_FUNCTION SYNOPSIS CONST struct reloc_howto_struct *bfd_default_reloc_type_lookup (CONST struct bfd_arch_info *, - bfd_reloc_code_type code); + bfd_reloc_code_real_type code); DESCRIPTION Provides a default relocation lookuperer for any architectue @@ -772,7 +772,7 @@ DESCRIPTION CONST struct reloc_howto_struct * DEFUN(bfd_default_reloc_type_lookup,(arch, code), CONST struct bfd_arch_info *arch AND - bfd_reloc_code_type code) + bfd_reloc_code_real_type code) { switch (code) { -- cgit v1.1