This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Relocatable Symbols in Expression.
- From: "Gagneet Singh" <gagneet at acmet dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Thu, 26 Feb 2004 10:10:40 +0530
- Subject: Relocatable Symbols in Expression.
- Organization: Acme Technologies Pvt. Ltd.
- Reply-to: <gagneet at acmet dot com>
Hi!
We are developing a port of the GNU Assembler for a client architecture.
Now the problem being faced is that:
If an immediate operand to an instruction 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?
For example:
j label1 + label2
where label1 and label2 are defined in relocatable sections, they might
be the same sections or different relocatable sections.
Gagneet