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]

[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.

Attachment: clear_the_usage_of_blx-20110920.patch
Description: Binary data


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