Jimmy Rollins isn't hangin' 'em up just yet.
Rollins has agreed to a minor-league contract with the Giants with an invite to spring training, general manager Bobby Evans confirmed Monday.
Complete coverage of the Fightin' Phils and their MLB rivals from NBC Sports Philadelphia.
Fox Sports' Ken Rosenthal first reported the news. The deal is reportedly worth $1 million if Rollins makes the majors.
Rollins, now 38, signed a minor-league deal last offseason with the White Sox and beat out his competition. He batted second and played shortstop in Chicago's opening-day lineup and hit a game-winning home run the next day.
From there, Rollins struggled, and he was released by the White Sox on June 15 after hitting .221/.295/.329 in 166 plate appearances. He made two errors in 299 defensive chances.
It's possible that with the Giants, Rollins, an Oakland native, could play a little second base if he makes it to the majors. Brandon Crawford is entrenched as the Giants' everyday shortstop, but Giants second baseman Joe Panik struggled in 2016, hitting .239 with a .695 OPS a year after hitting .312 with an .833 OPS.
In Eduardo Nunez and Kelby Tomlinson, the Giants have two other players capable of manning second base.
Rollins could improve his standing on various all-time leaderboards if he makes the Giants:
• He has 2,455 career hits, five fewer than Ozzie Smith.
• He's sixth all-time in games played as a shortstop, behind Omar Vizquel, Derek Jeter, Luis Aparicio, Smith and Cal Ripken.
• He's 46th in career stolen bases with 470.
• And he's also 54th all-time with 511 doubles, the same number as Mark Grace and three fewer than Edgar Martinez.