aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2017-02-25 00:02:27 +1030
committerAlan Modra <amodra@gmail.com>2017-02-25 19:13:34 +1030
commitdd803a2430a33ca5f306d717a7c242d2e907ae43 (patch)
tree352434c3a627ffe0fd6ee933690b745094830ed8 /gas
parent3b83ea38cfbc408da9c4a85a8db9a836fa098e93 (diff)
downloadgdb-dd803a2430a33ca5f306d717a7c242d2e907ae43.zip
gdb-dd803a2430a33ca5f306d717a7c242d2e907ae43.tar.gz
gdb-dd803a2430a33ca5f306d717a7c242d2e907ae43.tar.bz2
Testsuite fixes for hppa64-hpux
HPUX has a different .comm syntax, and anything in the first column is a label. gas/ * testsuite/gas/elf/strtab.s: Don't put directives on first column or continuation with labels not in first column. ld/ * testsuite/ld-elf/elf.exp: Xfail pr20995 tests on hppa64-hpux. Set up HPUX defsym. Run pr14170 tests and build symbol3 objects, defining HPUX where necessary. Define HPUX for implib tests. * testsuite/ld-elf/comm-data4.d: Run for hpux. * testsuite/ld-elf/endsym.d: Likewise. * testsuite/ld-elf/linkoncerdiff.d: Likewise. * testsuite/ld-elf/comm-data4.s: Add alternate .comm when HPUX. * testsuite/ld-elf/comm-data5.s: Likewise. * testsuite/ld-elf/endsym.s: Likewise. * testsuite/ld-elf/pr14170c.s: Likewise. * testsuite/ld-elf/symbol3.s: Likewise. * testsuite/ld-elf/implib.s: Likewise. Don't start directives in first column. * testsuite/ld-elf/linkoncerdiff2.s: Don't use numeric labels. * testsuite/ld-elf/warn3.d: Run for hpux. * testsuite/ld-scripts/rgn-at10.d: Xfail for hpux. * testsuite/ld-scripts/rgn-at11.d: Likewise. * testsuite/ld-scripts/size-2.d: Remove xfail for hpux.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/elf/strtab.s20
2 files changed, 18 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 09f7771..b2908dc 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2017-02-25 Alan Modra <amodra@gmail.com>
+
+ * testsuite/gas/elf/strtab.s: Don't put directives on first
+ column or continuation with labels not in first column.
+
2017-02-24 Richard Sandiford <richard.sandiford@arm.com>
* doc/c-aarch64.texi: Document that sve implies fp16, simd and compnum.
diff --git a/gas/testsuite/gas/elf/strtab.s b/gas/testsuite/gas/elf/strtab.s
index 931d9ef..d512a50 100644
--- a/gas/testsuite/gas/elf/strtab.s
+++ b/gas/testsuite/gas/elf/strtab.s
@@ -1,8 +1,14 @@
- .text
-.globl x; x:
-.globl xx; xx:
-.globl xxx; xxx:
-.globl xxxx; xxxx:
-.globl xxxxx; xxxxx:
-.globl xxxxxx; xxxxxx:
+ .text
+ .globl x
+x:
+ .globl xx
+xx:
+ .globl xxx
+xxx:
+ .globl xxxx
+xxxx:
+ .globl xxxxx
+xxxxx:
+ .globl xxxxxx
+xxxxxx:
.byte 0