mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
(_dl_start_user): Access __libc_stack_end through GOT since it is a global symbol.
This commit is contained in:
parent
bd8bb78ba2
commit
3d5c082124
@ -1,5 +1,5 @@
|
||||
/* Machine-dependent ELF dynamic relocation inline functions. m68k version.
|
||||
Copyright (C) 1996-2001, 2002 Free Software Foundation, Inc.
|
||||
Copyright (C) 1996-2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -158,7 +158,7 @@ _dl_start_user:\n\
|
||||
| Save the user entry point address in %a4.\n\
|
||||
move.l %d0, %a4\n\
|
||||
| Remember the highest stack address.\n\
|
||||
lea __libc_stack_end(%pc), %a0\n\
|
||||
move.l __libc_stack_end@GOTPC(%pc), %a0\n\
|
||||
move.l %sp, (%a0)\n\
|
||||
| See if we were run as a command with the executable file\n\
|
||||
| name as an extra leading argument.\n\
|
||||
|
Loading…
Reference in New Issue
Block a user