On 11/19/08 10:26, Rainer Orth wrote: > I've just submitted the first report, with more to come.
Rainer, Thanks for taking the time to submit these bugs. I've joined the forum and will keep my eyes open for assembler issues (I help maintain it). I looked into this particular bug and have a potential fix. The assembler emitted a sh_info=1 with the following rationale: there are no local symbols, therefore the last local symbol index is undefined, index 0 is designated as the undefined symbol index, therefore one greater than 0 is 1, therefore sh_info=1. This, coupled with a symbol table size=0, doesn't seem to pose a problem for the Solaris linker but does for gld. Modifying the assembler to emit sh_info=0 in this instance appears to work for both linkers (and still comply with the Sparc ABI. See http://www.sparc.com/standards/gabi31.pdf ). > If I understand things correctly, the codebase for /opt/SUNWspro/bin/fbe > and /usr/ccs/bin/as is the same, and fixes to the first will eventually > make it to the second (which is regularly used by GCC, at least on SPARC; > the x86 as is largely unusable for GCC). Yes, that is correct. Cheers, Mark > > Regards. > Rainer > > ----------------------------------------------------------------------------- > Rainer Orth, Faculty of Technology, Bielefeld University > _______________________________________________ > tools-compilers mailing list > tools-compilers at opensolaris.org
