[Bug gold/18788] Crash in gold::Output_section_element_input::set_section_addresses

2015-12-14 Thread mdaniels at qnx dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18788

mdaniels at qnx dot com changed:

   What|Removed |Added

 CC||mdaniels at qnx dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19356] unwind stack failed if stack including syscall on armv7

2015-12-14 Thread joseph at codesourcery dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19356

--- Comment #3 from joseph at codesourcery dot com  ---
If the .os file for syscall that was linked into libc.so did not have 
unwind info or had correct unwind info, but libc.so applies unwind info 
from another function to syscall, then the bug is in ld.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug ld/19356] unwind stack failed if stack including syscall on armv7

2015-12-14 Thread guonic at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=19356

--- Comment #4 from Guonic  ---
i have found the source code of syscall, implemented by ASM, and insert some of
unwind INS,which will fix the problem, could you help me to review it?

diff --git a/sysdeps/unix/sysv/linux/arm/syscall.S
b/sysdeps/unix/sysv/linux/arm/syscall.S
index c5582f8..71519fa 100644
--- a/sysdeps/unix/sysv/linux/arm/syscall.S
+++ b/sysdeps/unix/sysv/linux/arm/syscall.S
@@ -23,6 +23,8 @@

 ENTRY (syscall)
mov ip, sp
+.fnstart
+.save {r4, r5, r6, r7}
push{r4, r5, r6, r7}
cfi_adjust_cfa_offset (16)
cfi_rel_offset (r4, 0)
@@ -41,6 +43,7 @@ ENTRY (syscall)
cfi_restore (r5)
cfi_restore (r6)
cfi_restore (r7)
+.fnend
cmn r0, #4096
it  cc
RETINSTR(cc, lr)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils