public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* [asm] Difference of symbols in another section
@ 2001-09-08  3:49 Harshad R Joglekar
  2001-09-08  6:30 ` Alan Modra
  0 siblings, 1 reply; 4+ messages in thread
From: Harshad R Joglekar @ 2001-09-08  3:49 UTC (permalink / raw)
  To: binutils

Hi Alan,

You had submitted the below patch for assembler (expr.c),
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/expr.c.diff?r1=1.33&r2=1.34&cvsroot=src&f=h

and then you reverted it in the next revision !! I couldn't find any
message descrbing either of the changes.

The patch was useful in the following case:
-----------------------------------------------
.data
foo:
    .word 0x00
bar:
.text
start:
    jmp start + (bar - foo)
---------------------------------------------

The i386 and ARM assemblers parse this with default options,
but complain when listings are enabled.

The patch you had submitted corrected the problem, and I did not find
any side-effects, although I have not tested it thoroughly.

If there are no issues, can you reapply that patch?

regards,
Harshad

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

end of thread, other threads:[~2001-09-09  6:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200109081344.f88Diif16713@harshad.wipro.com>
2001-09-08  8:02 ` [asm] Difference of symbols in another section Harshad R Joglekar
2001-09-09  6:56   ` Alan Modra
2001-09-08  3:49 Harshad R Joglekar
2001-09-08  6:30 ` Alan Modra

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).