aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-09-11 17:01:47 +0000
committerNick Clifton <nickc@redhat.com>2000-09-11 17:01:47 +0000
commitdbf481172fcc6a37508e7c1c45da7eb68c1fdf4e (patch)
treeb6f7505852dfbd6c6f871201522d874b0205f04b /bfd
parent16bce26c356f8d3fc6ef90145085c6ff651ae957 (diff)
downloadgdb-dbf481172fcc6a37508e7c1c45da7eb68c1fdf4e.zip
gdb-dbf481172fcc6a37508e7c1c45da7eb68c1fdf4e.tar.gz
gdb-dbf481172fcc6a37508e7c1c45da7eb68c1fdf4e.tar.bz2
Make debug_sec_names static.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ff7dcd4..6e331ac 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-11 Michael Sokolov <msokolov@ivan.Harhan.ORG>
+
+ * elf.c (_bfd_elf_make_section_from_shdr): Make debug_sec_names
+ static.
+
2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* coff-m68k.c (bfd_m68k_coff_create_embedded_relocs): Emit 8 NULs for
diff --git a/bfd/elf.c b/bfd/elf.c
index 6f732f8..fea846d 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -384,7 +384,7 @@ _bfd_elf_make_section_from_shdr (abfd, hdr, name)
/* The debugging sections appear to be recognized only by name, not
any sort of flag. */
{
- const char *debug_sec_names [] =
+ static const char *debug_sec_names [] =
{
".debug",
".gnu.linkonce.wi.",