Implemented a linkage attribute for functions and foreign statics.