This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


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

Relocation bug in i386-gnu-as


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