This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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: [PATCH] [AARCH64]: Pointer mangling support for Aarch64


On 8 January 2014 10:32, Venkataramanan Kumar
<venkataramanan.kumar@linaro.org> wrote:

> Also looking at x86 and powerpc ports.
> They pass argument 1 - the address of jump buffer
>                 argument 2 - return value of __longjmp
>                 argument 3 - PC address or the jump target

> For Aarch64, the longjmp/longjmp_target probe passed as below.
>    *  first argument -  8@address of jmpbuf in x0.
>    *  second argument-  -4@return val in x1.
>    *  third argument-  8@ PC address or jump target target in LR/X30.

OK, so the arguments to the LIBC_PROBES in your patch look sensible.

> is that fine?

I'd like to see follow up to Will's question regarding placement of
the two probes.

>
>>
>> Do we need probes in setjmp aswell?
>
> Ok, I will add that as well.
> I have not yet tested, the patch by enabling --enable-systemtap as it

The patch needs to be tested ;-)

Cheers
/Marcus


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