* gdb.asm/s390.inc (gdbasm_datavar): Use .long' to create int'

variables on the S/390, not `.word'.
This commit is contained in:
Jim Blandy 2001-12-03 21:53:16 +00:00
parent e01e171deb
commit 68550daf9b
2 changed files with 12 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2001-12-03 Jim Blandy <jimb@redhat.com>
* gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
variables on the S/390, not `.word'.
2001-11-30 Jim Blandy <jimb@redhat.com>
Add assembly-source tests for s390-ibm-linux.

View file

@ -66,3 +66,10 @@
lr %r0, %r0
lr %r0, %r0
.endm
### Declare an `int' variable.
.macro gdbasm_datavar name value
.data
\name:
.long \value
.endm