aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/symbols-ordinals-hints-exports.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-pe/symbols-ordinals-hints-exports.s')
-rw-r--r--ld/testsuite/ld-pe/symbols-ordinals-hints-exports.s25
1 files changed, 19 insertions, 6 deletions
diff --git a/ld/testsuite/ld-pe/symbols-ordinals-hints-exports.s b/ld/testsuite/ld-pe/symbols-ordinals-hints-exports.s
index d775d70..26ee52b 100644
--- a/ld/testsuite/ld-pe/symbols-ordinals-hints-exports.s
+++ b/ld/testsuite/ld-pe/symbols-ordinals-hints-exports.s
@@ -1,12 +1,25 @@
# define symbols in no specific order
-.global _sym2
-.global _sym5
-.global _sym3
-.global _sym1
-.global _sym4
+.ifdef UNDERSCORE
+ .global _sym2
+ .global _sym5
+ .global _sym3
+ .global _sym1
+ .global _sym4
_sym2:
_sym5:
_sym3:
_sym1:
_sym4:
- ret
+.else
+ .global sym2
+ .global sym5
+ .global sym3
+ .global sym1
+ .global sym4
+sym2:
+sym5:
+sym3:
+sym1:
+sym4:
+.endif
+ .nop