summaryrefslogtreecommitdiffstats
path: root/system/memtest86/patches/discard-note_gnu_property.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/memtest86/patches/discard-note_gnu_property.patch')
-rw-r--r--system/memtest86/patches/discard-note_gnu_property.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/system/memtest86/patches/discard-note_gnu_property.patch b/system/memtest86/patches/discard-note_gnu_property.patch
new file mode 100644
index 0000000000..7c1179f077
--- /dev/null
+++ b/system/memtest86/patches/discard-note_gnu_property.patch
@@ -0,0 +1,9 @@
+--- a/memtest.bin.lds 2020-04-12 17:14:51.000000000 +0200
++++ b/memtest.bin.lds 2021-12-04 14:54:33.178625382 +0100
+@@ -11,5 +11,6 @@
+ *(.data)
+ _end = . ;
+ }
++ /DISCARD/ : { *(.note.gnu.property) }
+ _syssize = (_end - _start + 15) >> 4;
+ }