cross-compiler and assembler linkage question

Robert P. J. Day rpjday@mindspring.com
Sun Dec 11 15:11:00 GMT 2005


On Sun, 11 Dec 2005, Jay Kulpinski wrote:

... snip ...

> Does the SH3eb toolchain support the -fleading-underscore /
> -fno-leading-underscore option?

ah, that's what i was looking for.  however, it appears that, while
adding that option will allow resolution of symbols in the local
source files, it then screws up the linking with the symbols in
libgcc.a.  for example, i now get an undefined reference to the symbol
"___udivsi3" (three underscores instead of two).

i'm guessing that the correct solution would be to not use that
leading-underscore option and just fix the local assembler source
files by removing that underscore, yes?

rday

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



More information about the crossgcc mailing list