While working on libderp, I took a dive into more about how dynamic linking works. Here are some notes: https://begriffs.com/posts/2021-07-04-shared-libraries.html