How to tell the linker to place the particular function at the specified address?

Tomek Lorek <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <CAP62dvA4aijPPRQzdMuHQxpiLd4HFv4A0mG6n1OnpeuuSRSb5g@mail.gmail.com>
Hi,
I'm struggling to find out how can I tell the GNU linker (using
msp430-gcc frontend to msp430-ld with -Xlinker option) to place the
particular function at the specified address.

Suppose I have a __interrupt void Timer0_A0_alter(void) function that
I'd like to have exactly at 0xC400. Could you give me any hint?

Best Regards,
Tomek

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.