This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

[asm] Difference of symbols in another section


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

----------------------------------------------------------------------------------------------------------------------
Information transmitted by this E-MAIL is proprietary to Wipro and/or its Customers and
is intended for use only by the individual or entity to which it is
addressed, and may contain information that is privileged, confidential or
exempt from disclosure under applicable law. If you are not the intended
recipient or it appears that this mail has been forwarded to you without
proper authority, you are notified that any use or dissemination of this
information in any manner is strictly prohibited. In such cases, please
notify us immediately at mailto:mailadmin@wipro.com and delete this mail
from your records.
----------------------------------------------------------------------------------------------------------------------


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