Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/ld Make the dummy data that we expect to go in...



details:   https://anonhg.NetBSD.org/src/rev/8de826a77a43
branches:  trunk
changeset: 336204:8de826a77a43
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Feb 17 11:51:04 2015 +0000

description:
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.

diffstat:

 tests/usr.bin/ld/t_section.sh |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e0add5502b28 -r 8de826a77a43 tests/usr.bin/ld/t_section.sh
--- a/tests/usr.bin/ld/t_section.sh     Tue Feb 17 11:25:43 2015 +0000
+++ b/tests/usr.bin/ld/t_section.sh     Tue Feb 17 11:51:04 2015 +0000
@@ -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 @@
 /* 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 */



Home | Main Index | Thread Index | Old Index