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.
This commit is contained in:
martin 2015-02-17 11:51:04 +00:00
parent a3fb1dc4ea
commit dfdb00a60a
1 changed files with 2 additions and 2 deletions

View File

@ -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. # Copyright (c) 2014 The NetBSD Foundation, Inc.
# All rights reserved. # All rights reserved.
@ -59,7 +59,7 @@ const char a[] __section("hoge") = "hoge";
/* read-write orphan */ /* read-write orphan */
char b[] __section("fuga") = { 'f', 'u', 'g', 'a', '\0' }; char b[] __section("fuga") = { 'f', 'u', 'g', 'a', '\0' };
/* .data */ /* .data */
int c = 123; int c[1024] = { 123, 20, 1, 0 };
/* .bss */ /* .bss */
int d = 0; int d = 0;
/* .text */ /* .text */