This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ld -defsym option
- From: Andreas Schwab <schwab at suse dot de>
- To: Fabio Alemagna <falemagn at studenti dot unina dot it>
- 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, 08 Jul 2003 15:07:10 +0200
- Subject: Re: ld -defsym option
- References: <Pine.OSF.4.44.0307081408050.23299-100000@studenti.unina.it>
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.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."