From 08016d928b9ee7e595c3b99c5c899ddce1dc0261 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 10 Jun 1998 01:35:06 +0000 Subject: * 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. --- sysdeps/m68k/elf/start.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sysdeps/m68k/elf') 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. */ -- cgit v1.2.3