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
commit08016d928b9ee7e595c3b99c5c899ddce1dc0261 (patch)
treee0dc36910060e31a929d4bf72344a746e513ba62 /sysdeps/m68k/elf
parent7021745518b3d26170ba9718f8de8252a6b6b84f (diff)
downloadglibc-08016d928b9ee7e595c3b99c5c899ddce1dc0261.tar
glibc-08016d928b9ee7e595c3b99c5c899ddce1dc0261.tar.gz
glibc-08016d928b9ee7e595c3b99c5c899ddce1dc0261.tar.bz2
glibc-08016d928b9ee7e595c3b99c5c899ddce1dc0261.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.
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. */