diff options
Diffstat (limited to 'docker/scripts/binutils_align_fix.patch')
-rw-r--r-- | docker/scripts/binutils_align_fix.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/docker/scripts/binutils_align_fix.patch b/docker/scripts/binutils_align_fix.patch deleted file mode 100644 index 6066252..0000000 --- a/docker/scripts/binutils_align_fix.patch +++ /dev/null @@ -1,28 +0,0 @@ -Description: fix lack of alignment in relocations (crashes on mingw) -See https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=73af69e74974eaa155eec89867e3ccc77ab39f6d -From: Marc <marc@groundctl.com> -Date: Fri, 9 Nov 2018 11:13:50 +0000 -Subject: [PATCH] Allow for compilers that do not produce aligned .rdat - sections in PE format files. - ---- a/upstream/ld/scripttempl/pe.sc 2020-05-12 18:45:12.000000000 +0200 -+++ b/upstream/ld/scripttempl/pe.sc 2020-05-12 18:47:12.000000000 +0200 -@@ -143,6 +143,7 @@ - .rdata ${RELOCATING+BLOCK(__section_alignment__)} : - { - ${R_RDATA} -+ . = ALIGN(4); - ${RELOCATING+__rt_psrelocs_start = .;} - ${RELOCATING+KEEP(*(.rdata_runtime_pseudo_reloc))} - ${RELOCATING+__rt_psrelocs_end = .;} ---- a/upstream/ld/scripttempl/pep.sc 2020-05-12 18:45:19.000000000 +0200 -+++ b/upstream/ld/scripttempl/pep.sc 2020-05-12 18:47:18.000000000 +0200 -@@ -143,6 +143,7 @@ - .rdata ${RELOCATING+BLOCK(__section_alignment__)} : - { - ${R_RDATA} -+ . = ALIGN(4); - ${RELOCATING+__rt_psrelocs_start = .;} - ${RELOCATING+KEEP(*(.rdata_runtime_pseudo_reloc))} - ${RELOCATING+__rt_psrelocs_end = .;} - |