From 844eb437d60ecb547652e9e4107fd0308996717a Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Mon, 15 Apr 2002 07:32:29 +0000 Subject: (L_dummy_main_reference): Reference the C symbol `main', not the linker symbol `main'. --- libc/sysdeps/linux/v850/crt0.S | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/v850/crt0.S b/libc/sysdeps/linux/v850/crt0.S index 676560b20..b4da96035 100644 --- a/libc/sysdeps/linux/v850/crt0.S +++ b/libc/sysdeps/linux/v850/crt0.S @@ -51,9 +51,8 @@ C_ENTRY(start): // should never get here.... jr C_SYMBOL_NAME(abort) -/* Stick in a dummy reference to main(), so that if an application - * is linking when the main() function is in a static library (.a) - * we can be sure that main() actually gets linked in */ +/* Stick in a dummy reference to `main', so that if an application + is linking when the `main' function is in a static library (.a) + we can be sure that `main' actually gets linked in. */ L_dummy_main_reference: - .long main - + .long C_SYMBOL_NAME(main) -- cgit v1.2.3