Displaying 2 results from an estimated 2 matches for "createdynamicrelocationtable".
2014 Jan 19
2
[LLVMdev] [lld] Relocation sections format: .rela / .rel
...ot;.rela" sections only. Mips requires
to use the "rel" format. So we need to be able to select format and
names of relocation section, names of symbols like __rela_iplt_* /
__rel_iplt_*, dynamic table tag DT_RELA / DT_REL.
My current idea:
- Add two virtual functions
DefaultLayout::createDynamicRelocationTable() and
DefaultLayout::getPLTRelocationTable(). Call these functions when we
need to create relocation tables. By default these function create
.rela.* sections.
- Override createDynamicRelocationTable() and getPLTRelocationTable()
in the MipsTargetLayout to create .rel.* sections.
- Add support for...
2014 Jan 19
0
[LLVMdev] [lld] Relocation sections format: .rela / .rel
...requires
> to use the "rel" format. So we need to be able to select format and
> names of relocation section, names of symbols like __rela_iplt_* /
> __rel_iplt_*, dynamic table tag DT_RELA / DT_REL.
>
> My current idea:
> - Add two virtual functions
> DefaultLayout::createDynamicRelocationTable() and
> DefaultLayout::getPLTRelocationTable(). Call these functions when we
> need to create relocation tables. By default these function create
> .rela.* sections.
> - Override createDynamicRelocationTable() and getPLTRelocationTable()
> in the MipsTargetLayout to create .rel.* sec...