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]

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


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

Attachment: pgpb7DW4RddXT.pgp
Description: PGP signature


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