add missing print api to stub version of struct code
remove dead got related code
Merge pull request #1774 from braddr/cleanup-got

remove dead got related code
Merge pull request #1772 from braddr/fix-stub

add missing print api to stub version of struct code