]> git.proxmox.com Git - grub2.git/blob - debian/patches/mips-abiflags.patch
Install arm64 signed images if UEFI Secure Boot is enabled (closes: #806178).
[grub2.git] / debian / patches / mips-abiflags.patch
1 From 59feb4a8603b7d509f098219cf21a2e20e01f0ce Mon Sep 17 00:00:00 2001
2 From: Colin Watson <cjwatson@debian.org>
3 Date: Fri, 26 Sep 2014 10:34:46 +0100
4 Subject: Remove .MIPS.abiflags section from images
5
6 Recent versions of binutils generate this section, but we don't need it
7 when producing raw images.
8
9 Bug-Debian: https://bugs.debian.org/762307
10 Forwarded: no
11 Last-Update: 2014-09-26
12
13 Patch-Name: mips-abiflags.patch
14 ---
15 gentpl.py | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/gentpl.py b/gentpl.py
19 index bdcae1a..fe76d49 100644
20 --- a/gentpl.py
21 +++ b/gentpl.py
22 @@ -753,7 +753,7 @@ def image(defn, platform):
23 if test x$(TARGET_APPLE_LINKER) = x1; then \
24 $(MACHO2IMG) $< $@; \
25 else \
26 - $(TARGET_OBJCOPY) $(""" + cname(defn) + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn -R .note.gnu.gold-version $< $@; \
27 + $(TARGET_OBJCOPY) $(""" + cname(defn) + """_OBJCOPYFLAGS) --strip-unneeded -R .note -R .comment -R .note.gnu.build-id -R .reginfo -R .rel.dyn -R .note.gnu.gold-version -R .MIPS.abiflags $< $@; \
28 fi
29 """)
30