public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Gagneet Singh" <gagneet@acmet.com>
To: <gcc@gcc.gnu.org>
Subject: Relocatable Symbols in Expression
Date: Thu, 26 Feb 2004 12:40:00 -0000	[thread overview]
Message-ID: <007a01c3fc23$0a1e2af0$9900a8c0@GAGNEET> (raw)
In-Reply-To: <1077731724.12352.ezmlm@gcc.gnu.org>

Hi!

We are developing a port of the GNU Compiler + Assembler for a client
architecture. 
Now the problem being faced is that:

If an immediate operand to an instruction of the assembly language, is
an expression involving more than one relocatable symbols, how is it
handled in output file in elf format. 

What will be the relocation information produced in such a case?

Taking the simple example of a Jump instruction, referenced as 'j':

j label1 + label2

where label1 and label2 are defined in relocatable sections, they might
be the same sections or different relocatable sections.


Gagneet

       reply	other threads:[~2004-02-26  4:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1077731724.12352.ezmlm@gcc.gnu.org>
2004-02-26 12:40 ` Gagneet Singh [this message]
2004-02-27  7:52   ` Jim Wilson

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='007a01c3fc23$0a1e2af0$9900a8c0@GAGNEET' \
    --to=gagneet@acmet.com \
    --cc=gcc@gcc.gnu.org \
    /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).