aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-03-29 18:16:16 +0000
committerRichard Henderson <rth@redhat.com>2011-03-29 18:16:16 +0000
commitaf3ecb4a35ff9fd57662514fefcfced14893bbbe (patch)
tree777b0c97f1de4358ee0bf62d2a3b508139cdddd8 /gas/testsuite
parent66ee2731167db3db9cc506a6268d1a02ed7b3ffc (diff)
downloadgdb-af3ecb4a35ff9fd57662514fefcfced14893bbbe.zip
gdb-af3ecb4a35ff9fd57662514fefcfced14893bbbe.tar.gz
gdb-af3ecb4a35ff9fd57662514fefcfced14893bbbe.tar.bz2
PR 12610
* config/tc-alpha.c (s_alpha_align): Don't auto-align a previous label; zap alpha_insn_label.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/alpha/auto-align-1.d6
-rw-r--r--gas/testsuite/gas/alpha/auto-align-1.s7
2 files changed, 13 insertions, 0 deletions
diff --git a/gas/testsuite/gas/alpha/auto-align-1.d b/gas/testsuite/gas/alpha/auto-align-1.d
new file mode 100644
index 0000000..971f117
--- /dev/null
+++ b/gas/testsuite/gas/alpha/auto-align-1.d
@@ -0,0 +1,6 @@
+#objdump: -s -j .data
+#name: alpha auto-align-1
+
+.*: file format *
+Contents of section .data:
+ 0000 04000000 .*
diff --git a/gas/testsuite/gas/alpha/auto-align-1.s b/gas/testsuite/gas/alpha/auto-align-1.s
new file mode 100644
index 0000000..0b088c2
--- /dev/null
+++ b/gas/testsuite/gas/alpha/auto-align-1.s
@@ -0,0 +1,7 @@
+.text
+ .align 4
+$B: unop
+$E: .align 4
+ fnop
+.data
+ .long $E - $B