llvm-project/lld/test
Markus Böck 65271ffe84 [lld][MinGW] Introduce aliases for -Bdynamic and -Bstatic
Besides -Bdynamic and -Bstatic, ld documents additional aliases for both of these options. Instead of -Bstatic, one may write -dn, -non_shared or -static. Instead of -Bdynamic one may write -dy or -call_shared. Source: https://sourceware.org/binutils/docs-2.36/ld/Options.html

This patch adds those aliases to the MinGW driver of lld for the sake of ld compatibility.

Encountered this case while compiling a static Qt 6.1 distribution and got build failures as -static was passed directly to the linker, instead of through the compiler driver.

Differential Revision: https://reviews.llvm.org/D102637
2021-05-17 22:13:26 +02:00
..
COFF [LLD] [COFF] Fix including the personality function for DWARF EH when linking with --gc-sections 2021-05-12 22:23:01 +03:00
ELF [lld][X86] Restore gotEntrySize. 2021-05-17 00:13:00 +01:00
MachO [lld/mac] Honor REFERENCED_DYAMICALLY, set it on __mh_execute_header 2021-05-17 14:22:12 -04:00
MinGW [lld][MinGW] Introduce aliases for -Bdynamic and -Bstatic 2021-05-17 22:13:26 +02:00
Unit Support multi-configuration generators correctly in several config files 2021-02-11 09:32:20 -08:00
darwin [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
mach-o [lld-macho] Switch default to new Darwin backend 2021-03-01 12:30:10 -05:00
wasm [lld][WebAssembly] Allow data symbols to extend past end of segment 2021-05-12 13:43:37 -07:00
CMakeLists.txt [lld-macho] Add llvm-otool as a test dependency 2021-05-09 21:12:58 -04:00
lit.cfg.py [lld-macho] Initial groundwork for -bitcode_bundle 2021-04-16 16:47:14 -04:00
lit.site.cfg.py.in [lld-macho] Initial groundwork for -bitcode_bundle 2021-04-16 16:47:14 -04:00