summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/v850
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-04-15 07:32:29 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-04-15 07:32:29 +0000
commit844eb437d60ecb547652e9e4107fd0308996717a (patch)
treeb7afc8af96d08dd01aad015f50b270f5713aea8d /libc/sysdeps/linux/v850
parenta546f7b7b22cf9ca09a00aa019175471a7e5921d (diff)
(L_dummy_main_reference): Reference the C symbol `main', not the linker
symbol `main'.
Diffstat (limited to 'libc/sysdeps/linux/v850')
-rw-r--r--libc/sysdeps/linux/v850/crt0.S9
1 files changed, 4 insertions, 5 deletions
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)