AW: [cc65] Best way to get aligned memory...

Date view Thread view Subject view

From: Christian Krüger (christian.krueger_at_pace.de)
Date: 2003-01-09 13:17:21


Hi,

>   * If an object file is given on the command line, the 
> object file is always
>     linked to the executable.
> 
>   * If an object file is part of a library that is specified 
> on the linker
>     command line, only these modules from the library get 
> extracted that are
>     needed to satisfy unresolved references.

Hmm... so if I had the following code:

---8<---------------------------------
        .export _buffer1
	  .export _buffer2

.bss
_buffer1: .res    1024
_buffer2: .res	1024

---8<---------------------------------

and use _only _'buffer1' anywhere else in my source,
also buffer2 is reserved and linked? - regardless of
the usage?
(in fact I like to offer two buffers but it's possible
that the user only needs one... (two modules or not?))

chrisker
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-01-09 13:17:28 CET