| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Port the D64906 technique to EM_X86_64.
Differential Revision: https://reviews.llvm.org/D67482
llvm-svn: 371958
|
|
|
|
|
|
|
|
|
|
|
|
| |
options. NFC
Also change some options that have different semantics (cause confusion) in llvm-readelf mode:
-s => -S
-t => --symbols
-sd => --section-data
llvm-svn: 359651
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If building lld without x86 support, tests that require that support should
be treated as unsupported, not errors.
Tested using:
1. cmake '-DLLVM_TARGETS_TO_BUILD=AArch64;X86'
make check-lld
=>
Expected Passes : 1406
Unsupported Tests : 287
2. cmake '-DLLVM_TARGETS_TO_BUILD=AArch64'
make check-lld
=>
Expected Passes : 410
Unsupported Tests : 1283
Patch by Joel Jones
Differential Revision: https://reviews.llvm.org/D47748
llvm-svn: 334095
|
|
|
|
|
|
|
| |
Relocatable file does not need to have an entry symbol so the warning is
useless in that case.
llvm-svn: 290206
|
|
|
|
|
|
|
|
|
| |
Previously, if a symbol specified by -e or ENTRY() is not found,
we didn't set entry point address. That is incompatible with GNU
because GNU linkers set the first address of .text to entry.
This patch implement that behavior.
llvm-svn: 287836
|
|
|
|
|
|
|
|
|
| |
Align to the large page size (known as a superpage or huge page).
FreeBSD automatically promotes large, superpage-aligned allocations.
Differential Revision: https://reviews.llvm.org/D27042
llvm-svn: 287782
|
|
|
|
|
|
|
|
| |
This is what other linkers and clang driver do.
Differential Revision: https://reviews.llvm.org/D25780
llvm-svn: 284634
|
|
|
|
|
|
| |
Differential revision: https://reviews.llvm.org/D25729
llvm-svn: 284575
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
library with no entry symbol
PR30521 was about linking shared library. After r282295 code when linking -shared produced
"entry symbol not found" warning, what in combination with --fatal-errors failed linkage.
Patch fixes logic (and adds testcases) to follow next rules:
1) If entry was specified and not found report warning.
2) If entry was not specified then:
a) Emit warning if not -shared.
b) Do not emit warning if -shared.
Differential revision: https://reviews.llvm.org/D24913
llvm-svn: 282427
|
|
|
|
|
|
| |
Fixes pr30465.
llvm-svn: 282295
|
|
|
|
|
|
| |
Differential revision: https://reviews.llvm.org/D23925
llvm-svn: 280912
|
|
|
|
| |
llvm-svn: 274524
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is reasonable to specify an entry point for shared objects - for
example, for the FreeBSD rtld ld-elf.so.1.
Unlike GNU ld we leave the entry address as 0 if -shared is specified
without -e.
Differential Revision: http://reviews.llvm.org/D15454
llvm-svn: 255349
|
|
|
|
| |
llvm-svn: 255347
|
|
|
|
|
|
|
|
|
|
| |
These symbols are expected to point to the end of the data segment.
Implements http://llvm.org/pr25528.
Differential Revision: http://reviews.llvm.org/D14833
llvm-svn: 253637
|
|
|
|
| |
llvm-svn: 253437
|
|
llvm-svn: 253313
|