Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Oct 2017 22:50:15 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r324878 - head/sys/boot/arm/at91/boot2
Message-ID:  <201710222250.v9MMoFKM001666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
+{
+}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710222250.v9MMoFKM001666>