[hurd,commited] hurd: Fix longjmp early in initialization
When e.g. an LD_PRELOAD fails, _dl_signal_exception/error longjmps, but TLS
is not initialized yet, let along signal state. We thus mustn't look at
them within __longjmp.
* sysdeps/mach/hurd/i386/____longjmp_chk.S,__longjmp.S: Check for
initialized value of %gs, and that sigstate is non-NULL.
sysdeps/mach/hurd/i386/____longjmp_chk.S | 9 ++++++++-
sysdeps/mach/hurd/i386/__longjmp.S | 9 ++++++++-
2 files changed, 16 insertions(+), 2 deletions(-)