This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

minor alpha reloc fix


Fixes

	.data
	.word  .L0 - .L1
.L0:	.byte	0
.L1:

There will be a gcc test that triggers this shortly.


r~


        * config/tc-alpha.c (alpha_force_relocation): Don't assert that
        we've eliminated all foreign relocation types yet.
        (alpha_fix_adjustable): Likewise.

Index: config/tc-alpha.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-alpha.c,v
retrieving revision 1.35
diff -c -p -d -r1.35 tc-alpha.c
*** tc-alpha.c	2001/12/18 00:24:47	1.35
--- tc-alpha.c	2002/02/08 10:01:18
*************** alpha_force_relocation (f)
*** 1399,1406 ****
        return 0;
  
      default:
-       assert ((int) f->fx_r_type < 0
- 	      && -(int) f->fx_r_type < (int) alpha_num_operands);
        return 0;
      }
  }
--- 1399,1404 ----
*************** alpha_fix_adjustable (f)
*** 1448,1455 ****
        return 1;
  
      default:
-       assert ((int) f->fx_r_type < 0
- 	      && - (int) f->fx_r_type < (int) alpha_num_operands);
        return 1;
      }
    /*NOTREACHED*/
--- 1446,1451 ----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]