[PATCH] D57738: [llvm-objcopy] Add --redefine-syms

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 6 07:07:34 PST 2019


jhenderson added a comment.

In D57738#1387047 <https://reviews.llvm.org/D57738#1387047>, @evgeny777 wrote:

> @jhenderson
>
> > One question from me: is it possible using GNU objcopy to redefine to/from a name with a space in it this way?
>
> Yes. I can redefine to a space (or even an empty string) like this
>
>   objcopy --redefine-sym=main=' ' a.out b.out
>
>
> Still GNU objcopy seems to now allow the same to be done with --redefine-syms <file>
>  May be pop up warning in llvm-objcopy on such occasions?


I was actually referring to --redefine-syms, i.e. how it looks in a file. Did you mean "not allow" rather than "now allow" in that other statement? I'm not quite sure what you're proposing re. the warning.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57738/new/

https://reviews.llvm.org/D57738





More information about the llvm-commits mailing list