]> Shamusworld >> Repos - rmac/blobdiff - sect.c
Add new optimisation switches for 56001 mode that were missing. Added warnings to...
[rmac] / sect.c
diff --git a/sect.c b/sect.c
index f24c8c13312193eda4b81c4e9698322118d38099..c00a9d6990bb2635928ec0b54b3ff87bcc95989d 100644 (file)
--- a/sect.c
+++ b/sect.c
@@ -463,7 +463,7 @@ int ResolveFixups(int sno)
 
                        if ((CHECK_OPTS(OPT_PC_RELATIVE)) && (eattr & (DEFINED | REFERENCED | EQUATED)) == (DEFINED | REFERENCED))
                        {
-                               error("relocation not allowed when o10 is enabled");
+                               error("relocation not allowed when o30 is enabled");
                                continue;
                        }
                }
@@ -475,7 +475,7 @@ int ResolveFixups(int sno)
 
                        if ((CHECK_OPTS(OPT_PC_RELATIVE)) && (eattr & (DEFINED | REFERENCED | EQUATED)) == (DEFINED | REFERENCED))
                        {
-                               error("relocation not allowed when o10 is enabled");
+                               error("relocation not allowed when o30 is enabled");
                                continue;
                        }
 
@@ -589,7 +589,7 @@ int ResolveFixups(int sno)
                                        *locp = 0x71;
 
                                        if (optim_warn_flag)
-                                               warn("bra.s with zero offset converted to NOP");
+                                               warn("o6: bra.s with zero offset converted to NOP");
 
                                        continue;
                                }