Re: svn commit: r328446 - head/stand/uboot/lib

2018-01-26 Thread Joerg Sonnenberger
On Fri, Jan 26, 2018 at 09:51:00PM +, Warner Losh wrote: > Author: imp > Date: Fri Jan 26 21:50:59 2018 > New Revision: 328446 > URL: https://svnweb.freebsd.org/changeset/base/328446 > > Log: > Now that exit is __dead2, we need to tag ub_exit() as __dead2. To do > that, we have to put a wh

svn commit: r328446 - head/stand/uboot/lib

2018-01-26 Thread Warner Losh
Author: imp Date: Fri Jan 26 21:50:59 2018 New Revision: 328446 URL: https://svnweb.freebsd.org/changeset/base/328446 Log: Now that exit is __dead2, we need to tag ub_exit() as __dead2. To do that, we have to put a while (1); after the syscall that will never return to fake out the compiler.