Module Name:    src
Committed By:   martin
Date:           Tue Feb 17 11:51:04 UTC 2015

Modified Files:
        src/tests/usr.bin/ld: t_section.sh

Log Message:
Make the dummy data that we expect to go into .data section bigger,
otherwise on e.g. alpha it goes into the "small objects data" .sdata
section, which confuses the matching done in this test.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/usr.bin/ld/t_section.sh

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

Modified files:

Index: src/tests/usr.bin/ld/t_section.sh
diff -u src/tests/usr.bin/ld/t_section.sh:1.3 src/tests/usr.bin/ld/t_section.sh:1.4
--- src/tests/usr.bin/ld/t_section.sh:1.3	Sat Nov 15 03:22:29 2014
+++ src/tests/usr.bin/ld/t_section.sh	Tue Feb 17 11:51:04 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: t_section.sh,v 1.3 2014/11/15 03:22:29 uebayasi Exp $
+#	$NetBSD: t_section.sh,v 1.4 2015/02/17 11:51:04 martin Exp $
 #
 # Copyright (c) 2014 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -59,7 +59,7 @@ const char a[] __section("hoge") = "hoge
 /* read-write orphan */
 char b[] __section("fuga") = { 'f', 'u', 'g', 'a', '\0' };
 /* .data */
-int c = 123;
+int c[1024] = { 123, 20, 1, 0 };
 /* .bss */
 int d = 0;
 /* .text */

Reply via email to