Re: [cc65] Undersores required for all asm calls?

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2010-04-29 23:18:40
On Thu, Apr 29, 2010 at 12:18:37PM +0200, silverdr@wfmh.org.pl wrote:
> I would say "especially for the very old compilers" ;-)

Ok, maybe :-)

> AFAIR there are options in gcc, which allow control over this..
>
> silverdr$ gcc -v --help 2>&1 |grep unders
>   -fleading-underscore        Give external symbols a leading
> underscore
> NanJing:~ silverdr$
>
> yup - seems there is something

The how do they protect visibility of assembly routines from C code? Ok, one
can use underlines to put them into the implementation name space of the C
compiler, but that doesn't prevent calling them.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Thu Apr 29 23:18:47 2010

This archive was generated by hypermail 2.1.8 : 2010-04-29 23:18:50 CEST