]> Shamusworld >> Repos - rmac/blobdiff - direct.c
Fixed segfault on encountering unexpected register in RISC section.
[rmac] / direct.c
index 6f94402c4c0502564942368273a17cac1b0781eb..31852c8e2f9213c3a3a0e3735406aa9c57b95fab 100644 (file)
--- a/direct.c
+++ b/direct.c
@@ -83,6 +83,8 @@ int (*dirtab[])() = {
        d_ccundef,                      // 51 .ccundef
        d_print,                        // 52 .print
        d_cstruct,                      // 53 .cstruct
+       d_jpad,                         // 54 .jpad (deprecated)
+       d_nojpad,                       // 55 .nojpad (deprecated)
 };
 
 
@@ -1557,3 +1559,17 @@ int d_undmac(void)
        return 0;
 }
 
+
+int d_jpad(void)
+{
+       warn("JPAD directive is deprecated/non-functional");
+       return OK;
+}
+
+
+int d_nojpad(void)
+{
+       warn("NOJPAD directive is deprecated/non-functional");
+       return OK;
+}
+