What does "mode" attribute do?

113 views Asked by At

I have read the documentation but I am not able to understand it. What does following typedefs do? What is/should be size of a variable of type word/pointer/_Unwind_Word on a 8/16/32/64 bit architecture?

typedef unsigned int word __attribute__((mode(word)));
typedef unsigned int pointer __attribute__((mode(pointer)));

(full source, lines 33–34)

typedef unsigned _Unwind_Word __attribute__((__mode__(__unwind_word__)));
typedef signed _Unwind_Sword __attribute__((__mode__(__unwind_word__)));

(full source, lines 49–50)

0

There are 0 answers