This flag (and the whole field DT_FLAGS_1) originated from Solaris. I intend to use it in an LLD patch D80872.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
llvm/include/llvm/BinaryFormat/ELF.h | ||
---|---|---|
1299–1300 | There's an obvious gap here: what is 0x04000000? Should we support that too? |
llvm/include/llvm/BinaryFormat/ELF.h | ||
---|---|---|
1299–1300 | 0x04000000 is DF_1_STUB, stub object https://docs.oracle.com/cd/E36784_01/html/E36857/chapter2-22.html#scrolltoc binutils does not use it. I leave it out because it is not clear it is useful. (Bazel has an interface shared object which may use the flag.) |
There's an obvious gap here: what is 0x04000000? Should we support that too?