Binutils Bug on i960 file format
CARERI/SED
careri@public.sta.net.cn
Mon May 22 04:38:00 GMT 2000
Changelog entry
*cpu-i960.c(scan_960_mach) :add some code to recongnize the i960 machine architecture describing as "80960KB".
Su wenming
-------------- next part --------------
37,41d36
< int i;
<
<
< for( i = 0; i < strlen(string); i ++ )
< string[i] = tolower( string[i] );
44c39
< /*in some bfd the cpu-id is written as "80960KB"*/
---
>
47,53d41
< if ( (string[0]) && (string[0] != ':') ) { /*if i960*(but :) it is wrong.*/
< return false;
< }
< string++;
< }
< else if (strncmp("80960",string,5) == 0){
< string+=5;
59d46
<
65a53,56
> if (string[0] != ':') {
> return false;
> }
> string++;
More information about the Binutils
mailing list