the __fdpic_fixup code is not needed for ET_DYN executables, which
instead use reloctions, so we can omit it from the dynamic linker and
static-pie entry point and save some code size.
".text \n"
".global " START " \n"
START ": \n"
+#ifndef SHARED
" mov r8, r4 \n"
" mova 1f, r0 \n"
" mov.l 1f, r5 \n"
" bsr __fdpic_fixup \n"
" add r0, r6 \n"
" mov r0, r12 \n"
+#endif
" mov r10, r5 \n"
" mov r15, r4 \n"
" mov.l r9, @-r15 \n"
" .long __ROFIXUP_END__@PCREL + 4 \n"
);
+#ifndef SHARED
#include "fdpic_crt.h"
+#endif
#else