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] |
On 27/05/13 07:59, Sebastian Huber wrote:
On 05/27/2013 04:18 AM, Bin.Cheng wrote: [...]Though I have no right to approve the patch, I would like to have below comment. UAL is generally preferred, thus you may handle armv6-m specially by keeping UAL for it. For example, #if (defined(__thumb__) && defined(__ARM_ARCH_6M__)) //... #endifWhich problem does this additional pre-processor complexity solve? The generated machine code is the same.
I don't think either patch is correct. Instead we should explicitly mark the attributes in this case, probably as follows, but I've only smoke tested this.
Sebastian, does this fix your problem? R.
Attachment:
strcmp-attr.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |