This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Need help with arm-wince-pe failures
- From: Zack Weinberg <zack at codesourcery dot com>
- To: binutils <binutils at sourceware dot org>, Nick Clifton <nickc at redhat dot com>
- Date: Mon, 27 Jun 2005 18:07:31 -0700
- Subject: 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