aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-11-09 08:29:34 +0000
committerH.J. Lu <hjl.tools@gmail.com>2012-11-09 08:29:34 +0000
commit5bb3703f01dd574faebbd3a69f4c64dbfee6a701 (patch)
treed717373f238005fb01abdc275b9ec39bc8ed49d7 /bfd
parent558a9d8255131b61150160b6226af5c2550cb52c (diff)
downloadgdb-5bb3703f01dd574faebbd3a69f4c64dbfee6a701.zip
gdb-5bb3703f01dd574faebbd3a69f4c64dbfee6a701.tar.gz
gdb-5bb3703f01dd574faebbd3a69f4c64dbfee6a701.tar.bz2
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 'bfd')
-rw-r--r--bfd/ChangeLog15
-rw-r--r--bfd/aout-tic30.c2
-rw-r--r--bfd/coff-h8500.c4
-rw-r--r--bfd/dwarf2.c2
-rw-r--r--bfd/elf.c2
-rw-r--r--bfd/elf32-frv.c2
-rw-r--r--bfd/elf32-v850.c2
-rw-r--r--bfd/opncls.c2
-rw-r--r--bfd/plugin.c2
-rw-r--r--bfd/reloc.c2
-rw-r--r--bfd/vms-lib.c2
11 files changed, 26 insertions, 11 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4d32f21..85e94b9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,18 @@
+2012-11-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ * 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.
+
2012-11-08 Tom Tromey <tromey@redhat.com>
* elf.c (elfcore_grok_note) <NT_SIGINFO>: New case; make
diff --git a/bfd/aout-tic30.c b/bfd/aout-tic30.c
index f3b0d36..d8ce9be 100644
--- a/bfd/aout-tic30.c
+++ b/bfd/aout-tic30.c
@@ -701,7 +701,7 @@ MY_final_link_callback (bfd *abfd,
*ptreloff = obj_datasec (abfd)->filepos + execp->a_data;
*pdreloff = *ptreloff + execp->a_trsize;
- *psymoff = *pdreloff + execp->a_drsize;;
+ *psymoff = *pdreloff + execp->a_drsize;
}
#endif
diff --git a/bfd/coff-h8500.c b/bfd/coff-h8500.c
index 1fae964..9b64599 100644
--- a/bfd/coff-h8500.c
+++ b/bfd/coff-h8500.c
@@ -222,7 +222,7 @@ extra_case (bfd *in_abfd,
v = (v & 0x00ffffff) | (o & 0xff00000);
bfd_put_32 (in_abfd, (bfd_vma) v, data + *dst_ptr -1);
(*dst_ptr) += 3;
- (*src_ptr) += 3;;
+ (*src_ptr) += 3;
}
break;
case R_H8500_IMM32:
@@ -230,7 +230,7 @@ extra_case (bfd *in_abfd,
int v = bfd_coff_reloc16_get_value (reloc, link_info, input_section);
bfd_put_32 (in_abfd, (bfd_vma) v, data + *dst_ptr);
(*dst_ptr) += 4;
- (*src_ptr) += 4;;
+ (*src_ptr) += 4;
}
break;
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index b96b6ab..1153c39 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -3624,7 +3624,7 @@ _bfd_dwarf2_find_inliner_info (bfd *abfd ATTRIBUTE_UNUSED,
void
_bfd_dwarf2_cleanup_debug_info (bfd *abfd, void **pinfo)
{
- struct dwarf2_debug *stash = (struct dwarf2_debug *) *pinfo;;
+ struct dwarf2_debug *stash = (struct dwarf2_debug *) *pinfo;
struct comp_unit *each;
if (abfd == NULL || stash == NULL)
diff --git a/bfd/elf.c b/bfd/elf.c
index 4465f48..f40e81b 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -7362,7 +7362,7 @@ error_return_verdef:
Elf_Internal_Verdef *iverdef;
Elf_Internal_Verdaux *iverdaux;
- iverdef = &elf_tdata (abfd)->verdef[freeidx - 1];;
+ iverdef = &elf_tdata (abfd)->verdef[freeidx - 1];
iverdef->vd_version = VER_DEF_CURRENT;
iverdef->vd_flags = 0;
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index 1481733..c2b74c6 100644
--- a/bfd/elf32-frv.c
+++ b/bfd/elf32-frv.c
@@ -3363,7 +3363,7 @@ elf32_frv_relocate_section (bfd *output_bfd ATTRIBUTE_UNUSED,
with ldi @(grB, #gottlsoff12(symbol+offset), grC.
Preserve the packing bit. */
insn = (insn & (unsigned long)0xfe03f000)
- | (unsigned long)0x00c80000;;
+ | (unsigned long)0x00c80000;
bfd_put_32 (input_bfd, insn, contents + rel->r_offset);
r_type = R_FRV_GOTTLSOFF12;
diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c
index 11fbbb4..6cf275f 100644
--- a/bfd/elf32-v850.c
+++ b/bfd/elf32-v850.c
@@ -624,7 +624,7 @@ v850_elf_perform_relocation (bfd *abfd,
case R_V850_CALLT_15_16_OFFSET:
insn = bfd_get_16 (abfd, address);
- addend += insn & 0xfffe;;
+ addend += insn & 0xfffe;
saddend = (bfd_signed_vma) addend;
diff --git a/bfd/opncls.c b/bfd/opncls.c
index 728b2b0..7bd2fdc 100644
--- a/bfd/opncls.c
+++ b/bfd/opncls.c
@@ -1135,7 +1135,7 @@ bfd_calc_gnu_debuglink_crc32 (unsigned long crc,
crc = ~crc & 0xffffffff;
for (end = buf + len; buf < end; ++ buf)
crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
- return ~crc & 0xffffffff;;
+ return ~crc & 0xffffffff;
}
diff --git a/bfd/plugin.c b/bfd/plugin.c
index 8d2c4b20..1319203 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -137,7 +137,7 @@ add_symbols (void * handle,
{
bfd *abfd = handle;
struct plugin_data_struct *plugin_data =
- bfd_alloc (abfd, sizeof (plugin_data_struct));;
+ bfd_alloc (abfd, sizeof (plugin_data_struct));
plugin_data->nsyms = nsyms;
plugin_data->syms = syms;
diff --git a/bfd/reloc.c b/bfd/reloc.c
index f8540a7..e097887 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -503,7 +503,7 @@ bfd_check_overflow (enum complain_overflow how,
fieldmask = N_ONES (bitsize);
signmask = ~fieldmask;
addrmask = N_ONES (addrsize) | (fieldmask << rightshift);
- a = (relocation & addrmask) >> rightshift;;
+ a = (relocation & addrmask) >> rightshift;
switch (how)
{
diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c
index 8f15419..8aa0e9a 100644
--- a/bfd/vms-lib.c
+++ b/bfd/vms-lib.c
@@ -630,7 +630,7 @@ _bfd_vms_lib_archive_p (bfd *abfd, enum vms_lib_kind kind)
err:
bfd_release (abfd, tdata);
- abfd->tdata.any = (void *)tdata_hold;;
+ abfd->tdata.any = (void *)tdata_hold;
return NULL;
}