Commit ec865393 authored by Greentime Hu's avatar Greentime Hu

nds32: fix build error because of wrong semicolon

It shall be removed in the define usage. We shall not put a semicolon there.

/kisskb/src/arch/nds32/include/asm/elf.h:126:29: error: expected '}' before ';' token
 #define ELF_DATA ELFDATA2LSB;
                             ^
/kisskb/src/fs/proc/kcore.c:318:17: note: in expansion of macro 'ELF_DATA'
     [EI_DATA] = ELF_DATA,
                 ^~~~~~~~
/kisskb/src/fs/proc/kcore.c:312:15: note: to match this '{'
    .e_ident = {
               ^
/kisskb/src/scripts/Makefile.build:307: recipe for target 'fs/proc/kcore.o' failed
Signed-off-by: default avatarGreentime Hu <greentime@andestech.com>
parent 0cde56e0
...@@ -121,9 +121,9 @@ struct elf32_hdr; ...@@ -121,9 +121,9 @@ struct elf32_hdr;
*/ */
#define ELF_CLASS ELFCLASS32 #define ELF_CLASS ELFCLASS32
#ifdef __NDS32_EB__ #ifdef __NDS32_EB__
#define ELF_DATA ELFDATA2MSB; #define ELF_DATA ELFDATA2MSB
#else #else
#define ELF_DATA ELFDATA2LSB; #define ELF_DATA ELFDATA2LSB
#endif #endif
#define ELF_ARCH EM_NDS32 #define ELF_ARCH EM_NDS32
#define USE_ELF_CORE_DUMP #define USE_ELF_CORE_DUMP
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment