[asm] Difference of symbols in another section
Harshad R Joglekar
harshad.joglekar@wipro.com
Sat Sep 8 03:49:00 GMT 2001
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
More information about the Binutils
mailing list