0001-ld-or1k.patch 621 B

12345678910111213141516
  1. OpenRISC arch name was in the beginning or32
  2. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
  3. diff -Nur linux-4.4.5.orig/arch/openrisc/kernel/vmlinux.lds.S linux-4.4.5/arch/openrisc/kernel/vmlinux.lds.S
  4. --- linux-4.4.5.orig/arch/openrisc/kernel/vmlinux.lds.S 2016-03-10 00:35:58.000000000 +0100
  5. +++ linux-4.4.5/arch/openrisc/kernel/vmlinux.lds.S 2016-03-16 09:21:07.933535532 +0100
  6. @@ -30,7 +30,7 @@
  7. #include <asm/cache.h>
  8. #include <asm-generic/vmlinux.lds.h>
  9. -OUTPUT_FORMAT("elf32-or32", "elf32-or32", "elf32-or32")
  10. +OUTPUT_FORMAT("elf32-or1k", "elf32-or1k", "elf32-or1k")
  11. jiffies = jiffies_64 + 4;
  12. SECTIONS