From: Daniel Jacobowitz Date: Mon, 27 Aug 2001 18:04:37 +0000 (+0000) Subject: * elf32-i386.c: Add missing prototypes. X-Git-Url: https://repo.jachan.dev/binutils.git/commitdiff_plain/2e67030cdb975625ee432a67f87b3b626b768c1b * elf32-i386.c: Add missing prototypes. * elf32-ppc.c: Likewise. * elf32-sh-lin.c: Likewise. * elfarm-nabi.c: Likewise. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e7dda9f6fb..d0e63e2d87 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2001-08-27 Daniel Jacobowitz + + * elf32-i386.c: Add missing prototypes. + * elf32-ppc.c: Likewise. + * elf32-sh-lin.c: Likewise. + * elfarm-nabi.c: Likewise. + 2001-08-27 Daniel Jacobowitz * elf32-i386.c (elf_i386_grok_prstatus): New function. diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c index 2e0915c240..ccc71e4fa5 100644 --- a/bfd/elf32-i386.c +++ b/bfd/elf32-i386.c @@ -64,6 +64,10 @@ static boolean elf_i386_finish_dynamic_sections static boolean elf_i386_fake_sections PARAMS ((bfd *, Elf32_Internal_Shdr *, asection *)); static enum elf_reloc_type_class elf_i386_reloc_type_class PARAMS ((int)); +static boolean elf_i386_grok_prstatus + PARAMS ((bfd *abfd, Elf_Internal_Note *note)); +static boolean elf_i386_grok_psinfo + PARAMS ((bfd *abfd, Elf_Internal_Note *note)); #define USE_REL 1 /* 386 uses REL relocations instead of RELA */ diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 05e095be29..a25bcdeece 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -109,6 +109,10 @@ static boolean ppc_elf_finish_dynamic_symbol PARAMS ((bfd *, static boolean ppc_elf_finish_dynamic_sections PARAMS ((bfd *, struct bfd_link_info *)); static enum elf_reloc_type_class ppc_elf_reloc_type_class PARAMS ((int)); +static boolean ppc_elf_grok_prstatus + PARAMS ((bfd *abfd, Elf_Internal_Note *note)); +static boolean ppc_elf_grok_psinfo + PARAMS ((bfd *abfd, Elf_Internal_Note *note)); #define BRANCH_PREDICT_BIT 0x200000 /* branch prediction bit for branch taken relocs */ #define RA_REGISTER_MASK 0x001f0000 /* mask to set RA in memory instructions */ diff --git a/bfd/elf32-sh-lin.c b/bfd/elf32-sh-lin.c index e8d8fe374d..84413f564c 100644 --- a/bfd/elf32-sh-lin.c +++ b/bfd/elf32-sh-lin.c @@ -31,6 +31,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "elf/internal.h" #include "elf-bfd.h" +static boolean elf32_shlin_grok_prstatus + PARAMS ((bfd *abfd, Elf_Internal_Note *note)); +static boolean elf32_shlin_grok_psinfo + PARAMS ((bfd *abfd, Elf_Internal_Note *note)); + /* Support for core dump NOTE sections */ static boolean elf32_shlin_grok_prstatus (abfd, note) diff --git a/bfd/elfarm-nabi.c b/bfd/elfarm-nabi.c index bc98aa7750..8b3fc16908 100644 --- a/bfd/elfarm-nabi.c +++ b/bfd/elfarm-nabi.c @@ -42,6 +42,10 @@ static reloc_howto_type * elf32_arm_reloc_type_lookup PARAMS ((bfd * abfd, bfd_reloc_code_real_type code)); +static boolean elf32_arm_nabi_grok_prstatus + PARAMS ((bfd *abfd, Elf_Internal_Note *note)); +static boolean elf32_arm_nabi_grok_psinfo + PARAMS ((bfd *abfd, Elf_Internal_Note *note)); /* Note: code such as elf32_arm_reloc_type_lookup expect to use e.g. R_ARM_PC24 as an index into this, and find the R_ARM_PC24 HOWTO