diff options
author | Jakub Jelinek <jakub@redhat.com> | 2012-01-24 14:18:08 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2012-01-24 14:18:08 +0100 |
commit | 5460e1fc15f7f0bab22b39e76ae736ca43b7e654 (patch) | |
tree | 88cbd16a5c789e76196223fc4ab26df0a0ea8af5 /gcc/gcc.c | |
parent | aa9ec4db5f08f659b904199129d3c5e52564df49 (diff) | |
download | gcc-5460e1fc15f7f0bab22b39e76ae736ca43b7e654.zip gcc-5460e1fc15f7f0bab22b39e76ae736ca43b7e654.tar.gz gcc-5460e1fc15f7f0bab22b39e76ae736ca43b7e654.tar.bz2 |
re PR driver/47249 (ICE in common_handle_option, at opts.c:1695 with unknown option passed to cc1)
PR driver/47249
* common.opt (-pie, -shared, pie, shared): Change from Common to
Driver.
* gcc.c (display_help): Display help for -pie and -shared.
From-SVN: r183474
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2988,6 +2988,8 @@ display_help (void) fputs (_(" -S Compile only; do not assemble or link\n"), stdout); fputs (_(" -c Compile and assemble, but do not link\n"), stdout); fputs (_(" -o <file> Place the output into <file>\n"), stdout); + fputs (_(" -pie Create a position independent executable\n"), stdout); + fputs (_(" -shared Create a shared library\n"), stdout); fputs (_("\ -x <language> Specify the language of the following input files\n\ Permissible languages include: c c++ assembler none\n\ |