MFC r261038, r261039, r261040, r261041

  Implement generic support for early printf.