[all-commits] [llvm/llvm-project] 281308: [ELF] Remove --fortran-common (#220813)

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Sep 21 20:11:03 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 281308d5666eff4b00ac743d2623dd4f018754ca
      https://github.com/llvm/llvm-project/commit/281308d5666eff4b00ac743d2623dd4f018754ca
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M lld/ELF/Config.h
    M lld/ELF/Driver.cpp
    M lld/ELF/InputFiles.cpp
    M lld/ELF/InputFiles.h
    M lld/ELF/Options.td
    M lld/ELF/Symbols.cpp
    M lld/docs/ld.lld.1
    M lld/test/ELF/common-archive-lookup.s
    M lld/test/ELF/warn-backrefs.s

  Log Message:
  -----------
  [ELF] Remove --fortran-common (#220813)

--fortran-common implements a legacy linker rule that lets a COMMON
symbol extract an archive member providing a STB_GLOBAL definition,
departing from the rule that only an undefined symbol extracts a member.

The option has defaulted to off since LLVM 15, complicates parallel
symbol resolution, and is deemed unneeded.

Close: #205015
Link: https://discourse.llvm.org/t/removal-of-fortran-common-option/91553



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list