Skip to content
  • Simon Atanasyan's avatar
    [MIPS] Keep all code read addends in the `getImplicitAddend` function · c5455e23
    Simon Atanasyan authored
    Currently LLD reads the R_MIPS_HI16's addends in the `computeMipsAddend`
    function, the R_MIPS_LO16's addends in both `computeMipsAddend` and
    `getImplicitAddend` functions. This patch moves reading all addends to
    the `getImplicitAddend` function. As a side effect it fixes a "paired"
    HI16/LO16 addend calculation if "LO16" part of a pair is not found.
    
    llvm-svn: 311711
    c5455e23
Loading