R_MIPS_26 testcase

Mark Mitchell mark@codesourcery.com
Wed Aug 4 13:46:00 GMT 1999


I think I already fixed this.  I get:

  Disassembly of section .text:

  0000000000000000 <bar-0x18000>:
	  ...

  0000000000018000 <bar>:
     18000:	3c020002 	lui	$v0,0x2
			  18000: R_MIPS_HI16	.text
     18004:	24428000 	addiu	$v0,$v0,-32768
			  18004: R_MIPS_LO16	.text
	  ...

which looks like the right thing to me: 0x20000 - 0x8000 = 0x18000
unless I'm really losing it.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


More information about the Binutils mailing list