http://sourceware.org/bugzilla/show_bug.cgi?id=13005
Summary: Allow objcopy with -B switch and intelhex (and
similar) input format
Product: binutils
Version: unspecified
Status: NEW
Severity: enhancement
Priority: P2
Component: binutils
AssignedTo: [email protected]
ReportedBy: [email protected]
Sometimes it is desired to link in a binary file for example as an array
initializer. For this, objcopy can be utilized, with the binary file as an
input and for example elf as output format, placing the data into a single,
explicitly named section.
The architecture of output file can be explicitly set using the -B switch. That
possibility is constrained explicitly to binary input files, for other input
formats, the diagnostics "Warning: input target 'binary' required for binary
architecture parameter." is output and the switch is subsequently ignored.
However, the binary file might might come in a "nearly-binary" format, such as
intelhex.
While it is always possible to convert such format into "pure" binary, it would
be nice if objcopy would allow to use the -B switch with intelhex and similar
input formats directly.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils