Go to the documentation of this file.
7 #include <linux/module.h>
8 #include <linux/sched.h>
9 #include <linux/flat.h>
11 #define FLAT_BFIN_RELOC_TYPE_16_BIT 0
12 #define FLAT_BFIN_RELOC_TYPE_16H_BIT 1
13 #define FLAT_BFIN_RELOC_TYPE_32_BIT 2
18 unsigned long *persistent)
20 unsigned short *usptr = (
unsigned short *)ptr;
21 int type = (relval >> 26) & 7;
27 usptr = (
unsigned short *)ptr;
39 pr_debug(
"BINFMT_FLAT: Unknown relocation type %x\n", type);
48 if (relval & (1 << 29))
49 return val +
current->mm->context.end_brk;
64 unsigned short *usptr = (
unsigned short *)ptr;
65 int type = (relval >> 26) & 7;