From 9e2c0dae9be993530623d0088b95f1278b2686c0 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. Wed Jun 10 10:32:11 1998 Andreas Schwab * 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 1.4.1