search for: dt_mips_rld_map

Displaying 4 results from an estimated 4 matches for "dt_mips_rld_map".

2017 May 16
5
[lld][ELF] Add option to make .dynamic read only
Hi, This is a proposal to add an option to lld that forces .dynamic sections to be read-only. The .dynamic section is almost read-only except for the DT_DEBUG entry which requires the dynamic linker to modify a word. MIPS has long since had a solution to this using the DT_MIPS_RLD_MAP entry to give a pointer to another section which is writable. It would be nice to have this functionality on other targets as well however. Right now many dynamic linkers do not support this layer of indirection so this can't happen by default, it must be an option. Currently .dynamic gets mapp...
2017 May 17
2
[lld][ELF] Add option to make .dynamic read only
...roposal to add an option to lld that forces .dynamic sections >> to be read-only. >> >> The .dynamic section is almost read-only except for the DT_DEBUG entry >> which requires the dynamic linker to modify a word. MIPS has long since had >> a solution to this using the DT_MIPS_RLD_MAP entry to give a pointer to >> another section which is writable. It would be nice to have this >> functionality on other targets as well however. Right now many dynamic >> linkers do not support this layer of indirection so this can't happen by >> default, it must be an...
2017 May 17
2
[lld][ELF] Add option to make .dynamic read only
...that picky about memory footprint. For example, LLD and gold's outputs > are usually slightly different in size due to various reasons such as the > differences how they order sections, common symbols, etc., but no one seems > to care about that kind of negligible differences. Merging DT_MIPS_RLD_MAP > into DT_DEBUG_INDIRECT seems like a good change, but adding a new command > option to save one page at runtime seems overkill to me. (But I don't know > much about Fuchsia, so correct me if I'm wrong.) > > On Tue, May 16, 2017 at 6:08 PM, Jake Ehrlich via llvm-dev < >...
2017 May 17
3
[lld][ELF] Add option to make .dynamic read only
...footprint. For example, LLD and gold's outputs >>> are usually slightly different in size due to various reasons such as the >>> differences how they order sections, common symbols, etc., but no one seems >>> to care about that kind of negligible differences. Merging DT_MIPS_RLD_MAP >>> into DT_DEBUG_INDIRECT seems like a good change, but adding a new command >>> option to save one page at runtime seems overkill to me. (But I don't know >>> much about Fuchsia, so correct me if I'm wrong.) >>> >>> On Tue, May 16, 2017 at 6:08...