Norway has proved that the IRIS-T dogfight missile also has a surface attack capability by firing one at a small boat target in September.
By Photo taken 2005-07-16 in Koblenz by Owly K (Own work) [GFDL, CC-BY-SA-3.0 or CC BY-SA 2.5], via Wikimedia Commons
No hardware modifications are needed and the missile only requires a software update to expand its capabilities.