This is the mail archive of the binutils@sourceware.org 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: [PATCH] Utilize Blackfin L1 SRAM


Daniel Jacobowitz wrote:
On Sat, Jul 12, 2008 at 02:47:40AM +0800, Jie Zhang wrote:
Yes. The loader will do relocation when load application or shared library into L1 SRAMs. We use FD-PIC ABI here since Blackfin has no MMU. In FD-PIC ABI, each segment can be relocated independently. In fine grained control, code segment for normal code will be loaded into SDRAM, while code segment for L1 SRAM will be loaded into L1 instruction SRAM. In coarse grained control, all code segment will be loaded into L1 instruction SRAM if EF_BFIN_CODE_IN_L1 is set in ELF header. The situation for data is similar.

Oh, I understand now. I didn't realize this was for FDPIC binaries; it makes sense now. These linker options are all for "coarse grained control", right?

Yes. These options are all for coarse grained control. But that patch also contains code for fine grained control, i.e. OTHER_SECTIONS in elf32bfinfd.sh.


Jie



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