This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Linker warnings for mipsel-linux


   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]