Discussion:
[Bug gas/876] New: .space with non-absolute value
hollisb at us dot ibm dot com
2005-04-26 19:57:42 UTC
Permalink
$ cat<<EOF>testcase.S
label1:
.space FOO
label2:
EOF
$ gcc -c testcase.S
asmtest.S: Assembler messages:
asmtest.S:3: Error: .space specifies non-absolute value

That error message is expected. Now try this:
$ cat<<EOF>testcase.S
label1:
.space FOO*4
label2:
EOF
$ gcc -c testcase.S
$ echo $?
0
$ nm testcase.o
U FOO
0000000000000000 t label1
0000000000000000 t label2

I should get the same build error as before. This behavior occurs with * and <<,
but not + (i.e. FOO+4 fails to build, but FOO<<4 succeeds).

I've observed this with:
binutils gcc
x86-64 2.15 3.3.5
ppc64 2.15 3.4.2
--
Summary: .space with non-absolute value
Product: binutils
Version: 2.15
Status: NEW
Severity: minor
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hollisb at us dot ibm dot com
CC: bug-binutils at gnu dot org


http://sources.redhat.com/bugzilla/show_bug.cgi?id=876

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
nickc at redhat dot com
2005-05-05 17:00:52 UTC
Permalink
------- Additional Comments
nickc at redhat dot com
2005-05-05 17:01:43 UTC
Permalink
------- Additional Comments
hollisb at us dot ibm dot com
2005-05-16 18:28:08 UTC
Permalink
------- Additional Comments
nickc at redhat dot com
2005-05-17 16:01:48 UTC
Permalink
------- Additional Comments
hjl dot tools at gmail dot com
2009-11-04 18:20:01 UTC
Permalink
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |10903


http://sourceware.org/bugzilla/show_bug.cgi?id=876

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
hjl dot tools at gmail dot com
2009-11-04 18:21:30 UTC
Permalink
------- Additional Comments
cvs-commit at gcc dot gnu dot org
2009-11-04 18:52:19 UTC
Permalink
------- Additional Comments
hjl dot tools at gmail dot com
2009-11-04 19:25:11 UTC
Permalink
--
Bug 876 depends on bug 10903, which changed state.

Bug 10903 Summary: .fill regression
http://sourceware.org/bugzilla/show_bug.cgi?id=10903

What |Old Value |New Value
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID

http://sourceware.org/bugzilla/show_bug.cgi?id=876

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Loading...