[all-commits] [llvm/llvm-project] 5f1743: [ELF] Infer EI_OSABI from object files

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Jul 2 11:01:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f1743cd074cc7d45744d1acc8db379513b4501c
      https://github.com/llvm/llvm-project/commit/5f1743cd074cc7d45744d1acc8db379513b4501c
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M lld/ELF/Driver.cpp
    M lld/test/ELF/basic-freebsd.s

  Log Message:
  -----------
  [ELF] Infer EI_OSABI from object files

The first object file whose EI_OSABI is not ELFOSABI_NONE is selected.
This is useful for some OSes to identify themselves. This achieves
similar effects to BFD emulations `ld.lld -m *_fbsd` but is more
lightweight.

Pull Request: https://github.com/llvm/llvm-project/pull/97144



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