[ERROR]
The global variable 'ident' cannot be allocated in the specified register. There are two possible reasons: The type of the variable is not supported to be accessed in a register. or The specified register number is not possible (e.g. used for parameter passing).
extern int glob_var @__REG 4; //r4 is used for parameters
Consider the ABI of the target processor.