Commit Graph

  • 7078f833ae Merge with latest master small-data Jack Andersen 2017-01-27 09:28:48 -10:00
  • 2fa85b9bd4 Merge branch 'master' into small-data Jack Andersen 2017-01-27 08:22:12 -10:00
  • 5007232701 Fix and simplify the reporting of undefined symbols. master Rafael Espindola 2017-01-27 15:52:08 +00:00
  • 1a0ca791ab [ELF][ARM] Use SyntheticSections for Thunks Peter Smith 2017-01-27 13:10:16 +00:00
  • 41cf1f1aea [ELF] Fixed formatting. NFC Eugene Leviant 2017-01-27 11:06:23 +00:00
  • 2b9698d609 [ELF] Bypass section type check Eugene Leviant 2017-01-27 11:01:43 +00:00
  • a5cb686de8 [lld][mips] Correct tests for mips64 implying PIC. Simon Dardis 2017-01-27 11:01:10 +00:00
  • c0b4f151b6 Fix -r when the input has a relocation with no symbol. Rafael Espindola 2017-01-26 14:09:18 +00:00
  • fb771c2dfc Remove unused #include. Rui Ueyama 2017-01-26 03:02:30 +00:00
  • d848fe3453 Rename NotFlags -> NegFlags. Rui Ueyama 2017-01-26 02:58:59 +00:00
  • 97a15effb1 Use StringRef::lower only once instead of calling ::tolower many times. Rui Ueyama 2017-01-26 02:58:39 +00:00
  • a5848a95c9 Split ScriptParser::readMemory. Rui Ueyama 2017-01-26 02:58:19 +00:00
  • a5dc0ab0d0 [ELF] Add warn-unresolved-symbols/error-unresolved-symbols options Davide Italiano 2017-01-26 02:19:20 +00:00
  • 51df4404f3 ELF: Simplify naming of object files created with save-temps. Peter Collingbourne 2017-01-26 02:18:28 +00:00
  • dc05e91183 Add file comments to Driver.cpp. Rui Ueyama 2017-01-26 01:52:05 +00:00
  • 7abe5b9b83 COFF: add test for /INCLUDE directives specified in bitcode Bob Haarman 2017-01-25 23:07:40 +00:00
  • 2caf1ba1c3 NFC: Rename (PDB) RawSession to NativeSession Adrian McCarthy 2017-01-25 22:38:55 +00:00
  • 09e97e6cb4 Fix typo. Rui Ueyama 2017-01-25 21:49:23 +00:00
  • 11fc8c9377 Do not use .s extension for non-assembly files. Rui Ueyama 2017-01-25 21:28:19 +00:00
  • 7df5943853 Make error messages more consistent with other messages. Rui Ueyama 2017-01-25 21:27:59 +00:00
  • 366d3b63de Change the --retain-symbols-file implementation. Rafael Espindola 2017-01-25 21:23:06 +00:00
  • 8e735854a2 Remove useless cast and update a comment. Rui Ueyama 2017-01-25 21:05:17 +00:00
  • 09f33e1b9b Make this test more strict. Rafael Espindola 2017-01-25 20:53:36 +00:00
  • 02be3f3405 [cmake] Fix -rpath-link in stand-alone build Michal Gorny 2017-01-25 19:33:14 +00:00
  • d133306f93 [ELF] - Implemented support for R_386_PC8/R_386_8 relocations. George Rimar 2017-01-25 13:36:49 +00:00
  • 84c9934af6 [ELF] Add local mapping symbols to ARM PLT entries Peter Smith 2017-01-25 10:31:16 +00:00
  • d768b3a467 Add a file comment to SyntheticSections.h. Rui Ueyama 2017-01-24 21:35:25 +00:00
  • afa842d2df [ELF] - Fixed crash after incrementing end iterator. George Rimar 2017-01-24 16:07:18 +00:00
  • d0c21a6a0b [ELF] Correct sh_info for static symbol table Peter Smith 2017-01-24 10:43:40 +00:00
  • 27698fb298 [lld][cmake] Fix BUILD_SHARED_LIBS installation Pavel Labath 2017-01-24 10:41:02 +00:00
  • eaded4dbeb [ELF] - Added additional comments on top of r292789 (D29021) George Rimar 2017-01-24 09:31:02 +00:00
  • bf786ac1e2 Do not allocate space for common symbols with -r Rui Ueyama 2017-01-24 03:41:20 +00:00
  • 96ebc3749e [LinkerScript] Implement MEMORY command Meador Inge 2017-01-24 02:34:00 +00:00
  • 63209e3146 [ELF] - Committed missing ld.ldd invocation to constructor.s George Rimar 2017-01-23 16:55:13 +00:00
  • af811a7e32 [ELF] - Stop handling local symbols in a special way. George Rimar 2017-01-23 14:07:23 +00:00
  • 1f8cbbf71b [ELF] - Linkerscripts: ignore CONSTRUCTORS in output section declaration. George Rimar 2017-01-23 09:36:19 +00:00
  • 9b9ac9b0ed [docs] Fix typo in section heading. Sean Silva 2017-01-22 03:28:56 +00:00
  • ce3167536e Fix failing lld pdb test. Zachary Turner 2017-01-20 22:57:24 +00:00
  • fd7199b7d7 [pdb] Write the Named Stream mapping to Yaml and binary. Zachary Turner 2017-01-20 22:42:09 +00:00
  • 4cdd9dc779 Don't create a bogus PT_PHDR if we don't allocate the headers. Rafael Espindola 2017-01-20 20:46:15 +00:00
  • a0862ed9ec Reduce code duplication when allocating program headers. Rafael Espindola 2017-01-20 20:41:18 +00:00
  • d5464274f6 Simplify. NFC. Rafael Espindola 2017-01-20 18:20:37 +00:00
  • cd11f81396 [ELF] Cleanup createThunks() NFC. Peter Smith 2017-01-20 15:25:45 +00:00
  • 6f3e95eb9c [ELF] - Do not crash when assign common symbol's values in script George Rimar 2017-01-20 09:45:36 +00:00
  • 34cc388c8e ELF: Fix ICF crash on absolute symbol relocations. Peter Collingbourne 2017-01-20 04:58:12 +00:00
  • 5e2c3f06cc Also define 'end' if it is present in a .so. Rafael Espindola 2017-01-19 19:51:02 +00:00
  • 6e46026938 Create _end symbol even if a .so defines it. Rafael Espindola 2017-01-19 19:43:34 +00:00
  • c2fa8bee30 [ELF] Move createThunks() after scanRelocations() Peter Smith 2017-01-18 09:57:14 +00:00
  • e138eb29ab Return early if writeMapFile failed. Rui Ueyama 2017-01-18 03:34:38 +00:00
  • e3230c368c ELF: Add support for relocation type R_X86_64_8. Peter Collingbourne 2017-01-18 02:20:53 +00:00
  • a99ffe7764 COFF: add error() and warn() to Error.{cpp,h} Bob Haarman 2017-01-17 19:07:42 +00:00
  • 3e23324851 Add a isInCurrentDSO helper. NFC. Rafael Espindola 2017-01-17 16:08:06 +00:00
  • 3bc831b6b7 [ELF] - Support optional comma after output section command. George Rimar 2017-01-17 15:32:12 +00:00
  • 550b9b9b0d [ELF] - Fix for huge-temporary-file.s George Rimar 2017-01-17 14:06:44 +00:00
  • ed2c552f57 [ELF] - Added huge-temporary-file.s testcase. George Rimar 2017-01-17 14:04:16 +00:00
  • 9dbdc45742 [ELF] - Do not create huge garbage files on section offset overflow. George Rimar 2017-01-17 13:50:34 +00:00
  • bbea939b9d [ELF] __cxa_demangle is now called itaniumDemangle. Update. Davide Italiano 2017-01-17 01:59:13 +00:00
  • 638ebb7b84 [ELF][MIPS] Exclude mips .got from PT_GNU_RELRO segment Simon Atanasyan 2017-01-16 21:17:23 +00:00
  • 0297a29ce5 [ELF][MIPS] Remove redundant checkings from test cases. NFC Simon Atanasyan 2017-01-16 21:17:09 +00:00
  • 0e7b69f810 Give priority to linker scripts over preemption. Rafael Espindola 2017-01-16 17:35:23 +00:00
  • ea81c07e46 [COFF] - Fixed format in writeOutSecLine() George Rimar 2017-01-16 11:46:55 +00:00
  • 22deb3dc86 [ELF] - Fix format specifiers in writeOutSecLine() George Rimar 2017-01-16 11:35:38 +00:00
  • c6119c399f Use error() instead of fatal() to handle file open error. Rui Ueyama 2017-01-16 01:07:19 +00:00
  • b2615ab5e7 Move a flag definition to the right place as -demangle is not ignored. Rui Ueyama 2017-01-15 03:45:46 +00:00
  • 90ded2b61c Add -no-{export-dynamic,fatal-warnings}. Rui Ueyama 2017-01-15 03:38:55 +00:00
  • 720140dd10 Add -print-map and -M options. Rui Ueyama 2017-01-15 02:52:34 +00:00
  • 3f3fcefdc1 Add a help text for -Map. Rui Ueyama 2017-01-15 02:52:14 +00:00
  • 1f6216ee65 Fix typo. Rui Ueyama 2017-01-15 02:34:42 +00:00
  • 83a9c84c75 Simplify string output. NFC. Rui Ueyama 2017-01-15 01:11:47 +00:00
  • 3d1a7b9834 Directly write to a -Map file. Rui Ueyama 2017-01-15 00:41:21 +00:00
  • 4496a00148 COFF: Change the /lldmap output format to be more like the ELF linker. Peter Collingbourne 2017-01-14 03:14:46 +00:00
  • 746bf15e0a Try to fix the windows bots. Rafael Espindola 2017-01-14 02:45:53 +00:00
  • fc28edef98 Split writeMapFile2 to reduce indentation level. Rui Ueyama 2017-01-14 00:37:28 +00:00
  • 962d6dab08 COFF: include relocation type in unsupported relocation message Bob Haarman 2017-01-13 22:05:22 +00:00
  • eea64b3d65 Implement -Map. Rafael Espindola 2017-01-13 21:05:46 +00:00
  • 9353fa250a Don't add DT_INIT/DT_FINI for undef and shared symbols. Rafael Espindola 2017-01-13 19:18:11 +00:00
  • 7f81d50d4c [ELF] - Move the addition of synthetics from addPredefinedSections() George Rimar 2017-01-13 16:18:15 +00:00
  • cc622a7000 Remove error(error_code, const Twine &). Rui Ueyama 2017-01-12 22:18:04 +00:00
  • cf21982550 Remove dead code. Rui Ueyama 2017-01-12 22:03:25 +00:00
  • c49461927d Clear the release notes for 5.0.0 Hans Wennborg 2017-01-12 22:00:54 +00:00
  • d6802083ef Do not use the same name for both a class and a variable. Rui Ueyama 2017-01-12 21:44:20 +00:00
  • 0b4c7959d9 Improve an error message and remove fatal(Error &, const Twine &) Rui Ueyama 2017-01-12 21:43:58 +00:00
  • d0fca168ab Update docs/conf.py version Hans Wennborg 2017-01-12 21:43:32 +00:00
  • 267714c0b9 Remove dead code. Rui Ueyama 2017-01-12 21:09:58 +00:00
  • d81c22cc9c Simplify. NFC. Rui Ueyama 2017-01-12 21:05:48 +00:00
  • ddc3065304 Allow mixing nobits and progbits. Rafael Espindola 2017-01-12 19:16:15 +00:00
  • 3e8a3b719d [ELF] avoid 'invalid-noreturn' error. Eric Liu 2017-01-12 13:13:32 +00:00
  • 2627e90284 [ELF] - Do not crash if user section has name equal to one of synthetic sections. George Rimar 2017-01-12 13:00:31 +00:00
  • 3358d46117 [ELF] - Reuse Decompressor class. George Rimar 2017-01-12 10:53:31 +00:00
  • df8e609e97 [ELF] - Make x86 unknown relocations messages to be consistent with x64 ones George Rimar 2017-01-12 09:09:15 +00:00
  • d5ba9b4c9f [ELF] - Explicitly list supported relocations for x64 target. George Rimar 2017-01-12 09:00:17 +00:00
  • 671c86fa06 PDB: Merge type info. Rui Ueyama 2017-01-12 03:09:25 +00:00
  • 0072e4a75d [CodeView] Finish decoupling TypeDatabase from TypeDumper. Zachary Turner 2017-01-11 23:24:22 +00:00
  • d4db817fd9 Make the -b binary .data section rw. Rafael Espindola 2017-01-11 15:13:05 +00:00
  • 0d6e8c6bb2 [ELF] - Ignore R_386_NONE. George Rimar 2017-01-11 14:20:13 +00:00
  • c0c08a864a [ELF] - Explicitly list supported relocations for x86 target. George Rimar 2017-01-11 08:29:52 +00:00
  • 56c6cb2298 [CodeView/PDB] Rename a bunch of files. Zachary Turner 2017-01-11 00:35:43 +00:00
  • e742126fe9 Inline a simple accessor function. Rui Ueyama 2017-01-10 21:52:56 +00:00
  • 6a965220f3 Give local binding to VER_NDX_LOCAL symbols. Rafael Espindola 2017-01-10 17:08:13 +00:00
  • 6c95c4c55a Add support for anonymous local symbols. Rafael Espindola 2017-01-10 16:37:24 +00:00