|
@@ -30,7 +30,13 @@
|
|
|
#include <asm/cache.h>
|
|
#include <asm/cache.h>
|
|
|
#include <asm-generic/vmlinux.lds.h>
|
|
#include <asm-generic/vmlinux.lds.h>
|
|
|
|
|
|
|
|
-OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32")
|
|
|
|
|
|
|
+#ifdef __OR1K__
|
|
|
|
|
+#define __OUTPUT_FORMAT "elf32-or1k"
|
|
|
|
|
+#else
|
|
|
|
|
+#define __OUTPUT_FORMAT "elf32-or32"
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
+OUTPUT_FORMAT(__OUTPUT_FORMAT, __OUTPUT_FORMAT, __OUTPUT_FORMAT)
|
|
|
jiffies = jiffies_64 + 4;
|
|
jiffies = jiffies_64 + 4;
|
|
|
|
|
|
|
|
SECTIONS
|
|
SECTIONS
|