Re: How to create a ROM library using GNU gcc and ld?
- From: Arlet <usenet+5@xxxxxxxxxx>
- Date: Sun, 30 Mar 2008 22:59:50 -0700 (PDT)
On Mar 31, 3:01 am, wyse0...@xxxxxxxxxxxx wrote:
Hi all,
Using GNU linker ld, I'd like to create a section .rom_code
grouping
some routines and all its dependencies, including the implicit called
ones such as math routines provided by libm.a. Going down in more
details, my intention is creating a stand-alone ROM image containing
several utility routines (with all its dependencies) that will be
used
You could use partial linking.
Use: ld -r with your object files and libraries to generate another .o
file.
Name this .o file explicitly in your linker script to put it in the
ROM area.
.
- Follow-Ups:
- Re: How to create a ROM library using GNU gcc and ld?
- From: wyse03br
- Re: How to create a ROM library using GNU gcc and ld?
- References:
- How to create a ROM library using GNU gcc and ld?
- From: wyse03br
- How to create a ROM library using GNU gcc and ld?
- Prev by Date: FSK/ASK on PLCC?
- Next by Date: AVR MCUs and Eclipse
- Previous by thread: How to create a ROM library using GNU gcc and ld?
- Next by thread: Re: How to create a ROM library using GNU gcc and ld?
- Index(es):
Relevant Pages
|