Useful in assembly to know details of power10 function calls.
* config/rs6000/rs6000-c.c (rs6000_target_modify_macros):
Conditionally define __PCREL__.
/* Tell the user if we support the MMA instructions. */
if ((flags & OPTION_MASK_MMA) != 0)
rs6000_define_or_undefine_macro (define_p, "__MMA__");
+ /* Whether pc-relative code is being generated. */
+ if ((flags & OPTION_MASK_PCREL) != 0)
+ rs6000_define_or_undefine_macro (define_p, "__PCREL__");
}
void