aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-01-28 15:25:20 +0000
committerNick Clifton <nickc@redhat.com>2010-01-28 15:25:20 +0000
commit70ecb3842d3c4b2836c8b007743d996a2d6bef16 (patch)
tree5ceffe798a8da70c28ff27b093dad95f2a973914 /gas
parent7434dadd5d36ea431f851b4e3a28b248f3b2c817 (diff)
downloadgdb-70ecb3842d3c4b2836c8b007743d996a2d6bef16.zip
gdb-70ecb3842d3c4b2836c8b007743d996a2d6bef16.tar.gz
gdb-70ecb3842d3c4b2836c8b007743d996a2d6bef16.tar.bz2
PR 11225
* objdump.c (only): Replace with linked list. (only_size, only_used): Replace with only_list. (process_section_p): Set seen field on matches sections. (add_only): New function. (free_only_list): New function. (disassemble_section): Check only_list. (main): Use add_only and free_only_list. * gas/pe/aligncomm-c.d: Dump all sections. * ld-sh/refdbg-0-dso.d: Dump all sections.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rwxr-xr-xgas/testsuite/gas/pe/aligncomm-c.d4
-rw-r--r--gas/testsuite/gas/s390/s390.exp15
3 files changed, 16 insertions, 8 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 75e6054..66b030d 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-28 Nick Clifton <nickc@redhat.com>
+
+ PR 11225
+ * gas/pe/aligncomm-c.d: Dump all sections.
+
2010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
* gas/pe/section-align-1.s: New test source file.
diff --git a/gas/testsuite/gas/pe/aligncomm-c.d b/gas/testsuite/gas/pe/aligncomm-c.d
index f9dc3a8..2336f44 100755
--- a/gas/testsuite/gas/pe/aligncomm-c.d
+++ b/gas/testsuite/gas/pe/aligncomm-c.d
@@ -1,8 +1,8 @@
-#objdump: -s -j .drectve
+#objdump: -s
#name: aligned common C
# Test the aligned form of the .comm pseudo-op.
.*: .*
-# No .drectve section emitted. \ No newline at end of file
+# No .drectve section emitted.
diff --git a/gas/testsuite/gas/s390/s390.exp b/gas/testsuite/gas/s390/s390.exp
index 4820013..fae071c 100644
--- a/gas/testsuite/gas/s390/s390.exp
+++ b/gas/testsuite/gas/s390/s390.exp
@@ -4,12 +4,15 @@
if [expr [istarget "s390-*-*"] || [istarget "s390x-*-*"]] then {
- run_dump_test "esa-g5" "{as -m31}"
- run_dump_test "esa-z900" "{as -m31} {as -march=z900}"
- run_dump_test "esa-z990" "{as -m31} {as -march=z990}"
- run_dump_test "esa-z9-109" "{as -m31} {as -march=z9-109}"
- run_dump_test "esa-reloc" "{as -m31}"
- run_dump_test "esa-operands" "{as -m31}"
+ # s390x-ibm-tpf target does not support a 32-bit target.
+ if { ! [istarget "s390x-*-tpf*"] } then {
+ run_dump_test "esa-g5" "{as -m31}"
+ run_dump_test "esa-z900" "{as -m31} {as -march=z900}"
+ run_dump_test "esa-z990" "{as -m31} {as -march=z990}"
+ run_dump_test "esa-z9-109" "{as -m31} {as -march=z9-109}"
+ run_dump_test "esa-reloc" "{as -m31}"
+ run_dump_test "esa-operands" "{as -m31}"
+ }
# # PIC is only supported on ELF targets.
# if { ([istarget "*-*-elf*"] || [istarget "*-*-linux*"] ) } then {