[all-commits] [llvm/llvm-project] b06f16: [ARM][test] Test .long thumb_func - .

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Aug 26 16:28:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b06f16fa8108f4b8715b1df48ab5002052a24bd0
      https://github.com/llvm/llvm-project/commit/b06f16fa8108f4b8715b1df48ab5002052a24bd0
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-08-26 (Sat, 26 Aug 2023)

  Changed paths:
    M llvm/test/MC/ARM/pcrel-global.s

  Log Message:
  -----------
  [ARM][test] Test .long thumb_func - .

Commit 9746286beca2539438e0a6b783e106bc359036ca from 2011 is related to
a subtle case that is untested. GNU assembler produces an R_ARM_REL32
relocation.
We currently don't, therefore we have to add a workaround in MCExpr.cpp
to make the value odd (see commit 8ee6c0ea0bf30f1f1da6b49ee720b933f9676a30 "[MC] Remove isThumbFunc special case").




More information about the All-commits mailing list