| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
This matches the behavior of bfd ld and gold. It is also convenient for
testing other changes.
llvm-svn: 249323
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The entries are added if there are "_init" or "_fini" entries in
the symbol table respectively. According to the behavior of ld,
entries are inserted even for undefined symbols.
Symbol names can be overridden by using -init and -fini command
line switches. If used, these switches neither add new symbol table
entries nor require those symbols to be resolved.
Differential Revision: http://reviews.llvm.org/D13385
llvm-svn: 249297
|
|
|
|
|
|
|
| |
This adds entries in the dynamic table for .init_array, .fini_array and
.preinit_array.
llvm-svn: 249175
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the "raw" Elf64_Dyn or Elf32_Dyn structures in
DynamicSection<ELFT>::writeTo does not correctly handle mixed-Endian
situations. Instead, use the corresponding llvm::object::* structures which
have Endian-converting members (like the rest of the code).
This fixes all currently-failing elf2 tests when running on big-Endian
PPC64/Linux (I've added a big-Endian test case which should fail on
little-Endian machines in the same way that test/elf2/shared.s failed on
big-Endian machines prior to this change).
llvm-svn: 249150
|
|
|
|
|
|
|
|
| |
According to the ELF specification, these dynamic array entries are mandatory.
http://reviews.llvm.org/D13303
llvm-svn: 248952
|
|
|
|
|
|
| |
Also added brief comments.
llvm-svn: 248864
|
|
|
|
|
|
| |
Reported/Requested by: Rafael Espindola
llvm-svn: 248643
|
|
|
|
| |
llvm-svn: 248604
|
|
|
|
| |
llvm-svn: 248599
|
|
|
|
| |
llvm-svn: 248586
|
|
|
|
| |
llvm-svn: 248560
|
|
|
|
|
|
| |
Pointed out by Rui Ueyama.
llvm-svn: 248559
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D13083
llvm-svn: 248499
|
|
|
|
| |
llvm-svn: 248412
|
|
|
|
|
|
| |
it in the symbol.
llvm-svn: 248393
|
|
|
|
| |
llvm-svn: 248360
|
|
|
|
| |
llvm-svn: 248347
|
|
|
|
|
|
|
|
|
|
| |
This is just enough to get PLT working on 32 bit x86.
The idea behind using a virtual interface is that it should be easy to
convert any of the functions to template parameters if any turns out to be
performance critical.
llvm-svn: 248308
|
|
|
|
| |
llvm-svn: 248229
|
|
|
|
|
|
| |
This matches the organization used in COFF.
llvm-svn: 248215
|
|
The file was getting a bit too big and OutputSection is a central enough
concept in ELF linking to justify its own file.
llvm-svn: 248214
|