diff options
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch b/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch index a6892e8af6..0b6065b60f 100644 --- a/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch +++ b/meta/recipes-devtools/binutils/binutils/0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9d451ca9ca6bf34b43a089033565ae7570db2065 Mon Sep 17 00:00:00 2001 | 1 | From ad6942752570199d3959e344c432bc92d9fc43ad Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 15 Jan 2023 00:16:25 -0800 | 3 | Date: Sun, 15 Jan 2023 00:16:25 -0800 |
4 | Subject: [PATCH] Define alignof using _Alignof when using C11 or newer | 4 | Subject: [PATCH] Define alignof using _Alignof when using C11 or newer |
@@ -25,10 +25,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
25 | 1 file changed, 10 insertions(+) | 25 | 1 file changed, 10 insertions(+) |
26 | 26 | ||
27 | diff --git a/libiberty/sha1.c b/libiberty/sha1.c | 27 | diff --git a/libiberty/sha1.c b/libiberty/sha1.c |
28 | index 6c71e3ebb41..a2caf947d31 100644 | 28 | index 49e8e0b6c2b..72de5cc8ad6 100644 |
29 | --- a/libiberty/sha1.c | 29 | --- a/libiberty/sha1.c |
30 | +++ b/libiberty/sha1.c | 30 | +++ b/libiberty/sha1.c |
31 | @@ -229,7 +229,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) | 31 | @@ -234,7 +234,17 @@ sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx) |
32 | if (len >= 64) | 32 | if (len >= 64) |
33 | { | 33 | { |
34 | #if !_STRING_ARCH_unaligned | 34 | #if !_STRING_ARCH_unaligned |