This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: [PATCH libgloss/arm] discourge the use of blx when it's not supported
- From: "Bin Cheng" <bin dot cheng at arm dot com>
- To: <newlib at sources dot redhat dot com>
- Cc: <nickc at redhat dot com>
- Date: Mon, 26 Sep 2011 18:09:08 +0800
- Subject: RE: [PATCH libgloss/arm] discourge the use of blx when it's not supported
- References: <003701cc7773$d2b148c0$7813da40$@cheng@arm.com>
Hi,
Ping...
Thanks
> -----Original Message-----
> From: newlib-owner@sourceware.org [mailto:newlib-owner@sourceware.org] On
> Behalf Of Bin Cheng
> Sent: Tuesday, September 20, 2011 5:01 PM
> To: newlib@sources.redhat.com
> Cc: nickc@redhat.com
> Subject: [PATCH libgloss/arm] discourge the use of blx when it's not
supported
>
> Hi,
> In libgloss/arm/crt0.S, the blx is used when (__thumb__ ) || (__thumb2__)
> defined, unfortunately it breaks compilation of libgloss for targets which
do
> not support it, like armv4t.
> Moreover this patch clears the use of blx on all arm targets.
>
> Is it OK?
>
> Thanks-chengbin
>
> 2011-09-20 Bin Cheng <bin.cheng@arm.com>
>
> libgloss/
> * arm/crt0.S: Don't use blx for pre-armv5 targets.