[all-commits] [llvm/llvm-project] 7fa529: __patchable_function_entries: don't use linkage fi...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jan 12 12:57:23 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fa5290d5bd5632d7a36a4ea9f46e81e04fb819e
      https://github.com/llvm/llvm-project/commit/7fa5290d5bd5632d7a36a4ea9f46e81e04fb819e
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-01-12 (Sun, 12 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    M llvm/test/CodeGen/AArch64/patchable-function-entry.ll

  Log Message:
  -----------
  __patchable_function_entries: don't use linkage field 'unique' with -no-integrated-as

.section name, "flags"G, @type, GroupName[, linkage]

As of binutils 2.33, linkage cannot be 'unique'.  For integrated
assembler, we use both 'o' flag and 'unique' linkage to support
--gc-sections and COMDAT with lld.

https://sourceware.org/ml/binutils/2019-11/msg00266.html




More information about the All-commits mailing list