fix for x86
This commit is contained in:
parent
0a20031787
commit
a4b477c96a
@ -181,7 +181,7 @@ static unsigned long find_elf_note(unsigned long findme){
|
|||||||
unsigned long *ep = (unsigned long *)environ;
|
unsigned long *ep = (unsigned long *)environ;
|
||||||
unsigned long ret = 42;
|
unsigned long ret = 42;
|
||||||
while(*ep++);
|
while(*ep++);
|
||||||
while(*ep++);
|
// while(*ep++);
|
||||||
while(*ep){
|
while(*ep){
|
||||||
// printf("%08lx %08lx %011ld %011ld%s\n",ep[0],ep[1],ep[0],ep[1],ep[0]==findme?" <<<":"");
|
// printf("%08lx %08lx %011ld %011ld%s\n",ep[0],ep[1],ep[0],ep[1],ep[0]==findme?" <<<":"");
|
||||||
if(ep[0]==findme) ret=ep[1];
|
if(ep[0]==findme) ret=ep[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user