From 2e67030cdb975625ee432a67f87b3b626b768c1b Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 27 Aug 2001 18:04:37 +0000 Subject: [PATCH] * elf32-i386.c: Add missing prototypes. * elf32-ppc.c: Likewise. * elf32-sh-lin.c: Likewise. * elfarm-nabi.c: Likewise. --- bfd/ChangeLog | 7 +++++++ bfd/elf32-i386.c | 4 ++++ bfd/elf32-ppc.c | 4 ++++ bfd/elf32-sh-lin.c | 5 +++++ bfd/elfarm-nabi.c | 4 ++++ 5 files changed, 24 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e7dda9f6fb3..d0e63e2d87b 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 2e0915c2403..ccc71e4fa56 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 05e095be293..a25bcdeece8 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 e8d8fe374de..84413f564cd 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 bc98aa77508..8b3fc16908d 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 -- 2.30.2