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?