aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-03-24 18:07:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-03-24 18:07:14 +0000
commit34274ccc6a1febcac41329a6103eff8880630825 (patch)
treebead3fedc3557e524b4bdc561d898022d08eedc1 /bfd
parent26736d8ec174d5de8d1699ed7b482282d587c270 (diff)
downloadgdb-34274ccc6a1febcac41329a6103eff8880630825.zip
gdb-34274ccc6a1febcac41329a6103eff8880630825.tar.gz
gdb-34274ccc6a1febcac41329a6103eff8880630825.tar.bz2
2009-03-24 H.J. Lu <hongjiu.lu@intel.com>
* cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static. (bfd_i386_arch_intel_syntax): Likewise. (i8086_arch): Likewise. (bfd_x86_64_arch): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog7
-rw-r--r--bfd/cpu-i386.c8
2 files changed, 11 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ea96f89..dfb9bb5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2009-03-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * cpu-i386.c (bfd_x86_64_arch_intel_syntax): Make it static.
+ (bfd_i386_arch_intel_syntax): Likewise.
+ (i8086_arch): Likewise.
+ (bfd_x86_64_arch): Likewise.
+
2009-03-24 Hans-Peter Nilsson <hp@axis.com>
* elf32-cris.c (cris_elf_relocate_section): <case
diff --git a/bfd/cpu-i386.c b/bfd/cpu-i386.c
index 4001a05..952e659 100644
--- a/bfd/cpu-i386.c
+++ b/bfd/cpu-i386.c
@@ -23,7 +23,7 @@
#include "bfd.h"
#include "libbfd.h"
-const bfd_arch_info_type bfd_x86_64_arch_intel_syntax =
+static const bfd_arch_info_type bfd_x86_64_arch_intel_syntax =
{
64, /* 64 bits in a word */
64, /* 64 bits in an address */
@@ -39,7 +39,7 @@ const bfd_arch_info_type bfd_x86_64_arch_intel_syntax =
0
};
-const bfd_arch_info_type bfd_i386_arch_intel_syntax =
+static const bfd_arch_info_type bfd_i386_arch_intel_syntax =
{
32, /* 32 bits in a word */
32, /* 32 bits in an address */
@@ -55,7 +55,7 @@ const bfd_arch_info_type bfd_i386_arch_intel_syntax =
&bfd_x86_64_arch_intel_syntax
};
-const bfd_arch_info_type i8086_arch =
+static const bfd_arch_info_type i8086_arch =
{
32, /* 32 bits in a word */
32, /* 32 bits in an address (well, not really) */
@@ -71,7 +71,7 @@ const bfd_arch_info_type i8086_arch =
&bfd_i386_arch_intel_syntax
};
-const bfd_arch_info_type bfd_x86_64_arch =
+static const bfd_arch_info_type bfd_x86_64_arch =
{
64, /* 32 bits in a word */
64, /* 32 bits in an address */