This is the mail archive of the gcc-help@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: libgcc.a, et. al.


Thanks David,

The call to _restf14 is not explicit so I assume the compiler is generating it for some reason.

I believe the soft-float is the route I want to go. Right now, I took the t-aix52 file and changed it to have:

MULTILIB_OPTIONS = pthread maix64 msoft-float

MULTILIB_DIRNAMES = pthread ppc64 soft-float

I could not find a way to do this via configure options. I'm rebuilding the whole compiler at this point. I didn't know any other way to get the new versions of the libraries to be created.

Perry

On Jan 10, 2006, at 8:11 PM, David Edelsohn wrote:

Perry Smith writes:

Perry> Its the _restf14 that gets me.
Perry> It is pulled in from unwind_dw2.o of libgcc_eh.a. The IBM pubs tells
Perry> me its part of the floating point linkage convention.


Perry> So, it sounds to me like I need to recompile libgcc_eh.a with the
Perry> soft-float option.


Maybe. The EH mechanism in GCC is prepared to save and restore
FPRs because that might appear in a user program. In your particular
situation, you do not want to touch FPRs, so soft-float might work if you
truly never reference floating point in your code.


David





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