SAN FRANCISCO (AP) — Jeff Samardzija struck out five over 7 2/3 innings and drove in a career-high three runs with a double to win in a memorable home debut, and the San Francisco Giants snapped a five-game losing streak by beating Miami hitting coach Barry Bonds and the Marlins 8-1 on Friday night in the slugger’s return to AT&T Park.
Samardzija (2-1), who signed a $90 million, five-year contract, left to a standing ovation when he walked off in the eighth. He allowed one run and six hits and didn’t walk a batter in the 117-pitch gem.
Brandon Belt, Angel Pagan and Denard Span had RBI singles, while Matt Duffy had a sacrifice fly and Brandon Crawford drove in a run on a groundout for the Giants, who had gone 3 for 35 with runners in scoring position during their skid.
The timely hits sure turned up this time after a discouraging four-game sweep by the division rival Arizona Diamondbacks.
Even from Samardzija, who hit a two-run double in the sixth and RBI single in the fifth.
The big right-hander had three RBIs in a season twice — 2012 and ‘14 — and had driven in 10 total runs before Friday performance at the plate.
Bonds returned to the ballpark he helped get built wearing a Marlins uniform. He brought the lineup card out before first pitch to chants of “Barry! Barry!” — clearly still appreciated even after allegations he used performance-enhancing drugs.
His hitters didn’t make him look very good against his former team.
Marlins starter Jarred Cosart (0-1) walked six batters over 4 1-3 innings for his second straight start allowing six free passes. He has 15 walks over 14 2/3 innings in his initial three starts. Cosart allowed six runs and eight hits.
Miami manager Don Mattingly was ejected in the top of the fourth, then came out to fume at plate umpire Brian Gorman for a couple of minutes apparently upset over balls and strikes.
Marlins: Giancarlo Stanton and Dee Gordon returned to the starting lineup after what Mattingly called a “mental blow” to get a break.
Giants: INF Conor Gillaspie’s contract was purchased from Triple-A Sacramento and INF Mac Williamson was optioned to Sacramento. To clear roster room for Gillaspie, INF Ehire Adrianza (fractured left foot) was transferred from the 15-day to the 60-day DL.
Marlins: RHP Jose Fernandez (1-1) won last July 2 in his only other start against San Francisco.
Giants: RHP Jake Peavy (0-1) tries again for his first victory of the season. He is 5-4 with a 2.83 ERA in nine starts against the Marlins.