title: GCC -nostdlib fails with undefined reference to `__libc_csu_fini'
body: <p>I provide the linker with my files: ld-2.7.so, libc-2.7.so and crt1.o but it fails to compile successfully. Is it possible to link to a different glibc from the default one ?</p>
  
  <p>(Static compilation or installing a separate glibc is not an option.)</p>
  
  <pre><code>gcc -Wl,-dynamic-linker,ld-2.7.so,libc-2.7.so,crt1.o -nostdlib program.c
  
  crt1.o: In function `_start':  
  (.text+0x12): undefined reference to `__libc_csu_fini'  
  crt1.o: In function `_start':  
  (.text+0x19): undefined reference to `__libc_csu_init'  
  /tmp/user/1000/ccauFlwt.o: In function `findsize':  
  program.c:(.text+0x21): undefined reference to `stat'  
  /tmp/user/1000/ccauFlwt.o: In function `findtime':  
  program.c:(.text+0x4c): undefined reference to `stat'  
  collect2: ld returned 1 exit status  
  </code></pre>