This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [SH] Cleanup endianness macros


Oleg Endo <oleg.endo@t-online.de> wrote:
> The attached patch adds a new macro TARGET_BIG_ENDIAN.  I think it's a
> bit easier to read than !TARGET_LITTLE_ENDIAN.  Moreover, some not so
> obvious looking uses of TARGET_LITTLE_ENDIAN for selecting MSW and LSW
> register offsets are clarified by using new macros SH_REG_MSW_OFFSET and
> SH_REG_LSW_OFFSET.
> No functional changes.  Tested with make all-gcc.
> OK for trunk?

OK.

Regards,
	kaz


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