This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] add --reverse option to objcopy


On Fri, Apr 13, 2007 at 07:49:22AM -0700, Nathan Froyd wrote:
> The attached patch is a forward-port of a patch originally proposed by
> Thomas de Lellis:
> 
> http://sourceware.org/ml/binutils/2000-03/msg00319.html
> 
> The rationale from the original message:
> 
>   This patch solves problems trying to use the existing tools, to
>   generate a ROM images for certain target systems where the byte order
>   implemented in hardware did not match the endian the processor
>   used. The ROM programmer did not have this functionality built in
>   unfortunately.
> 
>   A new option "--reverse" has been added swap bytes within
>   an output section... Given bytes in the order:

I was very curious what --reverse would do when I looked at the
subject. IMHO, --reverse-endian is clearer.


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]