mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-25 15:31:05 +00:00
c175b21ce4
Bring in the fixes for GCC 7 through 13. https://rtx.meta.security/mitigation/2023/09/12/CVE-2023-4039.html https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20Vulnerability%20AArch64 Signed-off-by: Chris Packham <judge.packham@gmail.com>
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 19776fcf06856ceff521f99a1ceddaf113cf0d09 Mon Sep 17 00:00:00 2001
|
|
From: Richard Sandiford <richard.sandiford@arm.com>
|
|
Date: Thu, 22 Jun 2023 22:26:30 +0100
|
|
Subject: [PATCH 28/30] aarch64: Tweak frame_size comment
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
This patch fixes another case in which a value was described with
|
|
an “upside-down” view.
|
|
|
|
gcc/
|
|
* config/aarch64/aarch64.h (aarch64_frame::frame_size): Tweak comment.
|
|
---
|
|
gcc/config/aarch64/aarch64.h | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
|
|
index 35ba9681e03d..19b7082187a5 100644
|
|
--- a/gcc/config/aarch64/aarch64.h
|
|
+++ b/gcc/config/aarch64/aarch64.h
|
|
@@ -575,9 +575,9 @@ struct GTY (()) aarch64_frame
|
|
STACK_BOUNDARY. */
|
|
HOST_WIDE_INT bytes_above_hard_fp;
|
|
|
|
- /* The size of the frame. This value is the offset from base of the
|
|
- * frame (incomming SP) to the stack_pointer. This value is always
|
|
- * a multiple of STACK_BOUNDARY. */
|
|
+ /* The size of the frame, i.e. the number of bytes between the bottom
|
|
+ of the outgoing arguments and the incoming SP. This value is always
|
|
+ a multiple of STACK_BOUNDARY. */
|
|
HOST_WIDE_INT frame_size;
|
|
|
|
/* The size of the initial stack adjustment before saving callee-saves. */
|
|
--
|
|
2.42.0
|
|
|