| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Having two directories with the same name modulo case does not work well
on Windows. The new test/elf directory was added in r281108. I assume
the intention was to add the test file to the existing test/ELF dir.
llvm-svn: 281115
|
| |
|
|
|
|
|
|
|
|
| |
Implemented by building an ELF file in memory.
elf, default, and binary match gold behavior.
Differential Revision: https://reviews.llvm.org/D24060
llvm-svn: 281108
|
| |
|
|
| |
llvm-svn: 253312
|
| |
|
|
|
|
| |
This is the first step in making ELF2 the default.
llvm-svn: 253188
|
| |
|
|
|
|
|
|
|
| |
GNU linkers accept both variants and at least for MIPS target gcc passes
joined variant of the '-m' option.
Differential Revision: http://reviews.llvm.org/D14133
llvm-svn: 251497
|
| |
|
|
| |
llvm-svn: 251242
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: atanasyan, ruiu
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D12447
llvm-svn: 248621
|
| |
|
|
|
|
| |
MIPS ABI supports only --hash-style=sysv variant.
llvm-svn: 247796
|
| |
|
|
|
|
| |
This matches GNU linker behaviour.
llvm-svn: 247795
|
| |
|
|
|
|
| |
and 64-bit MIPS ABIs
llvm-svn: 246337
|
| |
|
|
| |
llvm-svn: 246334
|
| |
|
|
|
|
| |
Without it it fails on 32 bit windows.
llvm-svn: 246297
|
| |
|
|
|
|
|
|
|
| |
This is a basic implementation that allows lld to emit binaries
consumable by the HSA runtime.
Differential Revision: http://reviews.llvm.org/D11267
llvm-svn: 246155
|
| |
|
|
|
|
|
| |
... in order to avoid conflicts when tests are run in parallel.
This is an attempt to fix PR24591.
llvm-svn: 246153
|
| |
|
|
|
|
| |
Submitted by: zan jyu via llvm-dev
llvm-svn: 245792
|
| |
|
|
|
|
|
|
| |
Patch by Simon Dardis.
Differential Revision: http://reviews.llvm.org/D12103
llvm-svn: 245491
|
| |
|
|
|
|
|
|
|
|
| |
Add PT_PHDR segment depending on its availability in linker script's
PHDRS command, fallback if no linker script is given.
Handle FILEHDR, PHDRS and FLAGS attributes of program header.
Differential Revision: http://reviews.llvm.org/D11589
llvm-svn: 244743
|
| |
|
|
|
|
| |
It was already working, but missing a test.
llvm-svn: 244477
|
| |
|
|
|
|
|
|
| |
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D11266
llvm-svn: 244317
|
| |
|
|
| |
llvm-svn: 243835
|
| |
|
|
|
|
| |
section, and __RLD_MAP symbol
llvm-svn: 243626
|
| |
|
|
|
|
| |
executable file
llvm-svn: 243211
|
| |
|
|
| |
llvm-svn: 243208
|
| |
|
|
| |
llvm-svn: 243006
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Put sections to segments according to linker scripts if available.
Rework the code of TargetLayout::assignSectionsToSegments so it operates
on the given list of segments, which can be either read from linker scripts
or constructed as before.
Handle NONE segments defined in linker scripts by putting corresponding sections
to PT_NULL segment.
Consider flags set for segments through linker scripts.
Differential Revision: http://reviews.llvm.org/D10918
llvm-svn: 243002
|
| |
|
|
| |
llvm-svn: 242760
|
| |
|
|
| |
llvm-svn: 242759
|
| |
|
|
|
|
|
|
| |
This patch fixes the TLS dynamic variable exportation from .got.plt segments,
created by General-dynamic relocations (TLSDESC). Current code only export
symbols in dynamic table from .got sections.
llvm-svn: 242142
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
When using a linker script expression to change the address of a section, even
if the new address is more than a page of distance from the old address, lld
may put everything in the same segment, forcing it to be unnecessarily large.
This patch changes the logic in Segment::assignVirtualAddress() and
Segment::assignFileOffsets() to allow the segment to be sliced into two or more
if it detects a linker script expression that changes a section address.
Differential Revision: http://reviews.llvm.org/D10952
llvm-svn: 242096
|
| |
|
|
| |
llvm-svn: 242014
|
| |
|
|
| |
llvm-svn: 241489
|
| |
|
|
| |
llvm-svn: 241378
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is GNU ELF linker extension used particularly by LibC code.
If input object files contain section named XXX, and the XXX is a valid C
identifier, and there are undefined or weak symbols __start_XXX/__stop_XXX,
linker should define __start_XXX/__stop_XXX symbols point to the begin/end
of the XXX section correspondingly.
For example, without support of this extension statically linked executables
for X86_64 and Mips (maybe other) targets do not flush IO buffers at the end
of executing.
llvm-svn: 241341
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds initial general-dynamic TLS support for AArch64. Currently
no optimization is done to realx for more performance-wise models (initial-exec
or local-exec). This patch also only currently handles correctly executable
generation, although priliminary DSO support through PLT specific creation
is also added.
With this change clang/llvm bootstrap with lld is possible in static configuration
(some DSO creation fails due missing Linker script support, not AArch64 specific),
although make check also shows some issues.
llvm-svn: 241192
|
| |
|
|
| |
llvm-svn: 240765
|
| |
|
|
| |
llvm-svn: 240763
|
| |
|
|
| |
llvm-svn: 240658
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some compilers may not add the section symbol in '.symtab' for the
.init_array and 'ldd' just ignore it. It results in global constructor
not being called in final executable.
This patch add both '.init_array' and '.fini_array' to be added in
Atom graph generation even when the section contains no symbol. An
already existing testcase is modified to check for such scenario.
The issue fixes the llvm test-suite regressions for both Single
and MultiSource files.
llvm-svn: 240570
|
| |
|
|
| |
llvm-svn: 240268
|
| |
|
|
| |
llvm-svn: 240267
|
| |
|
|
| |
llvm-svn: 240266
|
| |
|
|
| |
llvm-svn: 240265
|
| |
|
|
| |
llvm-svn: 240264
|
| |
|
|
|
|
| |
No functional changes.
llvm-svn: 240263
|
| |
|
|
| |
llvm-svn: 240262
|
| |
|
|
|
|
| |
No functional changes.
llvm-svn: 240261
|
| |
|
|
| |
llvm-svn: 240260
|
| |
|
|
| |
llvm-svn: 240259
|
| |
|
|
|
|
| |
No functional changes.
llvm-svn: 239962
|
| |
|
|
| |
llvm-svn: 239960
|