mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
* sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
jmp_buf.
This commit is contained in:
parent
44c8d1a2a8
commit
f405bed5ef
@ -1,5 +1,8 @@
|
|||||||
Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
Fri Sep 1 16:16:12 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
|
||||||
|
|
||||||
|
* sysdeps/mach/hurd/i386/longjmp-ts.c: Use new array format for
|
||||||
|
jmp_buf.
|
||||||
|
|
||||||
* libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
|
* libc-symbols.h (link_warning): Take new first arg SYMBOL; ask
|
||||||
for a warning on references to that specific symbol, not the
|
for a warning on references to that specific symbol, not the
|
||||||
entire containing object file.
|
entire containing object file.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Perform a `longjmp' on a Mach thread_state. i386 version.
|
/* Perform a `longjmp' on a Mach thread_state. i386 version.
|
||||||
Copyright (C) 1991, 1994 Free Software Foundation, Inc.
|
Copyright (C) 1991, 1994, 1995 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -29,11 +29,11 @@ _hurd_longjmp_thread_state (void *state, jmp_buf env, int val)
|
|||||||
{
|
{
|
||||||
struct i386_thread_state *ts = state;
|
struct i386_thread_state *ts = state;
|
||||||
|
|
||||||
ts->ebx = env[0].__jmpbuf[0].__bx;
|
ts->ebx = env[0].__jmpbuf[JB_BX];
|
||||||
ts->esi = env[0].__jmpbuf[0].__si;
|
ts->esi = env[0].__jmpbuf[JB_SI];
|
||||||
ts->edi = env[0].__jmpbuf[0].__di;
|
ts->edi = env[0].__jmpbuf[JB_DI];
|
||||||
ts->ebp = (int) env[0].__jmpbuf[0].__bp;
|
ts->ebp = env[0].__jmpbuf[JB_BP];
|
||||||
ts->uesp = (int) env[0].__jmpbuf[0].__sp;
|
ts->uesp = env[0].__jmpbuf[JB_SP];
|
||||||
ts->eip = (int) env[0].__jmpbuf[0].__pc;
|
ts->eip = env[0].__jmpbuf[JB_PC];
|
||||||
ts->eax = val ?: 1;
|
ts->eax = val ?: 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user