This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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] | |
On Jun 27 10:03, Martin Erik Werner wrote: > Update the offsets used to save registers into the stejmp jmp_buf > structure in order to: > > * Avoid writing the supervision register outside the buffer and thus > clobbering something on the stack. Previously the supervision register > was written at offset 124 while the buffer was of length 124. > > * Shrink the jmp_buf down to the size actually needed, by avoiding holes > at the locations of omitted registers. > --- > newlib/libc/include/machine/setjmp.h | 5 +++- > newlib/libc/machine/or1k/setjmp.S | 56 ++++++++++++++++++------------------ Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
Attachment:
signature.asc
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |