On Monday 12 June 2006 22:27, Martin Guy wrote: > 2006/6/12, Paul Brook <[EMAIL PROTECTED]>: > > > Am I right in thinking that using just bare LDM means that the distro > > > will work on v4 and above, but Thumb interworking will only be usable > > > with ARMv5t and above? > > > > Correct. gcc still needs teaching how to do this, but that's a different > > matter. > > Why, don't I just specify -march=armv4 ? Or does that use mov pc,lr?
It will use mov pc, lr. There are at least three places that need fixing: - Function returns - Indirect calls - Assembly code in libgcc. glibc would also need auditing for problematic assembly code. Paul -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

