From: Alan Modra <amodra@bigpond.net.au>
To: Harshad R Joglekar <harshad.joglekar@wipro.com>
Cc: binutils@sources.redhat.com
Subject: Re: [asm] Difference of symbols in another section
Date: Sat, 08 Sep 2001 06:30:00 -0000 [thread overview]
Message-ID: <20010908230027.Z24712@bubble.sa.bigpond.net.au> (raw)
In-Reply-To: <3B99F88A.BCF5D689@wipro.com>
On Sat, Sep 08, 2001 at 04:22:59PM +0530, Harshad R Joglekar wrote:
> 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.
See http://sources.redhat.com/ml/binutils/2001-05/msg00435.html
and the followup.
revision 1.35
date: 2001/05/25 01:59:43; author: amodra; state: Exp; lines: +0 -13
Revert last patch.
----------------------------
revision 1.34
date: 2001/05/25 00:01:30; author: amodra; state: Exp; lines: +13 -0
* expr.c (expr): Set return value to absolute_section for
subtractive operations on symbols within a segment.
* read.c (pseudo_set): Set segment for complex expressions.
Looks like I reverted the ChangeLog too. That was a bit naughty.
> The patch was useful in the following case:
> -----------------------------------------------
> .data
> foo:
> .word 0x00
> bar:
> .text
> start:
> jmp start + (bar - foo)
With the current assembler, you get a branch to start+2. Seems OK to me.
Alan
next prev parent reply other threads:[~2001-09-08 6:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-08 3:49 Harshad R Joglekar
2001-09-08 6:30 ` Alan Modra [this message]
[not found] <200109081344.f88Diif16713@harshad.wipro.com>
2001-09-08 8:02 ` Harshad R Joglekar
2001-09-09 6:56 ` Alan Modra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010908230027.Z24712@bubble.sa.bigpond.net.au \
--to=amodra@bigpond.net.au \
--cc=binutils@sources.redhat.com \
--cc=harshad.joglekar@wipro.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).