projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ARM][gas] Fix warnings about uninitialised uses and unused const variables
[deliverable/binutils-gdb.git]
/
gas
/
config
/
tc-ppc.c
diff --git
a/gas/config/tc-ppc.c
b/gas/config/tc-ppc.c
index 1d2c57f0293b1debaca194a7cfbe7ec5a6a9c933..6346570ac34c1de6b47e959cb41d742b4b5810b6 100644
(file)
--- a/
gas/config/tc-ppc.c
+++ b/
gas/config/tc-ppc.c
@@
-206,11
+206,13
@@
ppc_cpu_t sticky = 0;
/* Value for ELF e_flags EF_PPC64_ABI. */
unsigned int ppc_abiversion = 0;
/* Value for ELF e_flags EF_PPC64_ABI. */
unsigned int ppc_abiversion = 0;
+#ifdef OBJ_ELF
/* Flags set on encountering toc relocs. */
/* Flags set on encountering toc relocs. */
-enum {
+
static
enum {
has_large_toc_reloc = 1,
has_small_toc_reloc = 2
} toc_reloc_types;
has_large_toc_reloc = 1,
has_small_toc_reloc = 2
} toc_reloc_types;
+#endif
/* Warn on emitting data to code sections. */
int warn_476;
/* Warn on emitting data to code sections. */
int warn_476;
This page took
0.025631 seconds
and
4
git commands to generate.