Re: [commit] Fix rereading of DWO DIEs

dje
2012-07-19T16:17:06Z

Andreas Schwab writes:
> Executing on host: gcc -c -o /home/abuild/rpmbuild/BUILD/gdb-7.4.91/gdb/testsuite/gdb.dwarf2/fission-reread0.o ./gdb.dwarf2/fission-reread.S (timeout = 300)
> spawn gcc -c -o /home/abuild/rpmbuild/BUILD/gdb-7.4.91/gdb/testsuite/gdb.dwarf2/fission-reread0.o ./gdb.dwarf2/fission-reread.S
> fission-reread.cc: Assembler messages:
> fission-reread.cc:44: Error: unknown pseudo-op: `.bss'
> compiler exited with status 1
> output is:
> fission-reread.cc: Assembler messages:
> fission-reread.cc:44: Error: unknown pseudo-op: `.bss'
>
> gdb compile failed, fission-reread.cc: Assembler messages:
> fission-reread.cc:44: Error: unknown pseudo-op: `.bss'
> UNTESTED: gdb.dwarf2/fission-reread.exp: fission-reread.exp

Hi.

Can you test this?
[.data is used elsewhere so this should be portable enough]

2012-07-19 Doug Evans <dje@google.com>

* gdb.dwarf2/fission-reread.S: Use .data instead of .bss.
* gdb.dwarf2/pr13961.S: Ditto.

Index: fission-reread.S
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.dwarf2/fission-reread.S,v
retrieving revision 1.4
diff -u -p -r1.4 fission-reread.S
--- fission-reread.S 15 Jul 2012 08:34:55 -0000 1.4
+++ fission-reread.S 19 Jul 2012 16:13:19 -0000
@@ -41,7 +41,7 @@
.file "fission-reread.cc"

.globl baz
- .bss
+ .data /* Previously this used .bss, but it's not portable. */
.align 4
.type baz, @object
.size baz, 4
Index: pr13961.S
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.dwarf2/pr13961.S,v
retrieving revision 1.2
diff -u -p -r1.2 pr13961.S
--- pr13961.S 3 May 2012 06:49:05 -0000 1.2
+++ pr13961.S 19 Jul 2012 16:13:19 -0000
@@ -40,7 +40,7 @@
.file "pr13961.cc"

.globl baz
- .bss
+ .data /* Previously this used .bss, but it's not portable. */
.align 4
.type baz, @object
.size baz, 4