aboutsummaryrefslogtreecommitdiff
path: root/gold/arm.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2012-07-11 14:18:40 +0000
committerIan Lance Taylor <ian@airs.com>2012-07-11 14:18:40 +0000
commit1f3212db282db657b7511fe0bee6285eafb67351 (patch)
tree412a6beadece81045b4287f400f2b576270aa678 /gold/arm.cc
parent3db4782ac8f2bf8243892afd1d1838769d562071 (diff)
downloadgdb-1f3212db282db657b7511fe0bee6285eafb67351.zip
gdb-1f3212db282db657b7511fe0bee6285eafb67351.tar.gz
gdb-1f3212db282db657b7511fe0bee6285eafb67351.tar.bz2
* arm.cc (Arm_relocate_functions::abs16): Remove unused typedef.
(Arm_exidx_cantunwind::do_fixed_endian_write): Likewise. (Target_arm::scan_reloc_for_stub): Likewise. * common.cc (Symbol_table::do_allocate_commons_list): Likewise. * dwarf_reader.cc (Dwarf_die::skip_attributes): Likewise. * ehframe.cc (Eh_frame::do_add_ehframe_input_section): Likewise. * incremental.cc (Sized_incr_dynobj::do_add_symbols): Likewise. * powerpc.cc (Target_powerpc::relocate_tls): Likewise.
Diffstat (limited to 'gold/arm.cc')
-rw-r--r--gold/arm.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/gold/arm.cc b/gold/arm.cc
index 92735ea..fa257a7 100644
--- a/gold/arm.cc
+++ b/gold/arm.cc
@@ -3253,7 +3253,6 @@ class Arm_relocate_functions : public Relocate_functions<32, big_endian>
const Symbol_value<32>* psymval)
{
typedef typename elfcpp::Swap_unaligned<16, big_endian>::Valtype Valtype;
- typedef typename elfcpp::Swap<32, big_endian>::Valtype Reltype;
Valtype val = elfcpp::Swap_unaligned<16, big_endian>::readval(view);
int32_t addend = Bits<16>::sign_extend32(val);
Arm_address x = psymval->value(object, addend);
@@ -5209,8 +5208,6 @@ Arm_exidx_cantunwind::do_fixed_endian_write(Output_file* of)
const section_size_type oview_size = 8;
unsigned char* const oview = of->get_output_view(offset, oview_size);
- typedef typename elfcpp::Swap_unaligned<32, big_endian>::Valtype Valtype;
-
Output_section* os = this->relobj_->output_section(this->shndx_);
gold_assert(os != NULL);
@@ -10990,8 +10987,6 @@ Target_arm<big_endian>::scan_reloc_for_stub(
elfcpp::Elf_types<32>::Elf_Swxword addend,
Arm_address address)
{
- typedef typename Target_arm<big_endian>::Relocate Relocate;
-
const Arm_relobj<big_endian>* arm_relobj =
Arm_relobj<big_endian>::as_arm_relobj(relinfo->object);