This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ld -defsym option
- From: Fabio Alemagna <falemagn at studenti dot unina dot it>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: S kris <kris_bs at hotmail dot com>, <gcc at gcc dot gnu dot org>, <help-make at gnu dot org>, <kernelnewbies at nl dot linux dot org>
- Date: Tue, 8 Jul 2003 15:38:24 +0200 (CEST)
- Subject: Re: ld -defsym option
On Tue, 8 Jul 2003, Andreas Schwab wrote:
> Fabio Alemagna <falemagn@studenti.unina.it> writes:
>
> |> Symbol names have to be specified using the same mangling as they have in
> |> the compiler's asm output. The m68k port of gcc puts a '_' before every
> |> symbol's name,
>
> That depends on the target. Those using the ELF format typically don't.
Yes, you're right, but when I said "68k port" I was mainly thinking of
AmigaOS.
Fabio Alemagna