bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/684] New: .incbin pseudo-op cannot include from non-zero offset


From: glyn dot kennington at ox dot compsoc dot net
Subject: [Bug gas/684] New: .incbin pseudo-op cannot include from non-zero offset till end of file
Date: 19 Jan 2005 20:19:04 -0000

If .incbin is given a non-zero "skip" value, but the "count" value is
unspecified, it attempts to include the number of bytes in the whole
file and fails:

--test.s----------
.data
.incbin "tux.png", 8
------------------

$ as test.s
test.s: Assembler messages:
test.s:2: Error: skip (8) + count (9438) larger than file size (9438)


The documentation suggests that "count" may be absent while "skip" is
present but with the current behaviour, a non-default (non-zero) value
for "skip" combined with the default value for "count" will always cause
an error.  Ideally, such a situation should cause the assembler to
include all bytes from the "skip" position till the end of the file.

-- 
           Summary: .incbin pseudo-op cannot include from non-zero offset
                    till end of file
           Product: binutils
           Version: 2.15
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: glyn dot kennington at ox dot compsoc dot net
                CC: bug-binutils at gnu dot org


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

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]