aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2011-11-02 20:40:22 +0000
committerDJ Delorie <dj@redhat.com>2011-11-02 20:40:22 +0000
commit6652d298c01d1747ad2120f5815905364f3b62f9 (patch)
treefaffbb745e3b3bb39212b78fd91decb298344142 /gas/config
parentcd6eab1c16716e4e52828c0411f1dadfc14334cc (diff)
downloadgdb-6652d298c01d1747ad2120f5815905364f3b62f9.zip
gdb-6652d298c01d1747ad2120f5815905364f3b62f9.tar.gz
gdb-6652d298c01d1747ad2120f5815905364f3b62f9.tar.bz2
[bfd]
* elf32-rl78.c (rl78_elf_merge_private_bfd_data): Delete unused variable. [gas] * config/tc-rl78.c (tc_gen_reloc): Remove unused variable.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-rl78.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gas/config/tc-rl78.c b/gas/config/tc-rl78.c
index 07a4cc8..fe0f977 100644
--- a/gas/config/tc-rl78.c
+++ b/gas/config/tc-rl78.c
@@ -482,7 +482,6 @@ tc_gen_reloc (asection * seg ATTRIBUTE_UNUSED, fixS * fixp)
{
static arelent * reloc[8];
int rp;
- int is_opcode = 0;
if (fixp->fx_r_type == BFD_RELOC_NONE)
{
@@ -507,7 +506,6 @@ tc_gen_reloc (asection * seg ATTRIBUTE_UNUSED, fixS * fixp)
&& fixp->fx_subsy)
{
fixp->fx_r_type = BFD_RELOC_RL78_DIFF;
- is_opcode = 1;
}
#define OPX(REL,SYM,ADD) \