[PATCH] D29681: Handle -G as an alias to -shared

Simon Atanasyan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 7 22:37:28 PST 2017


atanasyan added a comment.

> This patch changes lld to handle -G as an alias to -shared. This means we would now error on "-G 123". How common is it for programs to use it meaning --gpsize?

On MIPS this option is rarely used for regular programs, but in case of Linux kernel build, embedded software etc it is commonly used. So it is better to continue ignore a numeric argument.


https://reviews.llvm.org/D29681





More information about the llvm-commits mailing list