[all-commits] [llvm/llvm-project] 5922dd: [ELF] Rename hasStaticTlsModel to hasTlsIe

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Nov 24 23:17:28 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5922dd91f8db24c29d6ae3b1fd57d8b836e521bd
      https://github.com/llvm/llvm-project/commit/5922dd91f8db24c29d6ae3b1fd57d8b836e521bd
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-24 (Wed, 24 Nov 2021)

  Changed paths:
    M lld/ELF/Arch/Hexagon.cpp
    M lld/ELF/Arch/RISCV.cpp
    M lld/ELF/Arch/X86.cpp
    M lld/ELF/Arch/X86_64.cpp
    M lld/ELF/Config.h
    M lld/ELF/SyntheticSections.cpp

  Log Message:
  -----------
  [ELF] Rename hasStaticTlsModel to hasTlsIe

and remove unneeded atomic.


  Commit: 6ca8fde226e907db13bc538e721af8724f0e92d0
      https://github.com/llvm/llvm-project/commit/6ca8fde226e907db13bc538e721af8724f0e92d0
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-11-24 (Wed, 24 Nov 2021)

  Changed paths:
    M lld/ELF/SyntheticSections.cpp
    M lld/test/ELF/i386-tls-opt-iele-nopic.s
    M lld/test/ELF/x86-64-static-tls-model.s
    M lld/test/ELF/x86-64-tls-ie.s

  Log Message:
  -----------
  [ELF] Emit DF_STATIC_TLS only for -shared

This matches GNU ld and saves 2 words for executables.


Compare: https://github.com/llvm/llvm-project/compare/371290dfd400...6ca8fde226e9


More information about the All-commits mailing list