bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/13005] New: Allow objcopy with -B switch and intelhex (and


From: wek at host dot sk
Subject: [Bug binutils/13005] New: Allow objcopy with -B switch and intelhex (and similar) input format
Date: Tue, 19 Jul 2011 12:22:33 +0000

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: address@hidden
        ReportedBy: address@hidden


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.



reply via email to

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