Remove more nonstandard stuff from cosmopolitan.h

Fixes #61
This commit is contained in:
Justine Tunney 2021-02-28 23:42:35 -08:00
parent 5e069a64d4
commit d932948fb4
954 changed files with 1095 additions and 1342 deletions

View file

@ -16,17 +16,18 @@
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
*/
#include "libc/macros.h"
#include "libc/macros.internal.h"
.real
.source __FILE__
.code16 # .code32 .code64
// Aborts or hard blocks instruction pointer.
// @mode long,legacy,real
panic: push %bp
__panic:
push %bp
mov %sp,%bp
.softicebp
cli
1: hlt
jmp 1b
.endfn panic,weak
.endfn __panic,weak