[PATCH, ARM][Newlib] Update the assembler code to support old ARM architectures.

Corinna Vinschen vinschen@redhat.com
Mon Jun 1 19:45:00 GMT 2015


On Jun  1 18:21, Hale Wang wrote:
> Hi,
> 
> Some instructions like 'uxtb' in the aeabi_memset assembler files are not
> supported for some old ARM architecture levels. If someone need to build the
> newlib for these old ARM cores with the option '--mfloat-abi=softfp' or
> '-mfloat-abi=hard'(no problem if someone build the newlib with the option
> '--mfloat-abi=soft' for these old targets), some message like 'Error:
> selected processor does not support' will be reported.
> 
> This patch is used to update these assembler files to support old
> architectures. If defined '--mfloat-abi=softfp' or '-mfloat-abi=hard', these
> assembler code can work fine for the ARM V4 and later architecture
> processors.
> 
> The patch is also attached.
> 
> Thanks,
> Hale Wang
> 
> newlib/Changelog:
> 
> 2015-04-30  Hale Wang  <...>
> 
> 	* libc/machine/arm/aeabi_memmove-arm.S (__aeabi_memmove): Update the
> 	assembler implementation.
> 	* libc/machine/arm/aeabi_memmove-thumb.S (__aeabi_memmove): Ditto.
> 	* libc/machine/arm/aeabi_memmove-thumb2.S (__aeabi_memmove): Ditto.
> 	* libc/machine/arm/aeabi_memset-arm.S (__aeabi_memset): Ditto.
> 	* libc/machine/arm/aeabi_memset-thumb.S (__aeabi_memset): Ditto.
> 	* libc/machine/arm/aeabi_memset-thumb2.S (__aeabi_memset): Ditto.

Patch applied (with fixed date ;))


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150601/f950866f/attachment.sig>


More information about the Newlib mailing list