[PATCH libgloss/arm] discourge the use of blx when it's not supported
Thu Sep 29 11:26:00 GMT 2011
On Mon, Sep 26, 2011 at 6:09 PM, Bin Cheng <firstname.lastname@example.org> wrote:
>> -----Original Message-----
>> From: email@example.com [mailto:firstname.lastname@example.org] On
>> Behalf Of Bin Cheng
>> Sent: Tuesday, September 20, 2011 5:01 PM
>> To: email@example.com
>> Cc: firstname.lastname@example.org
>> Subject: [PATCH libgloss/arm] discourge the use of blx when it's not
>> In libgloss/arm/crt0.S, the blx is used when (__thumb__ ) || (__thumb2__)
>> defined, unfortunately it breaks compilation of libgloss for targets which
>> not support it, like armv4t.
>> Moreover this patch clears the use of blx on all arm targets.
>> Is it OK?
>> 2011-09-20 Bin Cheng <email@example.com>
>> * arm/crt0.S: Don't use blx for pre-armv5 targets.
Could you help review this patch? It fixes the compilation failure for
armv4t version lib.
Thanks very much.
More information about the Newlib