Module Name:    src
Committed By:   matt
Date:           Thu Oct  3 22:28:38 UTC 2013

Modified Files:
        src/sys/arch/evbppc/explora: explora_start.S

Log Message:
Binutils 2.23.2 doesn't do the right thing HI16/LO16 reloc using .
So do it manually to appease gas.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/evbppc/explora/explora_start.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/evbppc/explora/explora_start.S
diff -u src/sys/arch/evbppc/explora/explora_start.S:1.10 src/sys/arch/evbppc/explora/explora_start.S:1.11
--- src/sys/arch/evbppc/explora/explora_start.S:1.10	Mon Jun 20 19:56:11 2011
+++ src/sys/arch/evbppc/explora/explora_start.S	Thu Oct  3 22:28:38 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: explora_start.S,v 1.10 2011/06/20 19:56:11 matt Exp $	*/
+/*	$NetBSD: explora_start.S,v 1.11 2013/10/03 22:28:38 matt Exp $	*/
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -126,8 +126,13 @@ _next:
 
 /* Jump into the staging area so we can remap the dram. */
 
+#if 0
 	lis	0,stage1reloc@h
 	ori	0,0,stage1reloc@l
+#else
+	lis	0,((stage1reloc >> 16) & 0xffff)
+	ori	0,0,(stage1reloc & 0xffff)
+#endif
 	mtlr	0
 	blr
 

Reply via email to