Question regarding MIPS_GPREL_16 relocation

2005-03-22 Thread Mile Davidovic
Hello all I am using gcc for MIPS ( 3.3.x, target mips-elf). I had problem during linking, (MIPS_GPREL_16 relocation truncated to fit error occurs). I set value of gp registers to appropriate value and used -mlong-calls and -G0 switch to prevent this problem. However problem arise again dependin

RE: Question regarding MIPS_GPREL_16 relocation

2005-03-23 Thread Mile Davidovic
regards Mile On Tue, 2005-03-22 at 13:21 +0100, Mile Davidovic wrote: > Hello all > I am using gcc for MIPS ( 3.3.x, target mips-elf). > I had problem during linking, (MIPS_GPREL_16 relocation truncated to > fit error occurs). > I set value of gp registers to appropriate value and us

RE: Question regarding MIPS_GPREL_16 relocation

2005-03-23 Thread Mile Davidovic
Hello I will try to modify multilib options. I have question regarding how to add my changes in gcc (see thread Mips question) I already sent FSF copyright agreement and I receive confirmation. So I would like to introduce switch for forbidding generating unaligned load and store instruction.

RE: Question regarding MIPS_GPREL_16 relocation

2005-03-29 Thread Mile Davidovic
Hell all But where I have to look? I could easily change libstdc++v3 -> Makefile.am (AM_MAKEFLAGS) and regenerate all but I am not shure is it good way to do it. Best regards and thanks a lot. Mile -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Chr

RE: Question regarding MIPS_GPREL_16 relocation

2005-03-30 Thread Mile Davidovic
, Mile Davidovic wrote: > Hell all > But where I have to look? > I could easily change libstdc++v3 -> Makefile.am (AM_MAKEFLAGS) and > regenerate all but I am not shure is it good way to do it. For mips-elf you'll want to look in gcc/config/mips/t-elf. gcc/config.gcc has t

RE: Question regarding MIPS_GPREL_16 relocation

2005-04-06 Thread Mile Davidovic
regarding MIPS_GPREL_16 relocation "Mile Davidovic" <[EMAIL PROTECTED]> writes: > But problem is passing G0 option, if I simple put MULTILIB_OPTIONS = > G0 mlong-calls msoft-float EL/EB mips32/mips64 building library fail. If you add something to MULTILIB_OPTI

Question regarding c++ constructors

2005-02-21 Thread Mile Davidovic
Hello all I have stupid question regarding constructors and destructors in c++. After compilation there are two assembler functions (__ZN4testC2Ev, __ZN4testC1Ev) that represent constructor, same is for destructors (__ZN4testD2Ev, __ZN4testD1Ev). Functions are completely the same. What is the r