MIPS/gas bug

Richard Sandiford rsandifo@redhat.com
Fri Nov 7 08:26:00 GMT 2003


David Daney <ddaney@avtrex.com> writes:
> 	lw	$5,%got(_ZTIP1B)($28)
> 	lw	$25,%call16(_Z6expectiRKSt9type_info)($28)
> 	jalr	$25
> 	nop
[...]
> 	.section	.data.rel.ro,"aw",@progbits
> 	.align	2
> 	.type	_ZTIP1B, @object
> 	.size	_ZTIP1B, 16
> _ZTIP1B:

Well, there's certainly a gcc bug here.  _ZTIP1B is local so
it should be using %got/%lo pair.

Richard



More information about the Binutils mailing list