aboutsummaryrefslogtreecommitdiff
path: root/bfd
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 /bfd
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 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-rl78.c2
2 files changed, 5 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d4b33c5..ebf5b0f 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-02 DJ Delorie <dj@redhat.com>
+
+ * elf32-rl78.c (rl78_elf_merge_private_bfd_data): Delete unused
+ variable.
+
2011-11-02 Jan Beulich <jbeulich@suse.com>
* coffgen.c (coff_write_alien_symbol): Make public. Add 'struct
diff --git a/bfd/elf32-rl78.c b/bfd/elf32-rl78.c
index c969c71..92c01b0 100644
--- a/bfd/elf32-rl78.c
+++ b/bfd/elf32-rl78.c
@@ -1013,12 +1013,10 @@ bfd_elf32_rl78_set_target_flags (bfd_boolean user_no_warn_mismatch)
static bfd_boolean
rl78_elf_merge_private_bfd_data (bfd * ibfd, bfd * obfd)
{
- flagword old_flags;
flagword new_flags;
bfd_boolean error = FALSE;
new_flags = elf_elfheader (ibfd)->e_flags;
- old_flags = elf_elfheader (obfd)->e_flags;
if (!elf_flags_init (obfd))
{