diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch b/meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch index b9bca49dd8..4d7c7e3f18 100644 --- a/meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch +++ b/meta/recipes-devtools/gcc/gcc/0001-CVE-2021-35465.patch | |||
@@ -33,7 +33,7 @@ Signed-off-by: Pgowda <pgowda.cve@gmail.com> | |||
33 | diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c | 33 | diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c |
34 | --- a/gcc/config/arm/arm.c 2020-07-22 23:35:17.344384552 -0700 | 34 | --- a/gcc/config/arm/arm.c 2020-07-22 23:35:17.344384552 -0700 |
35 | +++ b/gcc/config/arm/arm.c 2021-11-11 20:16:19.761241867 -0800 | 35 | +++ b/gcc/config/arm/arm.c 2021-11-11 20:16:19.761241867 -0800 |
36 | @@ -3595,6 +3595,15 @@ arm_option_override (void) | 36 | @@ -3610,6 +3610,15 @@ arm_option_override (void) |
37 | fix_cm3_ldrd = 0; | 37 | fix_cm3_ldrd = 0; |
38 | } | 38 | } |
39 | 39 | ||
@@ -52,7 +52,7 @@ diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c | |||
52 | diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in | 52 | diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in |
53 | --- a/gcc/config/arm/arm-cpus.in 2020-07-22 23:35:17.340384509 -0700 | 53 | --- a/gcc/config/arm/arm-cpus.in 2020-07-22 23:35:17.340384509 -0700 |
54 | +++ b/gcc/config/arm/arm-cpus.in 2021-11-11 20:17:01.364573561 -0800 | 54 | +++ b/gcc/config/arm/arm-cpus.in 2021-11-11 20:17:01.364573561 -0800 |
55 | @@ -190,6 +190,9 @@ define feature quirk_armv6kz | 55 | @@ -186,6 +186,9 @@ define feature quirk_armv6kz |
56 | # Cortex-M3 LDRD quirk. | 56 | # Cortex-M3 LDRD quirk. |
57 | define feature quirk_cm3_ldrd | 57 | define feature quirk_cm3_ldrd |
58 | 58 | ||
@@ -62,7 +62,7 @@ diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in | |||
62 | # Don't use .cpu assembly directive | 62 | # Don't use .cpu assembly directive |
63 | define feature quirk_no_asmcpu | 63 | define feature quirk_no_asmcpu |
64 | 64 | ||
65 | @@ -314,7 +317,7 @@ define fgroup DOTPROD NEON dotprod | 65 | @@ -322,7 +325,7 @@ define implied vfp_base MVE MVE_FP ALL_F |
66 | # architectures. | 66 | # architectures. |
67 | # xscale isn't really a 'quirk', but it isn't an architecture either and we | 67 | # xscale isn't really a 'quirk', but it isn't an architecture either and we |
68 | # need to ignore it for matching purposes. | 68 | # need to ignore it for matching purposes. |
@@ -71,7 +71,7 @@ diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in | |||
71 | 71 | ||
72 | # Architecture entries | 72 | # Architecture entries |
73 | # format: | 73 | # format: |
74 | @@ -1492,6 +1495,7 @@ begin cpu cortex-m33 | 74 | @@ -1524,6 +1527,7 @@ begin cpu cortex-m33 |
75 | architecture armv8-m.main+dsp+fp | 75 | architecture armv8-m.main+dsp+fp |
76 | option nofp remove ALL_FP | 76 | option nofp remove ALL_FP |
77 | option nodsp remove armv7em | 77 | option nodsp remove armv7em |
@@ -79,7 +79,7 @@ diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in | |||
79 | costs v7m | 79 | costs v7m |
80 | end cpu cortex-m33 | 80 | end cpu cortex-m33 |
81 | 81 | ||
82 | @@ -1501,6 +1505,7 @@ begin cpu cortex-m35p | 82 | @@ -1533,6 +1537,7 @@ begin cpu cortex-m35p |
83 | architecture armv8-m.main+dsp+fp | 83 | architecture armv8-m.main+dsp+fp |
84 | option nofp remove ALL_FP | 84 | option nofp remove ALL_FP |
85 | option nodsp remove armv7em | 85 | option nodsp remove armv7em |
@@ -87,10 +87,10 @@ diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in | |||
87 | costs v7m | 87 | costs v7m |
88 | end cpu cortex-m35p | 88 | end cpu cortex-m35p |
89 | 89 | ||
90 | @@ -1508,7 +1513,7 @@ begin cpu cortex-m55 | 90 | @@ -1544,7 +1549,7 @@ begin cpu cortex-m55 |
91 | cname cortexm55 | 91 | option nomve remove mve mve_float |
92 | tune flags LDSCHED | 92 | option nofp remove ALL_FP mve_float |
93 | architecture armv8.1-m.main+mve.fp+fp.dp | 93 | option nodsp remove MVE mve_float |
94 | - isa quirk_no_asmcpu | 94 | - isa quirk_no_asmcpu |
95 | + isa quirk_no_asmcpu quirk_vlldm | 95 | + isa quirk_no_asmcpu quirk_vlldm |
96 | costs v7m | 96 | costs v7m |
@@ -113,7 +113,7 @@ diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt | |||
113 | diff -upr a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi | 113 | diff -upr a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi |
114 | --- a/gcc/doc/invoke.texi 2021-11-11 19:30:56.264523105 -0800 | 114 | --- a/gcc/doc/invoke.texi 2021-11-11 19:30:56.264523105 -0800 |
115 | +++ b/gcc/doc/invoke.texi 2021-11-11 20:16:19.769241739 -0800 | 115 | +++ b/gcc/doc/invoke.texi 2021-11-11 20:16:19.769241739 -0800 |
116 | @@ -773,6 +773,7 @@ Objective-C and Objective-C++ Dialects}. | 116 | @@ -774,6 +774,7 @@ Objective-C and Objective-C++ Dialects}. |
117 | -mverbose-cost-dump @gol | 117 | -mverbose-cost-dump @gol |
118 | -mpure-code @gol | 118 | -mpure-code @gol |
119 | -mcmse @gol | 119 | -mcmse @gol |
@@ -121,7 +121,7 @@ diff -upr a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi | |||
121 | -mfdpic} | 121 | -mfdpic} |
122 | 122 | ||
123 | @emph{AVR Options} | 123 | @emph{AVR Options} |
124 | @@ -21233,6 +21234,14 @@ Use multiply and add/subtract instructio | 124 | @@ -21266,6 +21267,14 @@ Use multiply and add/subtract instructio |
125 | 125 | ||
126 | Do not use multiply and add/subtract instructions. | 126 | Do not use multiply and add/subtract instructions. |
127 | 127 | ||