| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 232755
|
|
|
|
| |
llvm-svn: 232707
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 232705
|
|
|
|
| |
llvm-svn: 232361
|
|
|
|
| |
llvm-svn: 232360
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 232359
|
|
|
|
|
|
|
|
| |
template class instantiation
No functional changes.
llvm-svn: 232081
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 231646
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 231645
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 231644
|
|
|
|
| |
llvm-svn: 231643
|
|
|
|
| |
llvm-svn: 231642
|
|
|
|
|
|
|
|
|
|
|
| |
1. Move relocation addendum reading code to the MipsRelocationHandler
class to reduce code duplication.
2. Factor out the relocations calculation code into the separate
function to be ready to handle MIPS N64 ABI relocation chains.
No functional changes.
llvm-svn: 231641
|
|
|
|
| |
llvm-svn: 231640
|
|
|
|
|
|
|
|
| |
We should not take in account a type of "source" symbol. Cross mode jump
adjustment is requred when target symbol and relocation belong to
different (regular/microMIPS) instruction sets.
llvm-svn: 231639
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 227245
|
|
|
|
| |
llvm-svn: 227244
|
|
|
|
|
|
|
|
|
|
|
| |
Misread buildbot's log.
Both gcc and clang compile this fine.
Original fix reason:
gcc allows template specializations only in the same namespace
where template has been declared.
llvm-svn: 227183
|
|
|
|
|
|
| |
The buildbot reported build failures for clang.
llvm-svn: 227179
|
|
|
|
|
|
|
| |
gcc allows template specializations only in the same namespace
where template has been declared.
llvm-svn: 227177
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is initial patch to support MIPS64 object files linking.
The patch just makes some classes more generalized, and rejects
attempts to interlinking O32 and N64 ABI object files.
I try to reuse the current MIPS target related classes as much as
possible because O32 and N64 MIPS ABI are tightly related and share
almost the same set of relocations, GOT, flags etc.
llvm-svn: 227058
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 227049
|
|
|
|
|
|
|
|
|
|
|
| |
At the moment errors in relocation processing such as out of range
values are not detected or at best trapped by asserts which will not
be present in release builds. This patch adds support for checking
error return values from applyRelocation() calls and printing an
appropriate error message. It also adds support for printing multiple
errors rather than just the first one.
llvm-svn: 226557
|
|
|
|
|
|
|
|
|
| |
If a regular symbol has microMIPS-bit we need to stop linking. Now the
LLD does not check the `applyRelocation` return value and continues
linking anyway. As a temporary workaround use the `llvm_unreachable`
call to stop the linker.
llvm-svn: 224831
|
|
|
|
|
|
|
| |
The change is rather large but mainly it just adds handling of new relocations,
PLT entries etc.
llvm-svn: 224826
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At present each TargetRelocationHandler generates a pretty similar error
string and calls llvm_unreachable() when encountering an unknown
relocation. This is not ideal for two reasons:
1. llvm_unreachable disappears in release builds but we still want to
know if we encountered a relocation we couldn't handle in release
builds.
2. Duplication is bad - there is no need to have a per-architecture error
message.
This change adds a test for AArch64 to test whether or not the error
message actually works. The other architectures have not been tested
but they compile and check-lld passes.
llvm-svn: 223782
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 222470
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 222469
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 222468
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 222467
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 221602
|
|
|
|
| |
llvm-svn: 220668
|
|
|
|
|
|
|
|
|
| |
This would permit the ELF reader to check the architecture that is being
selected by the linking process.
This patch also sorts the include files according to LLVM conventions.
llvm-svn: 220129
|
|
|
|
| |
llvm-svn: 210831
|
|
|
|
|
|
| |
R_MIPS_TLS_LDM etc.
llvm-svn: 210394
|
|
|
|
|
|
|
| |
There is no std::error_code::success, so this removes much of the noise
in transitioning to std::error_code.
llvm-svn: 209948
|
|
|
|
|
|
| |
No functional changes.
llvm-svn: 209709
|
|
|
|
|
|
| |
perform calculations for R_MIPS_GOT16 and R_MIPS_CALL16 relocations.
llvm-svn: 209594
|
|
|
|
|
|
| |
perform similar calculations.
llvm-svn: 209590
|
|
|
|
| |
llvm-svn: 209582
|
|
|
|
|
|
| |
against _gp_disp symbol.
llvm-svn: 209315
|
|
|
|
|
|
| |
referenced by a local symbol.
llvm-svn: 209063
|
|
|
|
| |
llvm-svn: 207949
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Re-implement PLT entries and dynamic relocations emitting to keep PLT
and relocations table in a consistent state.
2. Initialize st_value and st_other fields for dynamic symbols table
entry if this entry corresponds to an external function which address is
taken in a non-PIC executable. In that case the st_value field holds an
address of the function's PLT entry. Also set STO_MIPS_PLT bit in the
st_other field.
llvm-svn: 207494
|
|
|
|
| |
llvm-svn: 206018
|
|
|
|
| |
llvm-svn: 204982
|
|
|
|
| |
llvm-svn: 204248
|
|
|
|
|
|
|
|
|
| |
of GOT.
* Read addend for R_MIPS_GOT16 relocation.
* Put only high 16 bits of symbol + addend into GOT entries for
locally visible symbols.
llvm-svn: 204247
|
|
|
|
|
|
| |
a uniform way.
llvm-svn: 204246
|
|
|
|
| |
llvm-svn: 204243
|