tijl 173e2ebded Set the return address for stack entry points to zero.
Stack unwinders treat zero as a stop condition.  The value on the stack can
be non-zero because thread stacks may be arbitrary memory provided via
pthread_attr_setstack(3) or may be recycled from previous threads.

Reference:
https://lists.freebsd.org/pipermail/freebsd-current/2017-August/066855.html
https://lists.freebsd.org/pipermail/freebsd-current/2017-October/067254.html

Discussed with:	kib
MFC after:	1 week
2017-10-31 11:51:34 +00:00
..
2017-10-29 08:17:03 +00:00
2017-10-29 08:17:03 +00:00
2017-10-31 00:07:04 +00:00
2017-10-30 03:25:22 +00:00
2017-10-31 02:53:50 +00:00
2017-10-31 02:53:50 +00:00
2017-10-31 02:49:28 +00:00
2017-10-31 02:53:50 +00:00
2017-10-29 08:17:03 +00:00
2017-10-29 08:17:03 +00:00
2017-10-28 02:51:27 +00:00
2017-10-21 12:05:01 +00:00