mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-22 14:12:26 +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>
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From b8cd5a0229da78c2d1289d54731fbef0126617d5 Mon Sep 17 00:00:00 2001
|
|
From: Richard Sandiford <richard.sandiford@arm.com>
|
|
Date: Tue, 12 Sep 2023 16:19:47 +0100
|
|
Subject: [PATCH 20/29] 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 | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
|
|
index 9291cfd3ec8b..82883ad5a0d8 100644
|
|
--- a/gcc/config/aarch64/aarch64.h
|
|
+++ b/gcc/config/aarch64/aarch64.h
|
|
@@ -861,8 +861,8 @@ struct GTY (()) aarch64_frame
|
|
STACK_BOUNDARY. */
|
|
poly_int64 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
|
|
+ /* 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. */
|
|
poly_int64 frame_size;
|
|
|
|
--
|
|
2.42.0
|
|
|