hanchenye-llvm-project/lld/COFF
Shoaib Meenai e61ca35463 [COFF] Adjust secrel limit check
According to Microsoft's PE/COFF documentation, a SECREL relocation is
"The 32-bit offset of the target from the beginning of its section". By
my reading, the "from the beginning of its section" implies that the
offset is unsigned.

Change from an assertion to an error, since it's possible to trigger
this condition normally for input files with very large sections, and we
should fail gracefully for those instead of asserting.

Differential Revision: https://reviews.llvm.org/D38020

llvm-svn: 313703
2017-09-20 00:21:58 +00:00
..
CMakeLists.txt Integrate manifest merging library into LLD. 2017-08-22 03:15:28 +00:00
Chunks.cpp [COFF] Adjust secrel limit check 2017-09-20 00:21:58 +00:00
Chunks.h Remove {get,set}Align accessor functions and use Alignment member variable instead. 2017-09-13 21:54:55 +00:00
Config.h Revert r303378: Set IMAGE_DLL_CHARACTERISTICS_NO_BIND. 2017-09-15 22:49:13 +00:00
DLL.cpp Remove {get,set}Align accessor functions and use Alignment member variable instead. 2017-09-13 21:54:55 +00:00
DLL.h Revert "Merge IAT and ILT." 2017-06-02 18:49:38 +00:00
Driver.cpp [COFF] Check for sections larger than 4 GiB 2017-09-19 23:58:05 +00:00
Driver.h [COFF] Add support for the -wholearchive option 2017-09-13 07:28:03 +00:00
DriverUtils.cpp Fix crbug 759265 by suppressing llvm mt warnings. 2017-09-06 01:50:36 +00:00
Error.cpp [lld/pdb] Add some basic linker module symbols. 2017-07-10 21:01:37 +00:00
Error.h [lld/pdb] Add some basic linker module symbols. 2017-07-10 21:01:37 +00:00
ICF.cpp Remove {get,set}Align accessor functions and use Alignment member variable instead. 2017-09-13 21:54:55 +00:00
InputFiles.cpp COFF: simplify thunk handling (NFC) 2017-09-01 23:35:43 +00:00
InputFiles.h COFF: simplify thunk handling (NFC) 2017-09-01 23:35:43 +00:00
LTO.cpp COFF: Implement ThinLTO cache and cache pruning support. 2017-09-08 00:50:50 +00:00
LTO.h COFF: Implement ThinLTO cache and cache pruning support. 2017-09-08 00:50:50 +00:00
MapFile.cpp Remove {get,set}Align accessor functions and use Alignment member variable instead. 2017-09-13 21:54:55 +00:00
MapFile.h COFF: Change the /lldmap output format to be more like the ELF linker. 2017-01-14 03:14:46 +00:00
MarkLive.cpp [COFF] Allow debug info to relocate against discarded symbols 2017-06-28 17:06:35 +00:00
Memory.h Remove lld/Support/Memory.h. 2016-12-18 14:06:06 +00:00
Options.td [MinGW] Support dllexport on i386 2017-09-13 19:29:39 +00:00
PDB.cpp [COFF] Remove unused variable NFC 2017-09-15 01:07:08 +00:00
PDB.h [LLD COFF/PDB] Incrementally update the build id. 2017-08-15 21:31:41 +00:00
README.md
Strings.cpp Fix build breakage. 2017-06-19 18:04:34 +00:00
Strings.h COFF: Define overloaded toString functions. 2016-12-07 23:17:02 +00:00
SymbolTable.cpp COFF: simplify thunk handling (NFC) 2017-09-01 23:35:43 +00:00
SymbolTable.h COFF: simplify thunk handling (NFC) 2017-09-01 23:35:43 +00:00
Symbols.cpp [PDB] Write public symbol records and the publics hash table 2017-07-27 18:25:59 +00:00
Symbols.h [COFF] Add support for aligncomm directives 2017-08-14 19:07:27 +00:00
Writer.cpp [COFF] Check for sections larger than 4 GiB 2017-09-19 23:58:05 +00:00
Writer.h Remove Symtab aliases. 2017-08-28 21:51:07 +00:00

README.md

See docs/NewLLD.rst