* 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.
This commit is contained in:
Ian Lance Taylor 1996-06-02 01:55:28 +00:00
parent 903612a2f4
commit 9c44af609b
2 changed files with 20 additions and 1 deletions

View 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

View 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: