I want to link in an interrupt vector table (written in C). I assume
I need to create a special section - starting at 0x4 or what ever,
and then link the table at this location. Specifically, how does one
do this?
I know how to create sections in the linker command file, and I know
how to use sections directive in ASSY, but how does one do this with
a C file? For example, how do I "tell" the linker to "put"
IntVec.c
starting at 0x4 program RAM, while putting the rest of the C program
code into the default .text sections?
Thanks in advance - Bill
Reply by Dobsik Lubomir-RC085C●June 20, 20032003-06-20
if, for
example, "IntVectors" is the C function you want to put in a particular
memory segment, you could try something like:
# ensure the
interrupt vectors are not deadstripped FORCE_ACTIVE
{FIntVectors}
-----Original
Message----- From: wjschint [mailto:w...@mchsi.com] Sent: 20. června 2003 7:56 To: m...@yahoogroups.com Subject: [motoroladsp] Using Sections in Code Warrior for DSP56807
I want to link in an interrupt vector table (written in
C). I assume I need to create a special section - starting at 0x4 or
what ever, and then link the table at this location. Specifically,
how does one do this?
I know how to create sections in the
linker command file, and I know how to use sections directive in ASSY, but
how does one do this with a C file? For example, how do I "tell" the
linker to "put" IntVec.c starting at 0x4 program RAM, while putting the
rest of the C program code into the default .text sections?
Thanks in advance - Bill
_____________________________________ Note: If you do a simple
"reply" with your email client, only the author of this message will receive
your answer. You need to do a "reply all" if you want your answer to be
distributed to the entire group.
_____________________________________ About this discussion group: