diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 19:20:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-10 19:20:00 -0400 |
commit | 573c577af079184ca523984e3279644eb37756a3 (patch) | |
tree | 7e9da3f937733592032ca6ef6ff95773ab991010 | |
parent | 0cdf5a464070c8a2980a27113c47fb8e71babb9c (diff) | |
parent | b14132797d8041a42e03f4ffa1e722da1425adfb (diff) |
Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze
Pull microblaze update from Michal Simek.
* 'next' of git://git.monstr.eu/linux-2.6-microblaze:
elf-em.h: move EM_MICROBLAZE to the common header
-rw-r--r-- | arch/microblaze/include/uapi/asm/elf.h | 3 | ||||
-rw-r--r-- | include/uapi/linux/elf-em.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/arch/microblaze/include/uapi/asm/elf.h b/arch/microblaze/include/uapi/asm/elf.h index be1731d5e2fa..e9bcdb6e0086 100644 --- a/arch/microblaze/include/uapi/asm/elf.h +++ b/arch/microblaze/include/uapi/asm/elf.h | |||
@@ -11,12 +11,13 @@ | |||
11 | #ifndef _UAPI_ASM_MICROBLAZE_ELF_H | 11 | #ifndef _UAPI_ASM_MICROBLAZE_ELF_H |
12 | #define _UAPI_ASM_MICROBLAZE_ELF_H | 12 | #define _UAPI_ASM_MICROBLAZE_ELF_H |
13 | 13 | ||
14 | #include <linux/elf-em.h> | ||
15 | |||
14 | /* | 16 | /* |
15 | * Note there is no "official" ELF designation for Microblaze. | 17 | * Note there is no "official" ELF designation for Microblaze. |
16 | * I've snaffled the value from the microblaze binutils source code | 18 | * I've snaffled the value from the microblaze binutils source code |
17 | * /binutils/microblaze/include/elf/microblaze.h | 19 | * /binutils/microblaze/include/elf/microblaze.h |
18 | */ | 20 | */ |
19 | #define EM_MICROBLAZE 189 | ||
20 | #define EM_MICROBLAZE_OLD 0xbaab | 21 | #define EM_MICROBLAZE_OLD 0xbaab |
21 | #define ELF_ARCH EM_MICROBLAZE | 22 | #define ELF_ARCH EM_MICROBLAZE |
22 | 23 | ||
diff --git a/include/uapi/linux/elf-em.h b/include/uapi/linux/elf-em.h index 3429a3ba382b..b56dfcfe922a 100644 --- a/include/uapi/linux/elf-em.h +++ b/include/uapi/linux/elf-em.h | |||
@@ -39,6 +39,7 @@ | |||
39 | #define EM_TI_C6000 140 /* TI C6X DSPs */ | 39 | #define EM_TI_C6000 140 /* TI C6X DSPs */ |
40 | #define EM_AARCH64 183 /* ARM 64 bit */ | 40 | #define EM_AARCH64 183 /* ARM 64 bit */ |
41 | #define EM_TILEPRO 188 /* Tilera TILEPro */ | 41 | #define EM_TILEPRO 188 /* Tilera TILEPro */ |
42 | #define EM_MICROBLAZE 189 /* Xilinx MicroBlaze */ | ||
42 | #define EM_TILEGX 191 /* Tilera TILE-Gx */ | 43 | #define EM_TILEGX 191 /* Tilera TILE-Gx */ |
43 | #define EM_FRV 0x5441 /* Fujitsu FR-V */ | 44 | #define EM_FRV 0x5441 /* Fujitsu FR-V */ |
44 | #define EM_AVR32 0x18ad /* Atmel AVR32 */ | 45 | #define EM_AVR32 0x18ad /* Atmel AVR32 */ |