llvm-project/lld/ELF
Rafael Espindola a85efd985c Don't create dynamic relocations to ro segments.
These would just crash at runtime.

If we ever decide to support rw text segments this should make it easier
to implement as there is now a single point where we notice the problem.

I have tested this with a freebsd buildworld. It found a non pic
assembly file being linked into a .so,. With that fixed, buildworld
finished.

llvm-svn: 268149
2016-04-30 01:15:17 +00:00
..
CMakeLists.txt ELF: Implement basic support for --version-script. 2016-04-22 20:21:26 +00:00
Config.h Do not call hasArg and getLastArg for the same option. 2016-04-28 02:08:54 +00:00
Driver.cpp ELF: Add -O0 (produce output as fast as possible) mode. 2016-04-29 16:12:29 +00:00
Driver.h Use a single context for lto. 2016-04-28 19:30:41 +00:00
DriverUtils.cpp Move utility functions to DriverUtils.cpp. 2016-04-26 20:41:32 +00:00
Error.cpp Remove dead code. 2016-03-13 04:25:43 +00:00
Error.h Needed change to lld for the change to libObject’s getName() for symbols now returning Expected<...> 2016-04-20 21:24:51 +00:00
ICF.cpp ELF: Move code to where it is used, and related cleanups. NFC. 2016-04-26 23:52:44 +00:00
ICF.h Rename elf2 to elf. 2016-02-28 00:25:54 +00:00
InputFiles.cpp Be sure to always increment the Versym pointer. 2016-04-29 17:46:07 +00:00
InputFiles.h Use a single context for lto. 2016-04-28 19:30:41 +00:00
InputSection.cpp Do not produce broken debug info. 2016-04-29 03:21:08 +00:00
InputSection.h Don't create dynamic relocations to ro segments. 2016-04-30 01:15:17 +00:00
LTO.cpp Use a single context for lto. 2016-04-28 19:30:41 +00:00
LTO.h Delete dead variable. 2016-04-28 20:29:12 +00:00
LinkerScript.cpp [ELF] - Implemented comparsion operators for linkerscript. 2016-04-25 08:14:41 +00:00
LinkerScript.h [ELF] - Removed dead declarations. NFC. 2016-04-25 08:08:54 +00:00
MarkLive.cpp ELF: Move code to where it is used, and related cleanups. NFC. 2016-04-26 23:52:44 +00:00
Options.td [ELF] Ignore -d option (and aliases). 2016-04-29 21:44:02 +00:00
OutputSections.cpp Use simpler types. NFC. 2016-04-29 23:20:30 +00:00
OutputSections.h ELF: Create .gnu.version and .gnu.version_r sections when linking against versioned DSOs. 2016-04-27 20:22:31 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
ScriptParser.cpp [ELF] - Implemented comparsion operators for linkerscript. 2016-04-25 08:14:41 +00:00
ScriptParser.h Use ScriptParserBase features to parse linker script expressions. 2016-04-23 00:04:03 +00:00
SymbolListFile.cpp Devirtualize ScriptParserBase. NFC. 2016-04-22 22:59:24 +00:00
SymbolListFile.h ELF: Implement basic support for --version-script. 2016-04-22 20:21:26 +00:00
SymbolTable.cpp [ELF] Fixed warning. NFC. 2016-04-29 13:32:30 +00:00
SymbolTable.h Removed dead code. NFC. 2016-04-27 09:24:03 +00:00
Symbols.cpp Remove Size from Undefined symbol. 2016-04-28 00:26:54 +00:00
Symbols.h Remove Size from Undefined symbol. 2016-04-28 00:26:54 +00:00
Target.cpp [ELF][MIPS] Accept MIPS 64-bit binaries 2016-04-29 10:39:17 +00:00
Target.h Rename isRelRelative 2016-04-28 14:34:39 +00:00
Writer.cpp Don't create dynamic relocations to ro segments. 2016-04-30 01:15:17 +00:00
Writer.h Rename elf2 to elf. 2016-02-28 00:25:54 +00:00

README.md

See docs/NewLLD.rst