Module Name: src
Committed By: skrll
Date: Sun Jun 5 08:42:25 UTC 2022
Modified Files:
src/tests/usr.bin/ld: t_section.sh
Log Message:
Match explicit section names and not .{text,data}.* for example.
This test now passes on hppa.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 src/tests/usr.bin/ld/t_section.sh:1.5
--- src/tests/usr.bin/ld/t_section.sh:1.4 Tue Feb 17 11:51:04 2015
+++ src/tests/usr.bin/ld/t_section.sh Sun Jun 5 08:42:25 2022
@@ -1,4 +1,4 @@
-# $NetBSD: t_section.sh,v 1.4 2015/02/17 11:51:04 martin Exp $
+# $NetBSD: t_section.sh,v 1.5 2022/06/05 08:42:25 skrll Exp $
#
# Copyright (c) 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -67,7 +67,7 @@ int main(void) { return 0; }
EOF
atf_check -s exit:0 -o ignore -e ignore cc -o test test.c
readelf -S test |
- grep ' \.text\| hoge\| \.data\| fuga\| \.bss' >test.secs
+ grep ' \.text \| hoge \| \.data \| fuga \| \.bss ' >test.secs
{
# Read-only orphan sections are placed after well-known
# read-only sections (.text, .rodata) but before .data.