Linker warnings for mipsel-linux

Ian Lance Taylor
Mon Sep 13 11:34:00 GMT 1999

   Date: Mon, 13 Sep 1999 11:02:59 +0200
   From: Peter Loje Hansen <>

   Everything seems to work fine except that the linker comes with two

   # mipsel-linux-gcc hello.c -o hello
   /usr/local/mipsel-linux/bin/ld: Warning: type of symbol `_fini' changed
   from 1 to 2 in /usr/local/mipsel-linux/lib/crti.o
   /usr/local/mipsel-linux/bin/ld: Warning: type of symbol `_gp_disp'
   changed from 1 to 3 in /usr/local/mipsel-linux/lib/

   Can I safely ignore these warnings?

Yes, I believe so.  Type 1 is STT_OBJECT, meaning a variable.  Type 2
is STT_FUNC, meaning a function.  Type 3 is STT_SECTION.  The linker
is warning you that these symbols appear to have different uses in the
different files.  However, it should link them in the same way.


Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list