开发者

Change ELF Endian Data Format

开发者 https://www.devze.com 2023-03-29 22:28 出处:网络
I am trying to edit some software to work with both Big and Little Endian ELF/DWARF files. In order to this, I think it would be a good ide开发者_StackOverflowa to have both a Little and Big ELF file

I am trying to edit some software to work with both Big and Little Endian ELF/DWARF files. In order to this, I think it would be a good ide开发者_StackOverflowa to have both a Little and Big ELF file of the same data. I am using a simple program in a compiler to create an ELF Object file, however the object file is formatted always in the endianness of the architecture of the chip I am using. Is there a way to obtain both endianness for a single program on a single chip?

Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消