* config/tc-mips.c (md_parse_option): Check for a 64 bit format
authorIan Lance Taylor <ian@airs.com>
Sun, 2 Jun 1996 01:55:28 +0000 (01:55 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 2 Jun 1996 01:55:28 +0000 (01:55 +0000)
before permitting -64.
* output-file.c (output_file_create): Remove duplicate
bfd_perror.

gas/ChangeLog
gas/config/tc-mips.c

index 39aa7c3716c7ef865499a5f8416fca3becf0f1ed..1e7dc95b17511eb6d3ca30cf5429ad03e4432b2a 100644 (file)
@@ -1,3 +1,10 @@
+Sat Jun  1 21:51:55 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c (md_parse_option): Check for a 64 bit format
+       before permitting -64.
+       * output-file.c (output_file_create): Remove duplicate
+       bfd_perror.
+
 Fri May 31 01:08:06 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * config/tc-mips.c (md_begin): If -64, create a .MIPS.options
index 8cd996da28f0809780bc2b57166a842c3661c859..b68a09294d92d99e4dc7d6c94b941c124309ad46 100644 (file)
@@ -6260,7 +6260,19 @@ md_parse_option (c, arg)
       break;
 
     case OPTION_64:
-      mips_64 = 1;
+      {
+       const char **list, **l;
+
+       list = bfd_target_list ();
+       for (l = list; *l != NULL; l++)
+         if (strcmp (*l, "elf64-bigmips") == 0
+             || strcmp (*l, "elf64-littlemips") == 0)
+           break;
+       if (*l == NULL)
+         as_fatal ("No compiled in support for 64 bit object file format");
+       free (list);
+       mips_64 = 1;
+      }
       break;
 
     default:
This page took 0.035687 seconds and 4 git commands to generate.