This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ARM/Thumb call_via_r stub


Hi Sven,

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?

Sorry no - well at least not at the moment. Feel free to develop a patch to do this if you want.


Another possibility would be to add the function yourself. Ie create a small assembler file with definitions of the call_via_r functions in the .sram section and try including that in the final link.

Cheers
  Nick




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]