diff options
author | Mark Salter <msalter@redhat.com> | 2009-06-17 22:51:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 13:10:33 -0700 |
commit | 5ae8606d5746bc84e19018fc3753cc1faf18843f (patch) | |
tree | b90484b42af54c43d9cce4ff089ae3b994b91e3f /arch/mn10300/include | |
parent | d2829224619866daf336141b71550e223a198838 (diff) | |
download | op-kernel-dev-5ae8606d5746bc84e19018fc3753cc1faf18843f.zip op-kernel-dev-5ae8606d5746bc84e19018fc3753cc1faf18843f.tar.gz |
MN10300: Add support for new ELF relocs in kernel modules
Add support for new relocs which may show up in MN10300 kernel modules due to
linker relaxation.
Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/mn10300/include')
-rw-r--r-- | arch/mn10300/include/asm/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/elf.h b/arch/mn10300/include/asm/elf.h index 4910546..75a70aa 100644 --- a/arch/mn10300/include/asm/elf.h +++ b/arch/mn10300/include/asm/elf.h @@ -28,6 +28,8 @@ #define R_MN10300_PCREL8 6 /* PC-relative 8-bit signed. */ #define R_MN10300_24 9 /* Direct 24 bit. */ #define R_MN10300_RELATIVE 23 /* Adjust by program base. */ +#define R_MN10300_SYM_DIFF 33 /* Adjustment when relaxing. */ +#define R_MN10300_ALIGN 34 /* Alignment requirement. */ /* * ELF register definitions.. |