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]

Need help with arm-wince-pe failures


Since I rewrote tc-arm.c we've been getting these failures in the GAS
testsuite for arm-wince-pe:

FAIL: ARM basic instructions (WinCE version)
FAIL: ARM arm7t (WinCE version)
FAIL: ARM architecture 4t instructions
FAIL: immediate expressions
FAIL: OFFSET_IMM regression

These are all off-by-8 in a PC-relative 'ldr' instruction.  There are
several places in tc-arm.c where offsets are adjusted by 8 for WinCE,
or conversely for all targets *but* WinCE.  I understand that the
calculation of some, but not all, PC-relative relocations for WinCE is
off by 8 compared to all other ARM targets.  What I don't know is
which ones, or why (I presume that we are trying to make GAS and GNU
ld do the same thing as the Microsoft toolchain, but that doesn't help
much, as I don't have access to that software).  Can anyone clarify
what should be done?

zw


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