I have a standard makefile PODS app. I recently needed to add a second
code segent.
In section.h I added:
#define EXTRA_SECTION_ONE __attribute__ ((section ("code2")))
#define EXTRA_SECTION_TWO __attribute__ ((section ("code3")))
In my def file, I added:
multiple code { "code2" "code3"}
In one of my source files, I added EXTRA_SECTION_ONE to some of the
function declarations. I made sure the def file was being passed to
build-prc. But when I compile, I still get the following error message:
/usr/m68k-palmos/bin/ld: region coderes is full (VoiceNumRec.68k.o
section .text)
/usr/m68k-palmos/bin/ld: warning: no memory region specified for section
`code2'
Can anyone tell me why I'm getting this error? Also, does anyone have
any tips on putting entire classes in a seperate section.
Eric
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/