Re: [cc65] Segments

Date view Thread view Subject view

From: Ullrich von Bassewitz (
Date: 2002-10-17 11:23:11

On Wed, Oct 16, 2002 at 02:39:37PM -0700, Shawn Jefferson wrote:
> What exactly goes into these segments:

Initialized data.


Initialized constant data, string literals, jump tables and similar stuff.


Uninitialized data.

> Also, if I malloc some memory, what segment does this come from?

From BSS.

Note: All this can be changed using command line switches and different linker
config, so above information is only true for the default settings.



Ullrich von Bassewitz                        
To unsubscribe from the list send mail to 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 : 2002-10-17 11:23:15 CEST