> +RelExpr AVRTargetInfo::getRelExpr(uint32_t Type, const SymbolBody &S,
> + const uint8_t *Loc) const {
> + switch (Type) {
> + default:
> + return R_ABS;
> + }
> +}
The default case should be an error. Explicitly list which relocations
map to R_ABS.
Cheers,
Rafael