The Giants have landed a top-tier starter, agreeing with free-agent right-hander Jeff Samardzija on a five-year, $90 million contract Saturday, a day after losing out on pitcher Zack Greinke.

The Giants said a formal announcement will come once Samardzija passes a physical, which is scheduled for Tuesday.