Commit 4ad2fc34 authored by bje's avatar bje
Browse files

* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Move

	pc_low and pc_high declarations to the top of the function.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149167 138bc75d-0d04-0410-961f-82ee72b054a4
parent 1e459943
2009-07-02 Ben Elliston <bje@au.ibm.com>
* unwind-dw2-fde-glibc.c (_Unwind_IteratePhdrCallback): Move
pc_low and pc_high declarations to the top of the function.
2009-07-01 DJ Delorie <dj@redhat.com>
 
* config/mep/mep.c (mep_handle_option): Leave IVC2 control
......
......@@ -135,7 +135,8 @@ _Unwind_IteratePhdrCallback (struct dl_phdr_info *info, size_t size, void *ptr)
const struct unw_eh_frame_hdr *hdr;
_Unwind_Ptr eh_frame;
struct object ob;
_Unwind_Ptr pc_low = 0, pc_high = 0;
struct ext_dl_phdr_info
{
ElfW(Addr) dlpi_addr;
......@@ -226,8 +227,6 @@ _Unwind_IteratePhdrCallback (struct dl_phdr_info *info, size_t size, void *ptr)
+ sizeof (info->dlpi_phnum))
return -1;
_Unwind_Ptr pc_low = 0, pc_high = 0;
/* See if PC falls into one of the loaded segments. Find the eh_frame
segment at the same time. */
for (n = info->dlpi_phnum; --n >= 0; phdr++)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment