Relocation bug in i386-gnu-as

Bryan Ford baford@schirf.cs.utah.edu
Sun Feb 19 11:04:00 GMT 1995


Given the following input:


	.text

	nop
	nop
	nop
	nop
foo:


	.data

	.long	0xdeadbeef
bar:
	.long	foo
	.long	0xbadf00d


the resulting value of 'bar' is consistently twice what it should be
(8 in this case instead of 4).  It's probably getting relocated twice
for some reason.  I'm using the gas-950208 snapshot.

Sorry if this has already been reported (it seems too obvious to
survive for long undetected).

Thanks!
				Bryan




More information about the Gas2 mailing list