Honza wrote: > > Hello, > > I'm working on embedded system based on an arm926ej-s processor. We use a > 32MB SDRAM to run a code,which is booted from a serial flash. > Unfortunately the flash is too small and now I need to somehow deal with > it. I have a SD card available so I want to put a part of a code (library) > there and load it to RAM during the boot. > > I'm able to take a piece of data and copy it everywhere with my bootloader > but unfortunately I can't figure out how to link the project. I thought > that I put all the symbols from library to some special linker section > with defined address (like __attribute__((section=)) does), but it seems > it cannot be done globally (my library is relatively big, hundreds of > functions). Maybe building the library as the shared object could be the > way - but don't know how to prepare the linker script as I use the one > provided with Rowley Crossworks IDE, which has no support for dynamic > linking (no sections .dynamic, .hash, .pot etc.) because it is normally > used for non-os solutions. > > Is there anyone who could give me any advices about my issue, please? > > with best regards > Jan > I forgot to mention that I we are using arm-elf target with gcc 4.4.5 regards Jan -- View this message in context: http://old.nabble.com/Linking-a-shared-library-in-embedded-arm9-system-without-os-tp31288886p31288899.html Sent from the gcc - Help mailing list archive at Nabble.com.