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: Nick Clifton <nickc at redhat dot com>
- To: Can Finner <can dot finner at gmail dot com>
- Cc: Bin Cheng <bin dot cheng at arm dot com>, newlib at sources dot redhat dot com
- Date: Thu, 29 Sep 2011 12:11:33 +0100
- Subject: Re: [PATCH libgloss/arm] discourge the use of blx when it's not supported
- References: <4e804f68.a3b6ec0a.59c5.ffffeea6SMTPIN_ADDED@mx.google.com> <CANnWgkBezUOOdbzfKSo6h2CWEKnj+O5PYW0-6VAS1kZd6rkUXw@mail.gmail.com>
Hi Bin, Hi Carl,
Sorry for the delay in reviewing this patch - I was on vacation.
Anyway I have looked over the patch, and it is fine. I have checked
it in, along with a slightly expanded changelog entry:
Cheers
Nick
libgloss/ChangeLog
2011-09-29 Bin Cheng <bin.cheng@arm.com>
* arm/arm.h (HAVE_CALL_INDIRECT): Define.
* arm/crt0.S (indirect_call): New macro. Encodes indirect
function calls. Does not use blx for pre-armv5 targets.