Re: [cc65] Segments

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
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:
>
> DATA

Initialized data.

> RODATA

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

> BSS

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.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
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 : 2002-10-17 11:23:15 CEST