* config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
authorThiemo Seufer <ths@networkno.de>
Thu, 15 Nov 2001 09:50:00 +0000 (09:50 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 15 Nov 2001 09:50:00 +0000 (09:50 +0000)
gas/ChangeLog
gas/config/tc-mips.c

index 4a2ed82630045b005bcb6b94039cfcb33eaaec4f..2eaa5fd91e13fdf2fb9b996c253f7ca500ccdd47 100644 (file)
@@ -1,3 +1,7 @@
+2001-11-15  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * config/tc-mips.c (mips_ip): Re-allow %hi() op for non-ELF assembler.
+
 2001-11-15  Alan Modra  <amodra@bigpond.net.au>
 
        * frags.c (frag_grow): Revert last change.
index 7f20c65bd1b7272298084774c0db88de34144f86..2e4a89034d07b814fe39ef4b2ce61d67166b22fd 100644 (file)
@@ -8374,14 +8374,14 @@ mips_ip (str, ip)
                      if (imm_expr.X_op == O_constant)
                        imm_expr.X_add_number =
                          (imm_expr.X_add_number >> 16) & 0xffff;
-#ifdef OBJ_ELF
-                     else if (c == S_EX_HIGHEST)
-                         *imm_reloc = BFD_RELOC_MIPS_HIGHEST;
                      else if (c == S_EX_HI)
                        {
                          *imm_reloc = BFD_RELOC_HI16_S;
                          imm_unmatched_hi = true;
                        }
+#ifdef OBJ_ELF
+                     else if (c == S_EX_HIGHEST)
+                         *imm_reloc = BFD_RELOC_MIPS_HIGHEST;
                      else if (c == S_EX_GP_REL)
                        {
                          /* This occurs in NewABI only.  */