diff options
author | Daniel Jacobowitz <dan@debian.org> | 2001-08-27 18:04:37 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2001-08-27 18:04:37 +0000 |
commit | 24ae4910e19f284cb621418cf06d70f2833190de (patch) | |
tree | a825d72f74219f64789b5d42fcf6cb8c37a68a11 | |
parent | 7c9d854778292aa88943e8701d7ad9cd63309663 (diff) | |
download | gdb-24ae4910e19f284cb621418cf06d70f2833190de.tar.gz |
* elf32-i386.c: Add missing prototypes.
* elf32-ppc.c: Likewise.
* elf32-sh-lin.c: Likewise.
* elfarm-nabi.c: Likewise.
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elf32-i386.c | 4 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 4 | ||||
-rw-r--r-- | bfd/elf32-sh-lin.c | 5 | ||||
-rw-r--r-- | bfd/elfarm-nabi.c | 4 |
5 files changed, 24 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index e7dda9f6fb3..d0e63e2d87b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,12 @@ 2001-08-27 Daniel Jacobowitz <drow@mvista.com> + * elf32-i386.c: Add missing prototypes. + * elf32-ppc.c: Likewise. + * elf32-sh-lin.c: Likewise. + * elfarm-nabi.c: Likewise. + +2001-08-27 Daniel Jacobowitz <drow@mvista.com> + * elf32-i386.c (elf_i386_grok_prstatus): New function. (elf_i386_grok_psinfo): New function. (elf_backend_grok_prstatus): Define. 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 |