Linker warnings for mipsel-linux

Ian Lance Taylor ian@zembu.com
Mon Sep 13 11:34:00 GMT 1999


   Date: Mon, 13 Sep 1999 11:02:59 +0200
   From: Peter Loje Hansen <plh@2m.net>

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

   # 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/libc.so.6

   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.

Ian

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list