This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
dubious use of O_subtract in gas/config/tc-ia64.c
- From: "Jan Beulich" <JBeulich at novell dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Tue, 01 Feb 2005 15:46:12 +0100
- Subject: dubious use of O_subtract in gas/config/tc-ia64.c
Could anyone shed some light on the relevance of the two instances of
checks for O_subtract within operand_match(), cases IA64_OPND_IMMU64,
IA64_OPND_IMM14, and IA64_OPND_IMM22? I would suppose that because it is
explicitly getting special-cased there must be something I'm not seeing,
but to me it just seems to break things like
.global esym
.text
start:
mov r1 = esym-.
movl r1 = esym-.
which currently yields IMM22/IMM64 relocations (with strange addends)
instead of PCREL22/PCREL64I or at least a diagnostic.
Thanks, Jan