This makes it possible to assemble position independent code using the GOTdata_op model. It gives the linker the possibility to change a load into an add when the location of the symbol is less than 2 GB away.
Diff Detail
Diff Detail
Paths
| Differential D51613
[Sparc] Add fixups for the GOTdata_op model Needs ReviewPublic Authored by dcederman on Sep 4 2018, 2:07 AM.
Details
Diff Detail Event TimelineHerald added subscribers: llvm-commits, jrtc27, fedor.sergeev. · View Herald TranscriptSep 4 2018, 2:07 AM
Revision Contents
Diff 163763 lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp
lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h
lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp
test/MC/Sparc/sparc-pic.s
|