aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-08-11 14:35:41 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-08-11 14:35:41 +0000
commit1630fd2bf1076fd755dab29ce821b5b980d5f51e (patch)
tree6ba0ba53c3fecc0977db55f4e8c0b68c16d28ab4
parent9122588356d7557602e9eac617b1a4f61c862ed1 (diff)
downloadgdb-1630fd2bf1076fd755dab29ce821b5b980d5f51e.zip
gdb-1630fd2bf1076fd755dab29ce821b5b980d5f51e.tar.gz
gdb-1630fd2bf1076fd755dab29ce821b5b980d5f51e.tar.bz2
* elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-sh.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2936528..5f3534c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2000-08-11 Alexandre Oliva <aoliva@redhat.com>
+
+ * elf32-sh.c (sh_elf_set_mach_from_flags): Make it static.
+
2000-08-10 Jason Eckhardt <jle@cygnus.com>
* elf32-i860.c (elf32_i860_relocate_section): New function.
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c
index eb333e2..f1e0027 100644
--- a/bfd/elf32-sh.c
+++ b/bfd/elf32-sh.c
@@ -39,7 +39,7 @@ static boolean sh_elf_copy_private_data
PARAMS ((bfd *, bfd *));
static boolean sh_elf_merge_private_data
PARAMS ((bfd *, bfd *));
-boolean sh_elf_set_mach_from_flags
+static boolean sh_elf_set_mach_from_flags
PARAMS ((bfd *));
static boolean sh_elf_relax_section
PARAMS ((bfd *, asection *, struct bfd_link_info *, boolean *));
@@ -2261,7 +2261,7 @@ sh_elf_check_relocs (abfd, info, sec, relocs)
return true;
}
-boolean
+static boolean
sh_elf_set_mach_from_flags (abfd)
bfd * abfd;
{