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: RFA: hook doc patch (111/112): TARGET_GET_DRAP_RTX


Quoting Gerald Pfeifer <gerald@pfeifer.com>:

On Sat, 16 Jan 2010, Joern Rennecke wrote:
      * tm.texi (TARGET_GET_DRAP_RTX): Note that this is a hook.
      Clarify language.

Okay, but... @deftypefn {Target Hook} rtx TARGET_GET_DRAP_RTX (void) -Define this macro to an rtx for Dynamic Realign Argument Pointer if a +This hook should return an rtx for Dynamic Realign Argument Pointer if a different argument pointer register is needed to access the function's -argument list when stack is aligned. +argument list due to stack realignment. Return @code{NULL} if no DRAP +is needed. ...add "(DRAP)" after the initial long form of the term.

Added.


+You need not define this hook if it always returns @code{NULL}.Isn't
this the default and could just be omitted?

Yes, that's true. The start of the original text ("Define this macro...") could get you confused to think every target must define this, but with the wording of hook description, this is no longer the case.


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