re PR target/56010 (Powerpc, -mcpu=native and -mtune=native use the wrong name for...
authorPeter Bergner <bergner@vnet.ibm.com>
Thu, 1 Feb 2018 18:26:51 +0000 (12:26 -0600)
committerPeter Bergner <bergner@gcc.gnu.org>
Thu, 1 Feb 2018 18:26:51 +0000 (12:26 -0600)
commit6a92e0534b50ca5e97b325137044b502cceff99e
tree3c8c856620225c339d1fa6e1247eb3aec2ff38f3
parent177a970007480a410e84882267ed010178f5fc5a
re PR target/56010 (Powerpc, -mcpu=native and -mtune=native  use the wrong name for target 7450)

PR target/56010
PR target/83743
* config/rs6000/driver-rs6000.c: #include "diagnostic.h".
#include "opts.h".
(rs6000_supported_cpu_names): New static variable.
(linux_cpu_translation_table): Likewise.
(elf_platform) <cpu>: Define new static variable and use it.
Translate kernel AT_PLATFORM name to canonical name if needed.
Error if platform name is unknown.

From-SVN: r257305
gcc/ChangeLog
gcc/config/rs6000/driver-rs6000.c