aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2003-03-01 15:33:11 +0000
committerAndreas Schwab <schwab@suse.de>2003-03-01 15:33:11 +0000
commit3d5c08212496841ef7977effb0a2bf14576015ac (patch)
tree2bee3f408b2547e25e5e09b849835f231c2f1a06
parentbd8bb78ba24ecd14b648dbf7f001a8afa9d5ede5 (diff)
downloadglibc-3d5c08212496841ef7977effb0a2bf14576015ac.tar
glibc-3d5c08212496841ef7977effb0a2bf14576015ac.tar.gz
glibc-3d5c08212496841ef7977effb0a2bf14576015ac.tar.bz2
glibc-3d5c08212496841ef7977effb0a2bf14576015ac.zip
(_dl_start_user): Access __libc_stack_end through GOT since it is a global symbol.
-rw-r--r--sysdeps/m68k/dl-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/m68k/dl-machine.h b/sysdeps/m68k/dl-machine.h
index 0fd6495f10..a09f61111c 100644
--- a/sysdeps/m68k/dl-machine.h
+++ b/sysdeps/m68k/dl-machine.h
@@ -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\