Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/netwinder/conf Redo previous; explicitly adjust .da...
details: https://anonhg.NetBSD.org/src/rev/df8b9e799b83
branches: trunk
changeset: 340053:df8b9e799b83
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Fri Aug 21 06:37:09 2015 +0000
description:
Redo previous; explicitly adjust .data load addr to get the identical ELF.
diffstat:
sys/arch/netwinder/conf/kern.ldscript | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 63d59368ab5f -r df8b9e799b83 sys/arch/netwinder/conf/kern.ldscript
--- a/sys/arch/netwinder/conf/kern.ldscript Fri Aug 21 04:27:54 2015 +0000
+++ b/sys/arch/netwinder/conf/kern.ldscript Fri Aug 21 06:37:09 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern.ldscript,v 1.7 2015/08/21 04:13:23 uebayasi Exp $ */
+/* $NetBSD: kern.ldscript,v 1.8 2015/08/21 06:37:09 uebayasi Exp $ */
OUTPUT_FORMAT("elf32-littlearm", "elf32-bigarm",
"elf32-littlearm")
@@ -88,4 +88,10 @@
{
*(.text)
} =0
+
+ .data :
+ AT (LOADADDR(.text) + (ADDR(.data) - ADDR(.text)))
+ {
+ *(.data)
+ }
}
Home |
Main Index |
Thread Index |
Old Index