aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2001-08-27 18:04:37 +0000
committerDaniel Jacobowitz <drow@false.org>2001-08-27 18:04:37 +0000
commit2e67030cdb975625ee432a67f87b3b626b768c1b (patch)
treeb34de5ad24e89bb0b023a1a41be8da63c537670c /bfd
parentc5fccbec35ed1dc9447b46a640307fff49152a49 (diff)
downloadfsf-binutils-gdb-2e67030cdb975625ee432a67f87b3b626b768c1b.zip
fsf-binutils-gdb-2e67030cdb975625ee432a67f87b3b626b768c1b.tar.gz
fsf-binutils-gdb-2e67030cdb975625ee432a67f87b3b626b768c1b.tar.bz2
* elf32-i386.c: Add missing prototypes.
* elf32-ppc.c: Likewise. * elf32-sh-lin.c: Likewise. * elfarm-nabi.c: Likewise.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/elf32-i386.c4
-rw-r--r--bfd/elf32-ppc.c4
-rw-r--r--bfd/elf32-sh-lin.c5
-rw-r--r--bfd/elfarm-nabi.c4
5 files changed, 24 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e7dda9f..d0e63e2 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 2e0915c..ccc71e4 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 05e095b..a25bcde 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 e8d8fe3..84413f5 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 bc98aa7..8b3fc16 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