This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: objcopy behavior for --globalize-symbol and --keep-global-symbol (-G)
- From: Nick Clifton <nickc at redhat dot com>
- To: Jordan Rupprecht <rupprecht at google dot com>
- Cc: binutils at sourceware dot org, Eric Christopher <echristo at gmail dot com>
- Date: Tue, 2 Oct 2018 15:32:48 +0100
- Subject: Re: objcopy behavior for --globalize-symbol and --keep-global-symbol (-G)
- References: <CABC7LbRk6KFPO_XBfnZ6V7QrHQsQPJ=DKWqbVziWrEy7C3KYiQ@mail.gmail.com> <CABC7LbRxa9UPnLuh3OSXcax45eCoFLoPZfHZk5LTguS_tkc40Q@mail.gmail.com> <2c6aa520-2572-593d-6689-db34a181d41d@redhat.com> <CABC7LbQEzZ5jyLi4=Z++9kK65qwUyJUsDBPCEtBRYAjeUnKDgw@mail.gmail.com>
Hi Jordan,
>>> GNU objcopy. One thing I'm confused by is how --globalize-symbol and
>>> --keep-global-symbol are supposed to work, especially when comparing
>> Actually I think that it should be an error to mix the two options.
> Agree, probably worth just making it an error (or at least a warning)
> to use both flags.
Would you care to create a patch to do this, and then submit it for
review ? (hint hint... :-) I am just very busy right now, so I do
not have time myself, but I do not want this issue to be dropped either.
Cheers
Nick