Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbppc/explora Binutils 2.23.2 doesn't do the right...
details: https://anonhg.NetBSD.org/src/rev/708ec352f55f
branches: trunk
changeset: 790343:708ec352f55f
user: matt <matt%NetBSD.org@localhost>
date: Thu Oct 03 22:28:38 2013 +0000
description:
Binutils 2.23.2 doesn't do the right thing HI16/LO16 reloc using .
So do it manually to appease gas.
diffstat:
sys/arch/evbppc/explora/explora_start.S | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 43a1da5fcf6a -r 708ec352f55f sys/arch/evbppc/explora/explora_start.S
--- a/sys/arch/evbppc/explora/explora_start.S Thu Oct 03 22:01:04 2013 +0000
+++ b/sys/arch/evbppc/explora/explora_start.S Thu Oct 03 22:28:38 2013 +0000
@@ -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 @@
/* 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
Home |
Main Index |
Thread Index |
Old Index