$ 0 0 You might try using "-flto" instead. (This requires all interrupt handlers to be marked with "__attribute__((used))".)