need to use a slightly different asm syntax..
authorderaadt <deraadt@openbsd.org>
Sun, 19 Nov 2023 00:46:54 +0000 (00:46 +0000)
committerderaadt <deraadt@openbsd.org>
Sun, 19 Nov 2023 00:46:54 +0000 (00:46 +0000)
lib/csu/mips64/md_init.h

index 0f5045d..6ddf744 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: md_init.h,v 1.21 2023/11/18 16:26:16 deraadt Exp $ */
+/* $OpenBSD: md_init.h,v 1.22 2023/11/19 00:46:54 deraadt Exp $ */
 
 /*-
  * Copyright (c) 2001 Ross Harvey
        "       .ent    _csu_abort              \n" \
        "       .type   _csu_abort, @function   \n" \
        "_csu_abort:                            \n" \
-       "       teq     zero, zero, 0x52        \n" \
+       "       teq     $zero, $zero, 0x52      \n" \
        "       .end    _csu_abort              \n" \
        "       .previous")