- if (optim_pc)
- if (aNexattr&(DEFINED | REFERENCED | EQUATED) == DEFINED | REFERENCED)
- return error("relocation not allowed");
+ if (CHECK_OPTS(OPT_PC_RELATIVE))
+ {
+ if ((aNexattr & (DEFINED | REFERENCED | EQUATED)) == (DEFINED | REFERENCED))
+ return error("relocation not allowed when o10 is enabled");
+ }