From dfdb00a60af679c21605813a523d2817a2c81d91 Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 17 Feb 2015 11:51:04 +0000 Subject: [PATCH] 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. --- tests/usr.bin/ld/t_section.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/usr.bin/ld/t_section.sh b/tests/usr.bin/ld/t_section.sh index 6af31428a062..03c12e4158c1 100644 --- a/tests/usr.bin/ld/t_section.sh +++ b/tests/usr.bin/ld/t_section.sh @@ -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 */