about summary refs log tree commit diff
path: root/sysdeps/s390/s390-32/start.S
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates with scripts/update-copyrights.Joseph Myers2018-01-011-1/+1
| | | | | | | * All files with FSF copyright notices: Update copyright dates using scripts/update-copyrights. * locale/programs/charmap-kw.h: Regenerated. * locale/programs/locfile-kw.h: Likewise.
* S390: Add cfi information for start routines in order to stop unwinding.Stefan Liebler2017-11-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GDB failed to detect the outermost frame while showing the backtrace within a thread: Backtrace stopped: previous frame identical to this frame (corrupt stack?) Before this patch, the start routines like thread_start had no cfi information. GDB is then using the prologue unwinder if no cfi information is available. This unwinder tries to unwind r15 and stops e.g. if r15 was updated or on some jump-instructions. On older glibc-versions (before commit "Remove cached PID/TID in clone" c579f48edba88380635ab98cb612030e3ed8691e), the thread_start function used such a jump-instruction and GDB did not fail with an error. This patch adds cfi information for _start, thread_start and __makecontext_ret and marks r14 as undefined which marks the frame as outermost frame and GDB stops the backtrace. Also tested different gcc versions in order to test _Unwind_Backtrace() in libgcc as this is used by backtrace() in glibc. ChangeLog: * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14. * sysdeps/s390/s390-32/start.S: (_start): Likewise * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (thread_start): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (thread_start): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S (__makecontext_ret): Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S (__makecontext_ret): Likewise.
* Update copyright dates with scripts/update-copyrights.Joseph Myers2017-01-011-1/+1
|
* Update copyright dates with scripts/update-copyrights.Joseph Myers2016-01-041-1/+1
|
* Update copyright dates with scripts/update-copyrights.Joseph Myers2015-01-021-1/+1
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-011-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-2/+1
|
* Move sysdeps/s390/s390-32/elf filesAndreas Jaeger2012-03-281-0/+212
* sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ... * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here. * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ... * sysdeps/s390/s390-32/bsd-setjmp.S: ... here. * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ... * sysdeps/s390/s390-32/setjmp.S: ... here. * sysdeps/s390/s390-32/elf/configure.in: Moved to ... * sysdeps/s390/s390-32/configure.in: ... here. * sysdeps/s390/s390-32/elf/configure: Delete file. * sysdeps/s390/s390-32/elf/start.S: Moved to ... * sysdeps/s390/s390-32/start.S: ... here.