Skip to content
  • Henrik Gramner's avatar
    x86: Always use PIC in x86-64 asm · 275ef533
    Henrik Gramner authored and Anton Mitrofanov's avatar Anton Mitrofanov committed
    Most x86-64 operating systems nowadays doesn't even allow .text relocations
    in object files any more, and there is no measurable overall performance
    difference from using RIP-relative addressing in x264 asm.
    
    Enforcing PIC reduces complexity and simplifies testing.
    275ef533