[all-commits] [llvm/llvm-project] 1d4601: [Driver] Corrections for linker flags passed with ...

Brad Smith via All-commits all-commits at lists.llvm.org
Fri Oct 20 12:52:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1d4601a1ef84e4ffe2db84d17b53953b25699eef
      https://github.com/llvm/llvm-project/commit/1d4601a1ef84e4ffe2db84d17b53953b25699eef
  Author: Brad Smith <brad at comstyle.com>
  Date:   2023-10-20 (Fri, 20 Oct 2023)

  Changed paths:
    M clang/lib/Driver/ToolChains/OpenBSD.cpp
    M clang/test/Driver/openbsd.c

  Log Message:
  -----------
  [Driver] Corrections for linker flags passed with relocatable linking on OpenBSD (#67254)

The entry point symbol handling matches our GCC link spec..
```%{!shared:%{!nostdlib:%{!r:%{!e*:-e __start}}}}```

Remove usage of -Bdynamic as it is the default for the linker anyway.

Came up in discussion here https://github.com/llvm/llvm-project/pull/65644




More information about the All-commits mailing list