Salvage the instruction to save the pointer to ps_strings for later use
so that setproctitle() works again. The problem reported by Naoki Fukaumi on japanese mailing list. Approved by: Ross Harvey
This commit is contained in:
parent
de243242be
commit
074a9e8fee
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rtld_start.S,v 1.15 2002/10/05 11:59:05 mycroft Exp $ */
|
||||
/* $NetBSD: rtld_start.S,v 1.16 2004/02/18 23:04:49 enami Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1996 Matt Thomas <matt@3am-software.com>
|
||||
|
@ -49,6 +49,9 @@ LEAF_NOPROFILE(_rtld_start, 0)
|
|||
lda t5, _DYNAMIC
|
||||
addq a1, t5, a0 /* &_DYNAMIC */
|
||||
|
||||
/* Squirrel away ps_strings. */
|
||||
mov a3, s0
|
||||
|
||||
bsr ra, _rtld_relocate_nonplt_self
|
||||
LDGP(ra)
|
||||
|
||||
|
|
Loading…
Reference in New Issue