This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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] |
On 23/11/11 14:12, Thomas Klein wrote:At FreeBSD x86 system calling from build directoryHi,
When using 'unified syntax' a MOV rd, rs with two low registers isn't present for all thumb architectures. The result would be unpredictable when running on v4t or v5t architectures.
In case of not using the condition flags a MOVS rd, rs (alias LSLS Rd, Rs, #0) can be used instead.
Is this correct, or is there anything wrong with this idea.
So looking at the entire source for crt0.S, the only use of unified syntax is conditional upon __thumb2__ being defined. If that is defined then the 16-bit MOV lo, lo instruction is available.
What options are you using to build newlib that is causing you to see a problem here?
R.
I got output directories for arm thumb and thumb2 arm-elf-eabi/newlib arm-elf-eabi/thumb/newlib arm-elf-eabi/thumb/thumb2/newlib arm-elf-eabi/interwork/newlib arm-elf-eabi/thumb/interwork/newlib arm-elf-eabi/thumb/thumb2/interwork/newlib
Regards Thomas
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |