llvm-project/lld/ELF
Rafael Espindola be6073345e Start linker scripts at 0.
We were implicitly creating space for the headers. That is not the
behaviour of bfd, which requires the script to use SIZEOF_HEADERS. The
difference is important for scripts that don't use SIZEOF_HEADERS and
expect the first section to be at 0.

llvm-svn: 282818
2016-09-30 00:16:11 +00:00
..
CMakeLists.txt [ELF] Add support for -b binary 2016-09-09 22:08:04 +00:00
Config.h [ELF] Support -z max-page-size option 2016-09-28 15:20:47 +00:00
Driver.cpp Rename warning -> warn. 2016-09-29 21:00:23 +00:00
Driver.h Remove unused #includes. 2016-09-29 01:45:22 +00:00
DriverUtils.cpp COFF: Implement /linkrepro flag. 2016-07-26 02:00:42 +00:00
ELFCreator.cpp Add comments. 2016-09-12 21:44:29 +00:00
ELFCreator.h [ELF] Add support for -b binary 2016-09-09 22:08:04 +00:00
EhFrame.cpp [ELF] Allow arbitrary code alignment in .eh_frame 2016-07-29 04:41:38 +00:00
EhFrame.h Create a new file EhFrame.cpp and move code to read .eh_frame there. 2016-05-24 02:55:45 +00:00
Error.cpp Rename warning -> warn. 2016-09-29 21:00:23 +00:00
Error.h Rename "void check(Error)". 2016-09-29 21:00:26 +00:00
ICF.cpp Simplify InputFile ownership management. 2016-09-14 00:05:51 +00:00
ICF.h Do not pass Symtab to markLive/doICF since Symtab is globally accessible. 2016-05-02 19:30:42 +00:00
InputFiles.cpp Add comments. 2016-09-29 23:04:50 +00:00
InputFiles.h [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
InputSection.cpp [ELF][MIPS] Set GP0 value to zero in case of relocatable object generation 2016-09-29 12:58:48 +00:00
InputSection.h Store an ArrayRef for Data in InputSectionData. 2016-09-12 13:13:53 +00:00
LTO.cpp Remove HasError check after lto::LTO::run. 2016-09-29 22:50:37 +00:00
LTO.h Keep a private member private. 2016-09-29 22:37:45 +00:00
LinkerScript.cpp Start linker scripts at 0. 2016-09-30 00:16:11 +00:00
LinkerScript.h Don't error if we can't put the header in a PT_LOAD. 2016-09-29 18:50:34 +00:00
MarkLive.cpp Don't GC non-alloc mergeable section pieces 2016-09-29 10:27:10 +00:00
Mips.cpp Rename warning -> warn. 2016-09-29 21:00:23 +00:00
Options.td [ELF] - Implemented --sort-section cmd line option and SORT_NONE script command. 2016-09-16 20:21:55 +00:00
OutputSections.cpp [ELF][MIPS] Set GP0 value to zero in case of relocatable object generation 2016-09-29 12:58:48 +00:00
OutputSections.h [ELF] Change the way we compute file offsets 2016-09-29 09:20:33 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp Rename warning -> warn. 2016-09-29 21:00:23 +00:00
Relocations.h Delete dead field. NFC. 2016-09-07 20:37:34 +00:00
ScriptParser.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
ScriptParser.h Remove dead ctor. 2016-07-30 00:13:30 +00:00
Strings.cpp [ELF] - Linkerscript: implemented SORT_BY_INIT_PRIORITY. 2016-09-15 19:15:12 +00:00
Strings.h Fix old copy-n-paste errors. 2016-09-15 22:26:07 +00:00
SymbolListFile.cpp Recommit [ELF] - Versionscript: do not treat non-wildcarded names as wildcards. 2016-09-09 14:35:36 +00:00
SymbolListFile.h [ELF] - Remove VersionScriptParser class and move the members to ScriptParser 2016-08-31 09:08:26 +00:00
SymbolTable.cpp Rename warning -> warn. 2016-09-29 21:00:23 +00:00
SymbolTable.h [ELF/LTO] Switch to the new resolution-based API. 2016-09-29 00:40:08 +00:00
Symbols.cpp [ELF][MIPS] Setup STO_MIPS_PIC flag for PIC symbols when generate a relocatable object 2016-09-29 12:58:36 +00:00
Symbols.h [ELF][MIPS] Setup STO_MIPS_PIC flag for PIC symbols when generate a relocatable object 2016-09-29 12:58:36 +00:00
Target.cpp [ELF][MIPS] Setup STO_MIPS_PIC flag for PIC symbols when generate a relocatable object 2016-09-29 12:58:36 +00:00
Target.h [ELF] Set MAXPAGESIZE to 2MiB on x86-64 to match bfd and gold. 2016-08-17 02:10:51 +00:00
Thunks.cpp Sign extend a value before passing it to the Target. 2016-09-01 13:52:52 +00:00
Thunks.h Attempt to fix buildbots. 2016-07-09 23:02:37 +00:00
Writer.cpp Don't put ro before rx when using linker scripts. 2016-09-29 22:48:55 +00:00
Writer.h Linker script: implement AT [ (address) ] for PHDR 2016-09-09 09:46:16 +00:00

README.md

See docs/NewLLD.rst