CONFIG_FRAME_POINTER on ppc/ppc64?
From: Kumar Gala <hidden>
Date: 2005-08-15 18:25:24
Is there any reason we dont allow building with frame pointers on ppc/ ppc64? - kumar
4 messages, 3 authors, 2005-08-16 · open the first message on its own page
From: Kumar Gala <hidden>
Date: 2005-08-15 18:25:24
Is there any reason we dont allow building with frame pointers on ppc/ ppc64? - kumar
From: Paul Mackerras <hidden>
Date: 2005-08-15 23:08:12
Is there any reason we dont allow building with frame pointers on ppc/ ppc64?
Because -fomit-frame-pointer and -fno-omit-frame-pointer have no effect on ppc or ppc64, I assume. :) Paul.
From: Kumar Gala <hidden>
Date: 2005-08-16 03:41:03
On Aug 15, 2005, at 6:08 PM, Paul Mackerras wrote:
quoted
Is there any reason we dont allow building with frame pointers on ppc/quoted
ppc64?Because -fomit-frame-pointer and -fno-omit-frame-pointer have no effect on ppc or ppc64, I assume. :)
I'm assuming that's a guess. The reason I ask that is my memory serves correctly r31 is used as the frame pointer if compiled that way. Maybe some GCC expert can chime in. I'll copy David Edelsohn and see if I get a response :) - kumar
From: Segher Boessenkool <hidden>
Date: 2005-08-16 09:44:33
quoted
Because -fomit-frame-pointer and -fno-omit-frame-pointer have no effect on ppc or ppc64, I assume. :)I'm assuming that's a guess. The reason I ask that is my memory serves correctly r31 is used as the frame pointer if compiled that way. Maybe some GCC expert can chime in. I'll copy David Edelsohn and see if I get a response :)
Yes, GPR31 is used as frame pointer. All optimization levels other than -O0 enable -fomit-frame-pointer. But -fno-omit-frame-pointer certainly works. Segher