* param-no-tm.h: Make BITS_BIG_ENDIAN defined to 0/1, not defined
or not defined. Don't define it based on TARGET_BYTE_ORDER if it's already defined (in the tm.h file). mips-opcode.h (BIT_FIELDS_*), values.c (modify_field, unpack_field_as_long): Use #if BITS_BIG_ENDIAN not #ifdef BITS_BIG_ENDIAN.
This commit is contained in:
parent
5d98a45f63
commit
122ad9abf2
3 changed files with 8 additions and 6 deletions
|
@ -21,7 +21,7 @@ You should have received a copy of the GNU General Public License
|
|||
along with GDB; see the file COPYING. If not, write to
|
||||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#ifdef BITS_BIG_ENDIAN
|
||||
#if BITS_BIG_ENDIAN
|
||||
#define BIT_FIELDS_2(a,b) a;b;
|
||||
#define BIT_FIELDS_4(a,b,c,d) a;b;c;d;
|
||||
#define BIT_FIELDS_6(a,b,c,d,e,f) a;b;c;d;e;f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue