aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/startof.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/startof.s')
-rw-r--r--ld/testsuite/ld-elf/startof.s4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/startof.s b/ld/testsuite/ld-elf/startof.s
index 982f347..a1bb465 100644
--- a/ld/testsuite/ld-elf/startof.s
+++ b/ld/testsuite/ld-elf/startof.s
@@ -7,5 +7,9 @@
.type bar, %object
.size bar, 8
bar:
+ .ifdef UNDERSCORE
+ .dc.a ___start_scnfoo
+ .else
.dc.a __start_scnfoo
+ .endif
.dc.a .startof. (scnfoo)