svn commit: r324878 - head/sys/boot/arm/at91/boot2

Warner Losh imp at FreeBSD.org
Sun Oct 22 22:50:16 UTC 2017


Author: imp
Date: Sun Oct 22 22:50:15 2017
New Revision: 324878
URL: https://svnweb.freebsd.org/changeset/base/324878

Log:
  Make at91 boot loader compile again.
  
  No clue if it actually still works, but it might.

Modified:
  head/sys/boot/arm/at91/boot2/boot2.c

Modified: head/sys/boot/arm/at91/boot2/boot2.c
==============================================================================
--- head/sys/boot/arm/at91/boot2/boot2.c	Sun Oct 22 22:50:08 2017	(r324877)
+++ head/sys/boot/arm/at91/boot2/boot2.c	Sun Oct 22 22:50:15 2017	(r324878)
@@ -54,7 +54,7 @@ unsigned board_id; /* board type to pass to kernel, if
 unsigned dsk_start;
 static char cmd[512];
 static char kname[1024];
-static uint32_t opts;
+uint32_t opts;
 static uint8_t dsk_meta;
 
 int main(void);
@@ -359,3 +359,10 @@ fixup_boot_drv(caddr_t addr, int klen, int bs, int bp)
 	DPRINTF("Changed boot device to %s\n", ps);
 }
 #endif
+
+/* Arm EABIs */
+void __aeabi_unwind_cpp_pr0(void);
+void
+__aeabi_unwind_cpp_pr0(void)
+{
+}


More information about the svn-src-all mailing list