[PowerPC/RTEMS] Enable -mcmodel option
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Tue, 22 Aug 2017 13:43:27 +0000 (13:43 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Tue, 22 Aug 2017 13:43:27 +0000 (13:43 +0000)
commit17691698c98255c459b7ad78e455596c14a94a9c
treec12451d662f25939ab33934ef8baa06b394ab836
parentcd0835ce2d9d7f3450a5550497f313a1595ea68e
[PowerPC/RTEMS] Enable -mcmodel option

gcc/
* config.gcc (powerpc-*-rtems*): Add rs6000/linux64.opt.
* config/rs6000/rtems.h (ASM_PREFERRED_EH_DATA_FORMAT): New define.
(DOT_SYMBOLS): Likewise.
(MINIMAL_TOC_SECTION_ASM_OP): Likewise.
(RELOCATABLE_NEEDS_FIXUP): Likewise.
(RS6000_ABI_NAME): Likewise.
(TARGET_CMODEL): Likewise.
(TOC_SECTION_ASM_OP): Likewise.
(SET_CMODEL): New macro.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Evaluate cmodel options.

From-SVN: r251275
gcc/ChangeLog
gcc/config.gcc
gcc/config/rs6000/rtems.h