The dynamic libraries are indeed different from the static libraries, because they must use position independent code. See the -pic flag to cc. I'm a little surprised at this large a difference, which must probably be in the string library routines given Dhrystone's profile.