Add "-z lazy" and "-z relro".
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 17296 Build 17296: arc lint + arc unit
Event Timeline
lld/ELF/Driver.cpp | ||
---|---|---|
765–766 | I'll add all gold's negative options. I'll upload a new patch. |
Paths
| Differential D45902
Add "-z lazy" and "-z relro". ClosedPublic Authored by ruiu on Apr 20 2018, 1:51 PM.
Details
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Apr 20 2018, 2:23 PM Closed by commit rLLD330482: Add -z {combreloc,copyreloc,noexecstack,lazy,relro,text}. (authored by ruiu). · Explain WhyApr 20 2018, 2:27 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 143388 lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/Relocations.cpp
lld/test/ELF/combrelocs.s
lld/test/ELF/dt_flags.s
lld/test/ELF/gnustack.s
lld/test/ELF/relro.s
lld/test/ELF/ztext.s
|
From man ld , Same here, "combreloc"