This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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 2012/4/24 07:19 PM, Andreas Jaeger wrote: > I suggest to solve this differently for sh. > Currently you do: > #if __BYTE_ORDER == __BIG_ENDIAN > > Looking at sysdeps/sh/bits/endian.h, can't you use instead: > #ifndef __LITTLE_ENDIAN__ > > Andreas Agreed. Here's the corresponding fixes for SH, CCing Thomas. Thanks, Chung-Lin 2012-04-24 Chung-Lin Tang <cltang@codesourcery.com> * sysdeps/sh/memcpy.S: Remove include of endian.h, change preprocessor endian tests to '#ifdef __BIG_ENDIAN__'. * sysdeps/sh/strlen.S: Likewise.
Attachment:
sh-endian.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |