See http://reviews.llvm.org/D15775 where there's a suggestion that lld include DT_DEBUG also on MIPS. Then this change will allow rtld to populate DT_DEBUG, and lldb can then use DT_DEBUG if set, and eventually we can remove one MIPS special-case. Review posted for discussion; there may be a better implementation.
Details
Details
Diff Detail
Diff Detail
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
I don't need it, I suppose, but PT_DYNAMIC is specified to be writable on all other platforms and I didn't want to introduce an unnecessary test.
Comment Actions
Drop #ifdef __mips__ from writable_dynamic test. As @kib points out the test is cheap enough.
libexec/rtld-elf/rtld.c | ||
---|---|---|
1335 | s/1/true/ |