diff options
author | Alan Modra <amodra@gmail.com> | 2008-07-28 06:46:31 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2008-07-28 06:46:31 +0000 |
commit | 9a008db36edc557367211620903de9f39733169a (patch) | |
tree | 1604d4c0a2270cb622c4f4745e4a84a75bc09b76 /bfd/elf32-arm.c | |
parent | 437c2fb7a12caa380086560b3929b0a6d7b51764 (diff) | |
download | gdb-9a008db36edc557367211620903de9f39733169a.zip gdb-9a008db36edc557367211620903de9f39733169a.tar.gz gdb-9a008db36edc557367211620903de9f39733169a.tar.bz2 |
* elf32-arm.c (arm_map_one_stub): Declare variables at beginning
of block.
* elf32-avr.c (get_local_syms): Likewise.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 8fc1542..7afd4ef 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -11221,11 +11221,12 @@ arm_map_one_stub (struct bfd_hash_entry *gen_entry, asection *stub_sec; bfd_vma addr; char *stub_name; + output_arch_syminfo *osi; /* Massage our args to the form they really have. */ stub_entry = (struct elf32_arm_stub_hash_entry *) gen_entry; + osi = (output_arch_syminfo *) in_arg; - output_arch_syminfo *osi = (output_arch_syminfo *) in_arg; info = osi->info; htab = elf32_arm_hash_table (info); |