after reading this answer I immediately thought to myself:
Why exactly do I have to tell whether it's Little or Big Endian? Does it mean that instead of simply copying my binary input data, objcopy
mangles the data in some way, depending on the Endianess chosen?
The example at hand was:
objcopy -I binary -O elf(32|64)-(big|little) binblob binblob.o
If this is truly binary data, objcopy
shouldn't have to care, right? Whatever reads the data later on would have to, but objcopy
shouldn't have to ...
Does objcopy
mangle the data based on the bitness and Endianess given by the -O
option?