From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harshad R Joglekar To: binutils@sources.redhat.com Subject: [asm] Difference of symbols in another section Date: Sat, 08 Sep 2001 03:49:00 -0000 Message-id: <3B99F88A.BCF5D689@wipro.com> X-SW-Source: 2001-09/msg00120.html 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