mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-03 14:08:57 +00:00
16d8031f94
Referencing one symbol from another in the same section does not generally require a relocation. However, the MS linker has a feature called /INCREMENTAL which enables incremental links. It achieves this by creating thunks to the actual function and redirecting all relocations to point to the thunk. This breaks down with the old scheme if you have a function which references, say, itself. On x86_64, we would use %rip relative addressing to reference the start of the function from out current position. This would lead to miscompiles because other references might reference the thunk instead, breaking function pointer equality. This fixes PR21520. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221678 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
alias.s | ||
align-nops.s | ||
bad-expr.s | ||
basic-coff-64.s | ||
basic-coff.s | ||
bigobj.py | ||
bss_section.ll | ||
bss.s | ||
comm-align.s | ||
comm.ll | ||
comm.s | ||
const-gv-with-rel-init.ll | ||
diff.s | ||
directive-section-characteristics.ll | ||
early-dce.s | ||
eh-frame.s | ||
feat00.s | ||
file.s | ||
global_ctors_dtors.ll | ||
initialised-data.ll | ||
invalid-def.s | ||
invalid-endef.s | ||
invalid-scl-range.s | ||
invalid-scl.s | ||
invalid-type-range.s | ||
invalid-type.s | ||
ir-to-imgrel.ll | ||
linker-options.ll | ||
linkonce-invalid.s | ||
linkonce.s | ||
lit.local.cfg | ||
lset0.s | ||
module-asm.ll | ||
offset.s | ||
rdata.ll | ||
relocation-imgrel.s | ||
secidx-diagnostic.s | ||
secidx.s | ||
secrel32.s | ||
secrel-variant.s | ||
section-comdat-conflict2.s | ||
section-comdat-conflict.s | ||
section-comdat.s | ||
section-invalid-flags.s | ||
section-name-encoding.s | ||
section-passthru-flags.s | ||
section.s | ||
seh-align1.s | ||
seh-align2.s | ||
seh-align3.s | ||
seh-linkonce.s | ||
seh-section.s | ||
seh-stackalloc-zero.s | ||
seh.s | ||
simple-fixups.s | ||
switch-relocations.ll | ||
symbol-alias.s | ||
symbol-fragment-offset-64.s | ||
symbol-fragment-offset.s | ||
symbol-mangling.ll | ||
timestamp.s | ||
tricky-names.ll | ||
weak-symbol.ll | ||
weak.s |