summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include
diff options
context:
space:
mode:
authorMark Salter <msalter@redhat.com>2009-06-17 22:51:11 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-18 13:10:33 -0700
commit5ae8606d5746bc84e19018fc3753cc1faf18843f (patch)
treeb90484b42af54c43d9cce4ff089ae3b994b91e3f /arch/mn10300/include
parentd2829224619866daf336141b71550e223a198838 (diff)
downloadlinux-5ae8606d5746bc84e19018fc3753cc1faf18843f.tar.gz
linux-5ae8606d5746bc84e19018fc3753cc1faf18843f.tar.bz2
linux-5ae8606d5746bc84e19018fc3753cc1faf18843f.zip
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mn10300/include/asm/elf.h b/arch/mn10300/include/asm/elf.h
index 49105462e6fc..75a70aa9fd6f 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..