aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-08-22 13:43:27 +0000
committerSebastian Huber <sh@gcc.gnu.org>2017-08-22 13:43:27 +0000
commit17691698c98255c459b7ad78e455596c14a94a9c (patch)
treec12451d662f25939ab33934ef8baa06b394ab836 /gcc/config.gcc
parentcd0835ce2d9d7f3450a5550497f313a1595ea68e (diff)
downloadgcc-17691698c98255c459b7ad78e455596c14a94a9c.zip
gcc-17691698c98255c459b7ad78e455596c14a94a9c.tar.gz
gcc-17691698c98255c459b7ad78e455596c14a94a9c.tar.bz2
[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
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 7e02443..446cab3 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2442,7 +2442,7 @@ powerpc-*-rtems*spe*)
;;
powerpc-*-rtems*)
tm_file="rs6000/biarch64.h ${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/rtems.h rtems.h"
- extra_options="${extra_options} rs6000/sysv4.opt"
+ extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm"
;;
powerpc*-*-linux*spe*)