public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* Relocation bug in i386-gnu-as
@ 1995-02-19 11:04 Bryan Ford
  1995-02-19 19:25 ` Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Bryan Ford @ 1995-02-19 11:04 UTC (permalink / raw)
  To: gas2

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Relocation bug in i386-gnu-as
  1995-02-19 11:04 Relocation bug in i386-gnu-as Bryan Ford
@ 1995-02-19 19:25 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 1995-02-19 19:25 UTC (permalink / raw)
  To: baford; +Cc: gas2

   Date: Sun, 19 Feb 1995 12:06:13 -0700
   From: baford@schirf.cs.utah.edu (Bryan Ford)

   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.

I believe this was fixed on 15 Feb.

Ian


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-02-19 19:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1995-02-19 11:04 Relocation bug in i386-gnu-as Bryan Ford
1995-02-19 19:25 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).