summaryrefslogtreecommitdiff
path: root/toolchain/elf2flt
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-02-22 08:23:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2023-02-22 08:24:48 +0100
commitb33a5a985f0413a212da7f5d9d46e8a8db06da4c (patch)
tree280d551ca5c056b1767c2d01a5c3b86955e13d62 /toolchain/elf2flt
parentdd4eb6e832b789129e30a511a1e4f6b63f18a494 (diff)
aircrack-ng: update to 1.7
Diffstat (limited to 'toolchain/elf2flt')
-rw-r--r--toolchain/elf2flt/patches/v2021.08/0006-elf2flt-xtensa-fix-text-relocations.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/toolchain/elf2flt/patches/v2021.08/0006-elf2flt-xtensa-fix-text-relocations.patch b/toolchain/elf2flt/patches/v2021.08/0006-elf2flt-xtensa-fix-text-relocations.patch
index be5b0c33e..fc8784a1b 100644
--- a/toolchain/elf2flt/patches/v2021.08/0006-elf2flt-xtensa-fix-text-relocations.patch
+++ b/toolchain/elf2flt/patches/v2021.08/0006-elf2flt-xtensa-fix-text-relocations.patch
@@ -23,24 +23,3 @@ diff -Nur elf2flt-v2021.08.orig/elf2flt.c elf2flt-v2021.08/elf2flt.c
default:
goto bad_resolved_reloc;
#elif defined(TARGET_riscv64)
-diff -Nur elf2flt-v2021.08.orig/elf2flt.c.orig elf2flt-v2021.08/elf2flt.c.orig
---- elf2flt-v2021.08.orig/elf2flt.c.orig 2023-01-09 11:08:22.417478947 +0100
-+++ elf2flt-v2021.08/elf2flt.c.orig 2023-01-09 11:08:28.637676113 +0100
-@@ -349,8 +349,15 @@
- static bool
- ro_reloc_data_section_should_be_in_text(asection *s)
- {
-- return (s->flags & (SEC_DATA | SEC_READONLY | SEC_RELOC)) ==
-- (SEC_DATA | SEC_READONLY | SEC_RELOC);
-+ if ((s->flags & (SEC_DATA | SEC_READONLY | SEC_RELOC)) ==
-+ (SEC_DATA | SEC_READONLY | SEC_RELOC)) {
-+#if defined(TARGET_m68k) || defined(TARGET_riscv64) || defined(TARGET_xtensa)
-+ if (!strcmp(".eh_frame", s->name))
-+ return false;
-+#endif
-+ return true;
-+ }
-+ return false;
- }
-
- static uint32_t *