Sunderland have confirmed the signing of midfielder El Hadji Ba from Le Havre. The France Under-20 international has signed a three-year deal at the Stadium of Light.