comparison gcc/config/rs6000/rs6000-linux.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* Functions for Linux on PowerPC. 1 /* Functions for Linux on PowerPC.
2 Copyright (C) 2013-2017 Free Software Foundation, Inc. 2 Copyright (C) 2013-2018 Free Software Foundation, Inc.
3 3
4 This file is part of GCC. 4 This file is part of GCC.
5 5
6 GCC is free software; you can redistribute it and/or modify 6 GCC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
15 15
16 You should have received a copy of the GNU General Public License 16 You should have received a copy of the GNU General Public License
17 along with GCC; see the file COPYING3. If not see 17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */ 18 <http://www.gnu.org/licenses/>. */
19 19
20 #define IN_TARGET_CODE 1
21
20 #include "config.h" 22 #include "config.h"
21 #include "system.h" 23 #include "system.h"
22 #include "coretypes.h" 24 #include "coretypes.h"
23 #include "tm.h" 25 #include "tm.h"
24 26
30 /* glibc has support for exceptions and rounding modes for software 32 /* glibc has support for exceptions and rounding modes for software
31 floating point. */ 33 floating point. */
32 if (OPTION_GLIBC) 34 if (OPTION_GLIBC)
33 return true; 35 return true;
34 else 36 else
35 return TARGET_DF_INSN; 37 return TARGET_HARD_FLOAT;
36 } 38 }