Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 360195
b: refs/heads/master
c: 1713905
h: refs/heads/master
i:
  360193: 17d2e68
  360191: efb9466
v: v3
  • Loading branch information
Vineet Gupta committed Feb 27, 2013
1 parent 07f75d1 commit c130c52
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5dc99e50d2d66f8ddeb4e20af1908ad99db0cb98
refs/heads/master: 17139053eb96bc09a6d6248aae17c9316f5bcd86
2 changes: 1 addition & 1 deletion trunk/arch/arc/include/asm/elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/* Machine specific ELF Hdr flags */
#define EF_ARC_OSABI_MSK 0x00000f00
#define EF_ARC_OSABI_ORIG 0x00000000 /* MUST be zero for back-compat */
#define EF_ARC_OSABI_V2 0x00000200
#define EF_ARC_OSABI_CURRENT 0x00000300 /* v3 (no legacy syscalls) */

/* ARC Relocations (kernel Modules only) */
#define R_ARC_32 0x4
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ int elf_check_arch(const struct elf32_hdr *x)
return 0;

eflags = x->e_flags;
if ((eflags & EF_ARC_OSABI_MSK) < EF_ARC_OSABI_V2) {
if ((eflags & EF_ARC_OSABI_MSK) < EF_ARC_OSABI_CURRENT) {
pr_err("ABI mismatch - you need newer toolchain\n");
force_sigsegv(SIGSEGV, current);
return 0;
Expand Down

0 comments on commit c130c52

Please sign in to comment.