]> git.pld-linux.org Git - packages/gcc.git/blob - gcc32-i386-default-momit-leaf-frame-pointer.patch
- massive attack: adding Source-md5
[packages/gcc.git] / gcc32-i386-default-momit-leaf-frame-pointer.patch
1 2002-05-29  Richard Henderson  <rth@redhat.com>
2
3         * config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Define with value.
4         (TARGET_BI_ARCH): Likewise.
5         * config/i386/i386.h: Test TARGET_64BIT_DEFAULT by value.
6         (TARGET_SWITCHES): Combine target defaults here not in TARGET_DEFAULT.
7         (TARGET_64BIT_DEFAULT): Default to 0.
8         (TARGET_DEFAULT): Default to MASK_OMIT_LEAF_FRAME_POINTER.
9
10 --- gcc/config/i386/biarch64.h.jj       Tue Oct  2 12:59:38 2001
11 +++ gcc/config/i386/biarch64.h  Tue Jun  4 15:11:52 2002
12 @@ -21,5 +21,5 @@ along with GNU CC; see the file COPYING.
13  the Free Software Foundation, 59 Temple Place - Suite 330,
14  Boston, MA 02111-1307, USA.  */
15  
16 -#define TARGET_64BIT_DEFAULT
17 -#define TARGET_BI_ARCH
18 +#define TARGET_64BIT_DEFAULT MASK_64BIT
19 +#define TARGET_BI_ARCH 1
20 --- gcc/config/i386/i386.h.jj   Thu Apr 18 19:02:03 2002
21 +++ gcc/config/i386/i386.h      Tue Jun  4 15:13:40 2002
22 @@ -192,7 +192,7 @@ extern int target_flags;
23  #ifdef TARGET_BI_ARCH
24  #define TARGET_64BIT (target_flags & MASK_64BIT)
25  #else
26 -#ifdef TARGET_64BIT_DEFAULT
27 +#if TARGET_64BIT_DEFAULT
28  #define TARGET_64BIT 1
29  #else
30  #define TARGET_64BIT 0
31 @@ -381,14 +381,14 @@ extern int x86_prefetch_sse;
32    { "no-red-zone",             MASK_NO_RED_ZONE,                             \
33      N_("Do not use red-zone in the x86-64 code") },                          \
34    SUBTARGET_SWITCHES                                                         \
35 -  { "", TARGET_DEFAULT, 0 }}
36 +  { "", TARGET_DEFAULT | TARGET_64BIT_DEFAULT | TARGET_SUBTARGET_DEFAULT, 0 }}
37  
38 -#ifdef TARGET_64BIT_DEFAULT
39 -#define TARGET_DEFAULT (MASK_64BIT | TARGET_SUBTARGET_DEFAULT)
40 -#else
41 -#define TARGET_DEFAULT TARGET_SUBTARGET_DEFAULT
42 +#ifndef TARGET_64BIT_DEFAULT
43 +#define TARGET_64BIT_DEFAULT 0
44  #endif
45  
46 +#define TARGET_DEFAULT MASK_OMIT_LEAF_FRAME_POINTER
47 +
48  /* Which processor to schedule for. The cpu attribute defines a list that
49     mirrors this list, so changes to i386.md must be made at the same time.  */
50  
51 @@ -624,13 +624,13 @@ extern int ix86_arch;
52  
53  #ifndef CPP_CPU_SPEC
54  #ifdef TARGET_BI_ARCH
55 -#ifdef TARGET_64BIT_DEFAULT
56 +#if TARGET_64BIT_DEFAULT
57  #define CPP_CPU_SPEC "%{m32:%(cpp_cpu32)}%{!m32:%(cpp_cpu64)} %(cpp_cpucommon)"
58  #else
59  #define CPP_CPU_SPEC "%{m64:%(cpp_cpu64)}%{!m64:%(cpp_cpu32)} %(cpp_cpucommon)"
60  #endif
61  #else
62 -#ifdef TARGET_64BIT_DEFAULT
63 +#if TARGET_64BIT_DEFAULT
64  #define CPP_CPU_SPEC "%(cpp_cpu64) %(cpp_cpucommon)"
65  #else
66  #define CPP_CPU_SPEC "%(cpp_cpu32) %(cpp_cpucommon)"
67 @@ -695,7 +695,7 @@ extern int ix86_arch;
68  #define DOUBLE_TYPE_SIZE 64
69  #define LONG_LONG_TYPE_SIZE 64
70  
71 -#if defined (TARGET_BI_ARCH) || defined (TARGET_64BIT_DEFAULT)
72 +#if defined (TARGET_BI_ARCH) || TARGET_64BIT_DEFAULT
73  #define MAX_BITS_PER_WORD 64
74  #define MAX_LONG_TYPE_SIZE 64
75  #else
This page took 0.028621 seconds and 3 git commands to generate.