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

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cross-compiler and assembler linkage question


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


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