mirror of
https://github.com/sheumann/hush.git
synced 2025-01-14 12:30:40 +00:00
merge blackfin/microblaze from uClinux-dist
This commit is contained in:
parent
8e640a1043
commit
b306cb767f
@ -117,6 +117,14 @@ extern int insmod_ng_main( int argc, char **argv);
|
|||||||
#define CONFIG_USE_SINGLE
|
#define CONFIG_USE_SINGLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* blackfin */
|
||||||
|
#if defined(BFIN)
|
||||||
|
#define MATCH_MACHINE(x) (x == EM_BLACKFIN)
|
||||||
|
#define SHT_RELM SHT_RELA
|
||||||
|
#define Elf32_RelM Elf32_Rela
|
||||||
|
#define ELFCLASSM ELFCLASS32
|
||||||
|
#endif
|
||||||
|
|
||||||
/* CRIS */
|
/* CRIS */
|
||||||
#if defined(__cris__)
|
#if defined(__cris__)
|
||||||
#define MATCH_MACHINE(x) (x == EM_CRIS)
|
#define MATCH_MACHINE(x) (x == EM_CRIS)
|
||||||
@ -187,6 +195,15 @@ extern int insmod_ng_main( int argc, char **argv);
|
|||||||
#define CONFIG_USE_SINGLE
|
#define CONFIG_USE_SINGLE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Microblaze */
|
||||||
|
#if defined(__microblaze__)
|
||||||
|
#define CONFIG_USE_SINGLE
|
||||||
|
#define MATCH_MACHINE(x) (x == EM_XILINX_MICROBLAZE)
|
||||||
|
#define SHT_RELM SHT_RELA
|
||||||
|
#define Elf32_RelM Elf32_Rela
|
||||||
|
#define ELFCLASSM ELFCLASS32
|
||||||
|
#endif
|
||||||
|
|
||||||
/* MIPS */
|
/* MIPS */
|
||||||
#if defined(__mips__)
|
#if defined(__mips__)
|
||||||
#define MATCH_MACHINE(x) (x == EM_MIPS || x == EM_MIPS_RS3_LE)
|
#define MATCH_MACHINE(x) (x == EM_MIPS || x == EM_MIPS_RS3_LE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user