This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ia64 encoding of imm64 relocation forms
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Tue, 01 Feb 2005 10:21:41 +0100
- Subject: ia64 encoding of imm64 relocation forms
Appearantly because the psABI is not explicit about this, there is a
discrepancy in how all the 64-bit immediate relocations are encoded
between gas and ias/icc. The Intel tools encode these against slot 1,
while gas encodes them against slot 2, and ld accepts them against any
slot. While the latter could (if it was implemented correctly) be
considered a forward-compatible measure to allow a future bundle type to
use slots 0 and 1 for an X-type instruction, the obvious consequence of
such an addition would be an unresolvable conflict between Intel and GNU
tools, since I would then expect the latter to encode the relocation
against slot 1 (while the former would do so against slot 0), resulting
in an ambiguity of the relocations encoded against slot 1.
Jan