aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/alloc.t
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-07-27 18:03:49 +0930
committerAlan Modra <amodra@gmail.com>2023-07-27 23:38:14 +0930
commit2902e6682d63183d373f385d4efaf8597fd22544 (patch)
tree040aceac580c1c1f50ed736e6aad0dadbe401158 /ld/testsuite/ld-i386/alloc.t
parentf1036ada3bca6f88340a0a1fbd8b103a3e0cdc2d (diff)
downloadbinutils-2902e6682d63183d373f385d4efaf8597fd22544.zip
binutils-2902e6682d63183d373f385d4efaf8597fd22544.tar.gz
binutils-2902e6682d63183d373f385d4efaf8597fd22544.tar.bz2
/DISCARD/ in ld testsuite
The canonical form to discard all sections not mentioned earlier in the script is /DISCARD/ : { *(*) } not /DISCARD/ : { *(.*) } ".*" happens to work with the usual section names starting with a dot, but let's not promote something not quite right.
Diffstat (limited to 'ld/testsuite/ld-i386/alloc.t')
-rw-r--r--ld/testsuite/ld-i386/alloc.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-i386/alloc.t b/ld/testsuite/ld-i386/alloc.t
index f7dd17a..1bbb9a6 100644
--- a/ld/testsuite/ld-i386/alloc.t
+++ b/ld/testsuite/ld-i386/alloc.t
@@ -8,5 +8,5 @@ SECTIONS
.bar : AT(ADDR(.bar) - 0xC0000000) { *(.bar) } :text
.bss : AT(ADDR(.bss) - 0xC0000000) { *(.bss) }
.foo 0 : AT(ADDR(.bss) + SIZEOF(.bss) - 0xC0000000) { *(.foo) } :text
- /DISCARD/ : { *(.*) }
+ /DISCARD/ : { *(*) }
}