Re: [cc65] Possible bug? Assmebler exports lower case only.

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2008-02-29 09:26:44
Good morning!

On Fri, Feb 29, 2008 at 01:05:54AM +0100, Markus Stehr wrote:
> Might be a bug or a feature but the linker wont use an assembler export
> when there are upper case letters in its name.
>
> .export _ScrollLinesUp
> wont show up in the map file (and the call points to the zeropage...)
>
> .export _scrolllinesup
> works just fine.

Are you importing _scrolllinesup somewhere? The standard setting for the
linker is to exclude all symbols from the map file that aren't referenced. So
if you use

        .export _ScrollLinesUp

somewhere and

        .import _scrollinesup

elsewhere, the exported symbol won't show up in the map file. To change this
behaviour, use -vm (verbose mapfile) on the linker command line.

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 Fri Feb 29 09:26:53 2008

This archive was generated by hypermail 2.1.8 : 2008-02-29 09:26:57 CET