search for: dt_debug_indirect

Displaying 5 results from an estimated 5 matches for "dt_debug_indirect".

2017 May 16
5
[lld][ELF] Add option to make .dynamic read only
...the .dynamic section of an application where possible. In particular we would like to have this option for Fuchsia. Other dynamic linkers, like musl, already have some support for this on non-MIPS targets as seen here: http://git.musl-libc.org/cgit/musl/tree/ldso/dynlink.c#n1629. In particular the DT_DEBUG_INDIRECT entry is recognized. This change would refactor code that already exists for MIPS specific .dynamic sections and make them available to other targets. Mostly this would just require renaming some things and moving a few lines around. The biggest part of this change would be to add the flag. I prop...
2017 May 23
3
[lld][ELF] Add option to make .dynamic read only
...The only reason for .dynamic to be > writable is DT_DEBUG which is something we never intend to support. FWIW in > Fuchsia all we need is a read-only .dynamic without emitting DT_DEBUG > altogether, but we wanted to make sure that this flag is also usable > elsewhere hence implementing DT_DEBUG_INDIRECT which is already supported > by musl as Jake pointed out. It might be easier to have an option for making .dynamic be read only and the logic for emitting DT_DEBUG becomes ".dynamic is rw or mips". BTW, dynamic linkers really never relocate the .d_ptr entries? What are you guys usin...
2017 May 17
2
[lld][ELF] Add option to make .dynamic read only
...ion where possible. In particular we >> would like to have this option for Fuchsia. Other dynamic linkers, like >> musl, already have some support for this on non-MIPS targets as seen here: >> http://git.musl-libc.org/cgit/musl/tree/ldso/dynlink.c#n1629. In >> particular the DT_DEBUG_INDIRECT entry is recognized. >> >> This change would refactor code that already exists for MIPS specific >> .dynamic sections and make them available to other targets. Mostly this >> would just require renaming some things and moving a few lines around. The >> biggest part of...
2017 May 17
2
[lld][ELF] Add option to make .dynamic read only
...ootprint. 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 < > llvm-dev at lists.llvm.org&...
2017 May 17
3
[lld][ELF] Add option to make .dynamic read only
...old'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 <...