aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k/elf
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-06-10 01:35:06 +0000
committerAndreas Schwab <schwab@suse.de>1998-06-10 01:35:06 +0000
commit9e2c0dae9be993530623d0088b95f1278b2686c0 (patch)
treedae8ea17261358890ceb09a2d9ae9a4fbfbc46af /sysdeps/m68k/elf
parent04a96fd464445c4f3825992bb50b1c94a10531e7 (diff)
downloadglibc-9e2c0dae9be993530623d0088b95f1278b2686c0.tar
glibc-9e2c0dae9be993530623d0088b95f1278b2686c0.tar.gz
glibc-9e2c0dae9be993530623d0088b95f1278b2686c0.tar.bz2
glibc-9e2c0dae9be993530623d0088b95f1278b2686c0.zip
* sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set
_dl_profile_map only if the name matches. (_dl_start_user): Remember stack address. * sysdeps/m68k/elf/start.S: Pass new argument to __libc_start_user. Wed Jun 10 10:32:11 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * sysdeps/m68k/dl-machine.h (elf_machine_runtime_setup): Set _dl_profile_map only if the name matches. (_dl_start_user): Remember stack address. * sysdeps/m68k/elf/start.S: Pass new argument to __libc_start_user.
Diffstat (limited to 'sysdeps/m68k/elf')
-rw-r--r--sysdeps/m68k/elf/start.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/m68k/elf/start.S b/sysdeps/m68k/elf/start.S
index c1a5c2e48f..eefe75286e 100644
--- a/sysdeps/m68k/elf/start.S
+++ b/sysdeps/m68k/elf/start.S
@@ -50,6 +50,10 @@ _start:
move.l %sp, %a0 /* The argument vector starts just at the
current stack top. */
+ /* Provide the highest stack address to the user code (for stacks
+ which grow downward). */
+ pea (%sp)
+
pea (%a1) /* Push address of the shared library
termination function. */