This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
ARM/Thumb call_via_r stub
- From: Sven Rehfuss <sven dot rehfuss at b2motion dot de>
- To: binutils at sources dot redhat dot com
- Date: Wed, 16 Jun 2004 08:44:27 +0200
- Subject: ARM/Thumb call_via_r stub
- Organization: B2motion GmbH
Hi,
I have a working toolchain for ARM-ELF (gcc 3.3.4, binutils cvs 040608).
I applied several patches to get thumb working (I have a 1.5 MByte
application on an ARM7 system).
I have a library which has been compiled to be located in the section
.text. I changed the section ( to .sram) using arm-elf-objcopy (option
--rename-section).
I get linker errors about relocation errors concerning the _call_via_r
functions.
Is it possible to tell the linker that these function should be in the
.text section and a second one (e.g. with a different name) in the
section .sram?
Regards,
Sven Rehfuß