[U-Boot] [RFC] [PATCH V2] arm: arm926ejs: use ELF relocations
Albert ARIBAUD
albert.aribaud at free.fr
Tue Oct 5 13:46:17 CEST 2010
Le 05/10/2010 13:17, Reinhard Meyer a écrit :
> Dear All ;)
>>> Umm... is my understanding correct that we can drop the whole
>>> CONFIG_SYS_ARM_WITHOUT_RELOC stuff then, too?
>>
>> I believe we're just changing the relocation solution, but we're not
>> changing the overall strategy regarding CONFIG_SYS_ARM_WITHOUT_RELOC.
>
> We should not forget that right now, the "ELF" method uses 8 byte entries
> to relocate, compared to 4 byte entries with the "GOT" method. We
> should not proceed too fast here, the "thought about" tool to squeeze down
> the relocation information should not be completely forgotten...
>
> Otherwise even more boards would need to change their mtd partitioning ;)
>
> And I am not too happy if I cannot downgrade to the AT91SAM9XE256 anymore
> (256K NOR) if the 512K version proves difficult to obtain ;)
>
> Reinhard
I still think a configuration option to choose between relocation
formats would be useful. It could offer:
- pure ELF format (8 bytes per relocation plus .dynsym)
... already there, and then to be done:
- unified 32-bit format (half the size of pure ELF)
- unified 16-bit delta format (a fourth of the size of pure ELF)
Note these would probably be arch-specific; but maybe not.
Amicalement,
--
Albert.
More information about the U-Boot
mailing list