[...@gnu-26 tmp]$ cat x.s
.text
.org 0xf00
.byte 8
_end:
.fill 4096 - _end
_foo:
[...@gnu-26 tmp]$ /usr/bin/as -v --32 -o x.o x.s
GNU assembler version 2.15.92.0.2 (x86_64-redhat-linux) using BFD version
2.15.92.0.2 20040927
[...@gnu-26 tmp]$ readelf -s x.o
Symbol table '.symtab' contains 6 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 00000000 0 NOTYPE LOCAL DEFAULT UND
1: 00000000 0 SECTION LOCAL DEFAULT 1
2: 00000000 0 SECTION LOCAL DEFAULT 2
3: 00000000 0 SECTION LOCAL DEFAULT 3
4: 00000f01 0 NOTYPE LOCAL DEFAULT 1 _end
5: 00001000 0 NOTYPE LOCAL DEFAULT 1 _foo
[...@gnu-26 tmp]$ as -v --32 -o x.o x.s
GNU assembler version 2.20.51.0.3 (x86_64-unknown-linux-gnu) using BFD version
(Linux/GNU Binutils) 2.20.51.0.3.20091021
x.s: Assembler messages:
x.s:5: Error: .space specifies non-absolute value
[...@gnu-26 tmp]$
--
Summary: .fill regression
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl dot tools at gmail dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10903
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils