[PATCH] GNU LD option export-dynamic can accept single dash flag

Ed Maste emaste at freebsd.org
Mon Jan 19 12:57:50 PST 2015


On 19 January 2015 at 11:32, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
> On Sun, Jan 18, 2015 at 10:28:27PM +0000, Davide Italiano wrote:
>> Some Makefiles on FreeBSD use -export-dynamic rather than --export-dynamic.
>> We're gonna patch them in the FreeBSD tree, but as long as this is
>> supposed to be a drop-in replacement for GNU ld, I think supporting
>> single dash flag is fine.
>
> I dislike this for the overlap with the -e option.

It is unfortunate, but necessary if we want to aim for full GNU ld
compatibility. Do we chase down various ld consumers and convince them
to switch to --?



More information about the llvm-commits mailing list