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: Questions about hppa *context functions.


On Sun, Jan 31, 2010 at 11:25 AM, Carlos O'Donell
<carlos@systemhalted.org> wrote:
> Helge,
>
> On December 15th, 2009 an additional *context test was added to glibc,
> see stdlib/tst-makecontext3.c.
>
> This test fails on hppa with:
> ~~~
> makecontext: does not know how to handle more than 8 arguments
> ~~~

New patch attached with additional changes:
* Align the incoming stack to 64-bytes.
* Adjust for frame.
* Adjust saved stack pointer.

The following patch allows the new test to pass for the 32-bit runtime.

I can't guarantee this works for a 64-bit runtime.

Helge, can you comment on the attached patch?

Cheers,
Carlos.

Attachment: makecontext.diff
Description: Binary data


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