about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2016-03-09 00:25:00 +0100
committerAurelien Jarno <aurelien@aurel32.net>2016-03-09 18:48:18 +0100
commitf8e9c4d30c28b8815e65a391416e8b15d2e7cbb8 (patch)
tree95d48c785692c14ff110106900a16a2d383b80ff /sysdeps/generic
parent613c92b3b59df6a06784cde1d4f410cef0b6da96 (diff)
downloadglibc-f8e9c4d30c28b8815e65a391416e8b15d2e7cbb8.tar.gz
glibc-f8e9c4d30c28b8815e65a391416e8b15d2e7cbb8.tar.xz
glibc-f8e9c4d30c28b8815e65a391416e8b15d2e7cbb8.zip
mips: terminate the FDE before the return trampoline in makecontext
In makecontext the FDE needs to be terminated before the return
trampoline otherwise backtrace called within a context created by
makecontext yields infinite backtrace.

This bug has been present for a long time, stdlib/tst-makecontext did
not fail until recent commit e535ce25. Tested on mips-linux-gnu and
mips64el-linux-gnuabi64 and mips-linux-gnu, no regression.

This fixes stdlib/tst-makecontext on MIPS.

Changelog:
	[BZ #19792]
	* sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
	Terminate FDE before return label.
Diffstat (limited to 'sysdeps/generic')
0 files changed, 0 insertions, 0 deletions