diff options
author | Ben Kohler <bkohler@gentoo.org> | 2021-12-15 12:58:55 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2021-12-15 12:59:53 -0600 |
commit | c14a13e3a42edffe77d3472c81ab803f0f203d30 (patch) | |
tree | adfdc891864793d2012262408faf3c7b41581025 /sys-apps/memtest86+/files | |
parent | dev-libs/libinput: Bump to version 1.19.3 (diff) | |
download | gentoo-c14a13e3a42edffe77d3472c81ab803f0f203d30.tar.gz gentoo-c14a13e3a42edffe77d3472c81ab803f0f203d30.tar.bz2 gentoo-c14a13e3a42edffe77d3472c81ab803f0f203d30.zip |
sys-apps/memtest86+: add fix from suse
Closes: https://bugs.gentoo.org/339691
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'sys-apps/memtest86+/files')
-rw-r--r-- | sys-apps/memtest86+/files/memtest86+-5.31b-discard-note_gnu_property.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-apps/memtest86+/files/memtest86+-5.31b-discard-note_gnu_property.patch b/sys-apps/memtest86+/files/memtest86+-5.31b-discard-note_gnu_property.patch new file mode 100644 index 000000000000..e24ad4318f37 --- /dev/null +++ b/sys-apps/memtest86+/files/memtest86+-5.31b-discard-note_gnu_property.patch @@ -0,0 +1,23 @@ +--- a/Makefile 2021-12-04 15:15:45.845429722 +0100 ++++ b/Makefile 2021-12-04 15:22:51.924755794 +0100 +@@ -11,9 +11,9 @@ + OBJCOPY=objcopy + + CFLAGS= -Wall -Werror -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \ +- -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector ++ -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector -Wa,-mx86-used-note=no + CPPFLAGS= -m32 +-ASFLAGS= -32 ++ASFLAGS= -32 -mx86-used-note=no + + SELF_TEST_CFLAGS = -Wall -Werror -march=i486 -m32 -O1 -g + +--- 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; + } |