aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/implib.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/implib.s')
-rw-r--r--ld/testsuite/ld-elf/implib.s8
1 files changed, 6 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elf/implib.s b/ld/testsuite/ld-elf/implib.s
index e4d527b..0e497aa 100644
--- a/ld/testsuite/ld-elf/implib.s
+++ b/ld/testsuite/ld-elf/implib.s
@@ -1,5 +1,9 @@
-.ifndef NO_GLOBAL
+ .ifndef NO_GLOBAL
+ .ifdef HPUX
+exported1 .comm 1
+ .else
.comm exported1,1
+ .endif
.data
.global exported2
@@ -7,7 +11,7 @@
.size exported2, 1
exported2:
.byte 21
-.endif
+ .endif
.section ".bss", "aw", %nobits
not_exported1: