summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-11-09 08:29:27 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-11-09 08:29:27 +0000
commitadbabd58124616e26fa17275b3f854945d371a0d (patch)
tree59b94bdf330d9d26bd4e2fb7498f1a58d7e396ce /gas
parent84aab3b616d225eb26bcd2a95a762258f7830a7e (diff)
downloadbinutils-redhat-adbabd58124616e26fa17275b3f854945d371a0d.tar.gz
Remove trailing redundant `;'
bfd/ * aout-tic30.c (MY_final_link_callback): Remove trailing redundant `;'. * coff-h8500.c (extra_case): Likewise. (bfd_coff_reloc16_get_value): Likewise. * dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Likewise. * elf.c (_bfd_elf_slurp_version_tables): Likewise. * elf32-frv.c (elf32_frv_relocate_section): Likewise. * elf32-v850.c (v850_elf_perform_relocation): Likewise. * opncls.c (bfd_calc_gnu_debuglink_crc32): Likewise. * plugin.c (add_symbols): Likewise. * reloc.c (bfd_check_overflow): Likewise. * vms-lib.c (_bfd_vms_lib_archive_p): Likewise. binutils/ * coffgrok.c (coff_grok): Remove trailing redundant `;'. * resrc.c (open_input_stream): Likewise. gas/ * config/atof-ieee.c (gen_to_words): Remove trailing redundant `;'. * config/atof-vax.c (flonum_gen2vax): Likewise. * config/tc-d10v.c (write_2_short): Likewise. * config/tc-i386-intel.c (i386_intel_simplify): Likewise. * config/tc-s390.c (tc_s390_force_relocation): Likewise. * config/tc-v850.c (md_parse_option): Likewise. * config/tc-xtensa.c (find_address_of_next_align_frag): Likewise. * dwarf2dbg.c (out_header): Likewise. * symbols.c (dollar_label_name): Likewise. (fb_label_name): Likewise. ld/ * testplug.c (record_add_file): Remove trailing redundant `;'. opcodes/ * aarch64-opc.h (gen_mask): Remove trailing redundant `;'. * ia64-gen.c (fetch_insn_class): Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog14
-rw-r--r--gas/config/atof-ieee.c2
-rw-r--r--gas/config/atof-vax.c2
-rw-r--r--gas/config/tc-d10v.c2
-rw-r--r--gas/config/tc-i386-intel.c2
-rw-r--r--gas/config/tc-s390.c2
-rw-r--r--gas/config/tc-v850.c2
-rw-r--r--gas/config/tc-xtensa.c2
-rw-r--r--gas/dwarf2dbg.c2
-rw-r--r--gas/symbols.c4
10 files changed, 24 insertions, 10 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 69e161d4f9..9b162f5fa5 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,17 @@
+2012-11-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/atof-ieee.c (gen_to_words): Remove trailing redundant
+ `;'.
+ * config/atof-vax.c (flonum_gen2vax): Likewise.
+ * config/tc-d10v.c (write_2_short): Likewise.
+ * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
+ * config/tc-s390.c (tc_s390_force_relocation): Likewise.
+ * config/tc-v850.c (md_parse_option): Likewise.
+ * config/tc-xtensa.c (find_address_of_next_align_frag): Likewise.
+ * dwarf2dbg.c (out_header): Likewise.
+ * symbols.c (dollar_label_name): Likewise.
+ (fb_label_name): Likewise.
+
2012-11-08 Maciej W. Rozycki <macro@codesourcery.com>
* config/tc-mips.c (mips_ip) <'u'>: Default to BFD_RELOC_LO16.
diff --git a/gas/config/atof-ieee.c b/gas/config/atof-ieee.c
index 4ceb0b9537..32e57076a4 100644
--- a/gas/config/atof-ieee.c
+++ b/gas/config/atof-ieee.c
@@ -419,7 +419,7 @@ gen_to_words (LITTLENUM_TYPE *words, int precision, long exponent_bits)
- generic_floating_point_number.low);
/* Seek (and forget) 1st significant bit. */
- for (exponent_skippage = 0; !next_bits (1); ++exponent_skippage);;
+ for (exponent_skippage = 0; !next_bits (1); ++exponent_skippage);
exponent_1 = (generic_floating_point_number.exponent
+ generic_floating_point_number.leader
+ 1
diff --git a/gas/config/atof-vax.c b/gas/config/atof-vax.c
index e012526861..6e81ffe3ab 100644
--- a/gas/config/atof-vax.c
+++ b/gas/config/atof-vax.c
@@ -295,7 +295,7 @@ flonum_gen2vax (int format_letter, /* One of 'd' 'f' 'g' 'h'. */
/* Seek (and forget) 1st significant bit. */
for (exponent_skippage = 0;
!next_bits (1);
- exponent_skippage++);;
+ exponent_skippage++);
exponent_1 = f->exponent + f->leader + 1 - f->low;
/* Radix LITTLENUM_RADIX, point just higher than f->leader. */
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c
index 8ba4f30edc..983c2f80c4 100644
--- a/gas/config/tc-d10v.c
+++ b/gas/config/tc-d10v.c
@@ -1119,7 +1119,7 @@ write_2_short (struct d10v_opcode *opcode1,
static unsigned long prev_insn;
static struct d10v_opcode *prev_opcode = 0;
static subsegT prev_subseg;
-static segT prev_seg = 0;;
+static segT prev_seg = 0;
/* Find the symbol which has the same name as the register in exp. */
diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c
index 099cbfcd94..aefdc2a9c7 100644
--- a/gas/config/tc-i386-intel.c
+++ b/gas/config/tc-i386-intel.c
@@ -337,7 +337,7 @@ static int i386_intel_simplify (expressionS *e)
if (!i386_intel_simplify_symbol (e->X_add_symbol)
|| !i386_intel_check(the_reg, intel_state.base,
intel_state.index))
- return 0;;
+ return 0;
}
if (!intel_state.in_offset)
++intel_state.in_bracket;
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 11e3c47415..28b526ce49 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -2111,7 +2111,7 @@ tc_s390_force_relocation (struct fix *fixp)
case BFD_RELOC_390_GOTPLTENT:
return 1;
default:
- break;;
+ break;
}
return generic_force_reloc (fixp);
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c
index 1340b4efa6..4c1428b9a3 100644
--- a/gas/config/tc-v850.c
+++ b/gas/config/tc-v850.c
@@ -1391,7 +1391,7 @@ md_parse_option (int c, char *arg)
}
else if (strcmp (arg, "extension") == 0)
{
- processor_mask |= PROCESSOR_OPTION_EXTENSION | PROCESSOR_OPTION_ALIAS;;
+ processor_mask |= PROCESSOR_OPTION_EXTENSION | PROCESSOR_OPTION_ALIAS;
}
else if (strcmp (arg, "no-bcond17") == 0)
{
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c
index 3624cc99d0..7075531050 100644
--- a/gas/config/tc-xtensa.c
+++ b/gas/config/tc-xtensa.c
@@ -8878,7 +8878,7 @@ find_address_of_next_align_frag (fragS **fragPP,
(*widens)++;
break;
}
- address += total_frag_text_expansion (fragP);;
+ address += total_frag_text_expansion (fragP);
break;
case RELAX_IMMED:
diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c
index 2fa6d51cb0..76b5fe0fe7 100644
--- a/gas/dwarf2dbg.c
+++ b/gas/dwarf2dbg.c
@@ -1447,7 +1447,7 @@ out_header (asection *sec, expressionS *exp)
symbolS *end_sym;
subseg_set (sec, 0);
- start_sym = symbol_temp_new_now ();;
+ start_sym = symbol_temp_new_now ();
end_sym = symbol_temp_make ();
/* Total length of the information. */
diff --git a/gas/symbols.c b/gas/symbols.c
index 1f325c4be0..60b17936e2 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1702,7 +1702,7 @@ dollar_label_name (register long n, /* we just saw "n$:" : n a number. */
*q = i % 10 + '0';
i /= 10;
}
- while ((*p++ = *--q) != '\0');;
+ while ((*p++ = *--q) != '\0');
/* The label, as a '\0' ended string, starts at symbol_name_build. */
return symbol_name_build;
@@ -1873,7 +1873,7 @@ fb_label_name (long n, /* We just saw "n:", "nf" or "nb" : n a number. */
*q = i % 10 + '0';
i /= 10;
}
- while ((*p++ = *--q) != '\0');;
+ while ((*p++ = *--q) != '\0');
/* The label, as a '\0' ended string, starts at symbol_name_build. */
return (symbol_name_build);