sh.c (MSW, LSW): Move and rename macros to...
authorOleg Endo <olegendo@gcc.gnu.org>
Sun, 27 Oct 2013 22:40:25 +0000 (22:40 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sun, 27 Oct 2013 22:40:25 +0000 (22:40 +0000)
commit277772f62dc62da6c74785f61155aba2b4eaf3a2
tree5f624827e86429c4f5119f5b32fe6a3a5aeeafc5
parent1d9b1f94b0d4372100d404ea467eb97d378b9506
sh.c (MSW, LSW): Move and rename macros to...

* config/sh/sh.c (MSW, LSW): Move and rename macros to...
* config/sh/sh.h (SH_REG_MSW_OFFSET, SH_REG_LSW_OFFSET): ... here.
(TARGET_BIG_ENDIAN): New macro.
* config/sh/sh.md: Use it instead of !TARGET_LITTLE_ENDIAN.
Use SH_REG_MSW_OFFSET and SH_REG_LSW_OFFSET.
* config/sh/sh.c: Likewise.
* config/sh/sh.h: Likewise.

From-SVN: r204110
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.h
gcc/config/sh/sh.md