This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH Gold] Recognize clang-style crtbegin and crtend files
- From: Cary Coutant <ccoutant at gmail dot com>
- To: "augustine dot sterling at gmail dot com" <augustine dot sterling at gmail dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Wed, 8 Jan 2020 12:37:39 -0800
- Subject: Re: [PATCH Gold] Recognize clang-style crtbegin and crtend files
- References: <CAGSvup8i2X19GxpOG2=nBm+JZeFvJjAne8tfWZ0q4nGtXsfqiw@mail.gmail.com> <CAJimCsHjm4BdRCY15jBbCkm7uK0cqZ+UY-hRrEH-4FGxY=uMCw@mail.gmail.com> <CAGSvup-J+qWAGgffuhFBQUuzr1qQm_vYXBsJdPqwiXA--Yxkiw@mail.gmail.com> <CAJimCsGKJM4FS--yxM5yphep6mqsKhm0gakYS1J+LAYQXc--nQ@mail.gmail.com> <CAGSvup9PsJT-fGAG4=79YRmq31eYiH-QO7YQHF5eBU4koMUJ3Q@mail.gmail.com>
> Clang uses two forms of its own (plus all of the gcc ones), which can
> be found in clang/lib/Driver/ToolChain.cpp:416:
>
> $(target_directory)/clang_rt.crtbegin.o
> clang_rt.crtbegin-$target.o
>
> This updated patch supports both of those forms.
Thanks. This is OK.
-cary