public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Relocatable Symbols in Expression
       [not found] <1077731724.12352.ezmlm@gcc.gnu.org>
@ 2004-02-26 12:40 ` Gagneet Singh
  2004-02-27  7:52   ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Gagneet Singh @ 2004-02-26 12:40 UTC (permalink / raw)
  To: gcc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Relocatable Symbols in Expression
  2004-02-26 12:40 ` Relocatable Symbols in Expression Gagneet Singh
@ 2004-02-27  7:52   ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 2004-02-27  7:52 UTC (permalink / raw)
  To: gcc

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

FYI this question was also asked on the binutils@sources.redhat.com 
mailing list, and it was answered there.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-27  7:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1077731724.12352.ezmlm@gcc.gnu.org>
2004-02-26 12:40 ` Relocatable Symbols in Expression Gagneet Singh
2004-02-27  7:52   ` Jim Wilson

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).