[PATCH] GCC compatibility: pass -z linker options to the linker
rnk at google.com
Mon Jul 7 12:03:30 PDT 2014
>>! In D4393#5, @joerg wrote:
> I'm against this. I haven't seen enough evidence of use to justify it, other options like -R are certainly a lot more popular...
FWIW I'm in favor. -z is not uncommon in my experience.
That said, a principled way to handle this would be to forward exactly the set of flags that gcc documents:
If you submit a patch to gcc to document -z as a linker option, then we can add it to clang and be done with it. =D
More information about the cfe-commits