This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


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: sh-elf-4_1-branch created


Joern RENNECKE <joern.rennecke@st.com> wrote:
> I'd rather get
> the symbol versioning approach working.  If you add a line:
>      .symver __sdivsi3_1,__sdivsi3@@GCC_3.0
> to the assembler file that uses __sdivsi3_1,  and maybe also __sdivsi3 
> to the
> version script, does the undefined symbol error go away?

Do you mean adding ".symver __sdivsi3_1,__sdivsi3@@GCC_3.0" to
the assembler file that refers __sdivsi3_1?  I thought that
".symver foo,..." must be accompanied with the definition of foo.
I've tried it but the assembler said

Error: invalid attempt to declare external version name as default in symbol `__sdivsi3@@GCC_3.0'

Regards,
	kaz


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