Hello,
I implemented support for static pie generation on i386, x86_64, and arm. 

This patch adds the generation of rcrt1.o which is used by gcc when compiling with the --static-pie flag. The main difference in rcrt1.o is that it is required to perform dynamic relocations which would normally occur in ldso. The new reloc_static_pie function handles parsing the elf headers, locating the dynamic section, and performing the relocations.