Changeset 9295b0cf in mainline for arch/mips32/include/elf.h


Ignore:
Timestamp:
2006-03-12T19:00:42Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d0cf9de
Parents:
f7ea8fab
Message:

Fixed mips elf loading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips32/include/elf.h

    rf7ea8fab r9295b0cf  
    3131
    3232#define ELF_MACHINE             EM_MIPS
    33 #define ELF_DATA_ENCODING       ELFDATA2MSB
     33
     34#ifdef BIG_ENDIAN
     35#  define ELF_DATA_ENCODING     ELFDATA2MSB
     36#else
     37#  define ELF_DATA_ENCODING     ELFDATA2LSB
     38#endif
     39
    3440#define ELF_CLASS               ELFCLASS32
    3541
Note: See TracChangeset for help on using the changeset viewer.