diff options
author | Miles Bader <miles@lsi.nec.co.jp> | 2002-04-15 07:32:29 +0000 |
---|---|---|
committer | Miles Bader <miles@lsi.nec.co.jp> | 2002-04-15 07:32:29 +0000 |
commit | 844eb437d60ecb547652e9e4107fd0308996717a (patch) | |
tree | b7afc8af96d08dd01aad015f50b270f5713aea8d | |
parent | a546f7b7b22cf9ca09a00aa019175471a7e5921d (diff) | |
download | uClibc-alpine-844eb437d60ecb547652e9e4107fd0308996717a.tar.bz2 uClibc-alpine-844eb437d60ecb547652e9e4107fd0308996717a.tar.xz |
(L_dummy_main_reference): Reference the C symbol `main', not the linker
symbol `main'.
-rw-r--r-- | libc/sysdeps/linux/v850/crt0.S | 9 |
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) |