Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: the bitfield of struct in big-endian device

$
0
0

[quote user="fan Linlin"]Does the compiler5 treat the first member of a struct as the MSB ,diffrent from ccs2 ?[/quote]

CCS 2.x is from many years ago.  I take this to mean you are porting code from a very old ARM compiler version to the relatively recent compiler version 5.0.1.  I further presume you have changed ABI from the older ti_arm9_abi to the newer EABI.

One option for restoring old behavior is to build with --abi=ti_arm9_abi.

To understand this issue better, please see the appendix titled Bit Fields in the ARM compiler EABI migration document.

Thanks and regards,

-George


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>