This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15407] Partial frame info in sysdeps/x86_64/start.S
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 27 Apr 2013 16:31:15 +0000
- Subject: [Bug libc/15407] Partial frame info in sysdeps/x86_64/start.S
- Auto-submitted: auto-generated
- References: <bug-15407-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15407
--- Comment #10 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-04-27 16:31:15 UTC ---
$ gdb -ex 'b __register_frame_info_bases' -ex 'b
__register_frame_info_table_bases' -ex 'b _Unwind_Find_registered_FDE' -ex r
./hjl
Breakpoint 1, __register_frame_info_bases (begin=0x4c29d0, ob=0x0, tbase=0x0,
dbase=0x0) at ../../../gcc48/libgcc/unwind-dw2-fde.c:81
80 /* If .eh_frame is empty, don't register at all. */
81 if ((const uword *) begin == 0 || *(const uword *) begin == 0)
82 return;
(gdb) p *(const uword *) begin
$2 = 0
(gdb) up
#1 0x0000000000400fdd in frame_dummy ()
(gdb) disas
Dump of assembler code for function frame_dummy:
0x0000000000400fd3 <+19>: mov $0x4c29d0,%edi
0x0000000000400fd8 <+24>: callq 0x40f7d0 <__register_frame_info>
=> 0x0000000000400fdd <+29>: cmpq $0x0,0xc4103(%rip) # 0x4c50e8
End of assembler dump.
(gdb) p &__EH_FRAME_BEGIN__
$3 = (<data variable, no debug info> *) 0x4c29d0
(gdb) p &__FRAME_END__
$4 = (<data variable, no debug info> *) 0x4c29d0
With gold there are no static frames registered, I did not investigate it more
but _start in glibc seems unrelated to it. Does really reverting the glibc
patch of mine fix it for you? (I did not test reverting it.)
The Roland's posted patch looks right; but it seems unrelated.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.