Further revisions (for xcoff mostly) to test case logged in ChangeLog yesterday
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.stabs / wierd-xcoff.S
index cdb5c130c407846869ba420d5ac1ce7300fedfe3..b4d3a24d9dfcedb8561d63a6fb6af9402e9e291f 100644 (file)
@@ -3,10 +3,13 @@
 
 #define VAR(name) \
        .globl name; \
-       .csect .data[RW]; \
        .align 1; \
 name:; \
-       .long 42; \
-       .csect [PR]
-#define STAB(string,type,value) .stabx string,value,type
+       .long 42;
+#define STAB(string,type,value) .stabx string,value,type,0
+
+/* Put everything in this csect, which seems to make things work.
+   The compiler actually puts the stabs in .csect [PR], but that didn't
+   work here (I guess because there is no text section).  */
+       .csect .data[RW]
 #include "wierd.def"
This page took 0.02331 seconds and 4 git commands to generate.