2003-06-11 22:37:07

by H. J. Lu

[permalink] [raw]
Subject: PATCH: Use .incbin to incorporate binary files.

The Linux binutils 2.11.90.0.23 released on 2001-07-14 introduced
a new feature, .incbin, which allows you to include a set of binary
data at a given point in the assembly. It is better than

# ld -r --format binary --oformat ...

since it will set appropriate bits in the ELF header. Here is a patch
against 2.5.70 to use .incbin.


H.J.


Attachments:
(No filename) (339.00 B)
binary.patch (880.00 B)
Download all attachments