diff --git a/binutils-z-undefs.patch b/binutils-z-undefs.patch new file mode 100644 index 0000000..fe0f6f0 --- /dev/null +++ b/binutils-z-undefs.patch @@ -0,0 +1,71 @@ +diff -rup binutils.orig/ld/emultempl/elf32.em binutils-2.29.1/ld/emultempl/elf32.em +--- binutils.orig/ld/emultempl/elf32.em 2018-01-16 11:34:58.040749108 +0000 ++++ binutils-2.29.1/ld/emultempl/elf32.em 2018-01-16 11:35:35.697303875 +0000 +@@ -2666,6 +2666,8 @@ fragment < 2.29.1-12 +- Add "-z undefs" option to the linker. + * Thu Jan 11 2018 Nick Clifton 2.29.1-11 - *Do* enable relro by default for the PowerPC64 architecture. (#1523946)