llvm-project/lld/ELF
Rafael Espindola b7147ad3dd Correct ALIGN expression when inside a section.
When given

foobar = ALIGN(., 0x100);

my expectation from what the manual says is that the final address of
foobar will be aligned. It seems that bfd aligns the offset in the
section, which causes some odd results if the section is not 0x100
aligned. Gold aligns the address.

This changes lld to align the final address.

llvm-svn: 312979
2017-09-11 23:44:53 +00:00
..
Arch [ELF] Always write non-immediate bits for AArch64 branch instruction. 2017-09-07 16:29:52 +00:00
CMakeLists.txt Add basic 64-bit SPARC support 2017-06-28 17:05:39 +00:00
Config.h Handle empty dynamic lists. 2017-09-08 18:53:43 +00:00
Driver.cpp LLD: Introduce a GNU LD style driver for COFF 2017-09-11 17:02:59 +00:00
Driver.h [GSoC] Flag value completion for clang 2017-06-20 16:31:31 +00:00
DriverUtils.cpp [ELF] Rewrite --symbol-ordering-file path in reproducer 2017-09-06 10:10:49 +00:00
EhFrame.cpp Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
EhFrame.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
Error.cpp Use StringRef::contains(). 2017-07-19 21:40:26 +00:00
Error.h [lld/pdb] Add some basic linker module symbols. 2017-07-10 21:01:37 +00:00
Filesystem.cpp ELF: Only unlink regular files 2017-07-04 16:03:34 +00:00
Filesystem.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
GdbIndex.cpp Use more consistent names 2017-08-02 17:35:18 +00:00
GdbIndex.h Rename ObjectFile -> ObjFile. 2017-07-26 22:13:32 +00:00
ICF.cpp Rewrite std::equal as plain for-loops. 2017-08-28 22:28:41 +00:00
ICF.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
InputFiles.cpp [ELF] Prevent crash with binary inputs with non-ascii file names 2017-09-07 08:30:09 +00:00
InputFiles.h Rename {Lazy,}ObjectKind -> {Lazy,}ObjKind. 2017-08-19 00:13:54 +00:00
InputSection.cpp [ELF] - Rename PhdrEntry::First/Last to FirstSec/LastSec. NFC. 2017-09-07 11:01:10 +00:00
InputSection.h Simplify type. NFC. 2017-09-06 22:16:32 +00:00
LTO.cpp LTO: Try to open cache files before renaming them. 2017-09-05 19:51:38 +00:00
LTO.h Make __start_sec __end_sec handling more precise. 2017-07-26 23:39:10 +00:00
LinkerScript.cpp Correct ALIGN expression when inside a section. 2017-09-11 23:44:53 +00:00
LinkerScript.h [ELF] - Linkerscript: implement REGION_ALIAS. 2017-09-08 08:23:15 +00:00
MapFile.cpp Currently lld creates a single section to collect all commons. There is no way 2017-09-08 16:22:43 +00:00
MapFile.h Merge OutputSectionCommand and OutputSection. 2017-07-27 19:22:43 +00:00
MarkLive.cpp Remove ResolvedReloc. 2017-08-10 16:21:04 +00:00
Memory.h [ELF] - Apply clang-format. NFC. 2017-07-18 11:55:35 +00:00
Options.td Add -no-gdb-index which negates -gdb-index option. 2017-09-07 22:40:54 +00:00
OutputSections.cpp [ELF] - Move getSymbols() methods to InputFile. 2017-08-04 11:07:42 +00:00
OutputSections.h [ELF] - Store pointer to PT_LOAD instead of pointer to first section in OutputSection 2017-09-07 10:53:07 +00:00
README.md Update the documents of the new LLD. 2016-03-12 06:06:40 +00:00
Relocations.cpp [ELF] - Mention -fPIC in some error messages. 2017-08-29 15:03:01 +00:00
Relocations.h Merge OutputSectionCommand and OutputSection. 2017-07-27 19:22:43 +00:00
ScriptLexer.cpp [ELF] - Do not report multiple errors for single one in ScriptLexer::setError. 2017-08-23 08:48:39 +00:00
ScriptLexer.h [ELF] - Remove ScriptLexer::Error field and check ErrorCount instead. 2017-08-04 10:34:14 +00:00
ScriptParser.cpp Handle empty dynamic lists. 2017-09-08 18:53:43 +00:00
ScriptParser.h Move the parser for the linker script to a separate file. 2017-04-05 05:07:39 +00:00
Strings.cpp [ELF] Prevent crash with binary inputs with non-ascii file names 2017-09-07 08:30:09 +00:00
Strings.h [ELF] Prevent crash with binary inputs with non-ascii file names 2017-09-07 08:30:09 +00:00
SymbolTable.cpp If --dynamic-list is given, only those symbols are preemptible. 2017-09-08 18:16:59 +00:00
SymbolTable.h If --dynamic-list is given, only those symbols are preemptible. 2017-09-08 18:16:59 +00:00
Symbols.cpp Currently lld creates a single section to collect all commons. There is no way 2017-09-08 16:22:43 +00:00
Symbols.h Currently lld creates a single section to collect all commons. There is no way 2017-09-08 16:22:43 +00:00
SyntheticSections.cpp Currently lld creates a single section to collect all commons. There is no way 2017-09-08 16:22:43 +00:00
SyntheticSections.h Currently lld creates a single section to collect all commons. There is no way 2017-09-08 16:22:43 +00:00
Target.cpp [ELF] Introduce target specific inBranchRange() function 2017-07-17 16:54:29 +00:00
Target.h Fix which file is in an error message. 2017-08-04 18:33:16 +00:00
Threads.h Update comments: parallel_for_each -> parallelForEach 2017-08-23 19:03:20 +00:00
Thunks.cpp [ELF] - Fix member name: alignment -> Alignment. NFC. 2017-07-18 11:59:19 +00:00
Thunks.h [ELF] - Fix member name: alignment -> Alignment. NFC. 2017-07-18 11:59:19 +00:00
Writer.cpp Remove a redundant local variable. 2017-09-08 19:41:35 +00:00
Writer.h [ELF] - Rename PhdrEntry::First/Last to FirstSec/LastSec. NFC. 2017-09-07 11:01:10 +00:00

README.md

See docs/NewLLD.rst