This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]