Gonzalez, who turns 37 in February, hit .177 with a .203 on-base percentage in 118 plate appearances through 41 games with the Milwaukee Brewers last year.
He is a veteran of 15 major league seasons and was an All-Star for the Florida Marlins in 1999. He has a career batting average of .246 in 1,600 major league games with six different teams.
We had written Thursday morning that it was unlikely Hammel would return to the Orioles because they don't have a guaranteed spot in the rotation for him.
Last year's Opening Day starter, Hammel went 7-8 with a 4.97 ERA.
CBSSports.com reported Thursday that former Orioles infielder Wilson Betemit agreed to a minor league deal with the Tampa Bay Rays.
The Orioles released Betemit in September. He had missed most of the season after tearing a knee ligament in March.