diff options
-rw-r--r-- | MAINTAINERS | 3 | ||||
-rw-r--r-- | drivers/firmware/efi/libstub/Makefile | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index b6c28e1b5876..c44795306342 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -4620,8 +4620,9 @@ F: sound/usb/misc/ua101.c | |||
4620 | 4620 | ||
4621 | EXTENSIBLE FIRMWARE INTERFACE (EFI) | 4621 | EXTENSIBLE FIRMWARE INTERFACE (EFI) |
4622 | M: Matt Fleming <matt@codeblueprint.co.uk> | 4622 | M: Matt Fleming <matt@codeblueprint.co.uk> |
4623 | M: Ard Biesheuvel <ard.biesheuvel@linaro.org> | ||
4623 | L: linux-efi@vger.kernel.org | 4624 | L: linux-efi@vger.kernel.org |
4624 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git | 4625 | T: git git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git |
4625 | S: Maintained | 4626 | S: Maintained |
4626 | F: Documentation/efi-stub.txt | 4627 | F: Documentation/efi-stub.txt |
4627 | F: arch/ia64/kernel/efi.c | 4628 | F: arch/ia64/kernel/efi.c |
diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile index c06945160a41..5e23e2d305e7 100644 --- a/drivers/firmware/efi/libstub/Makefile +++ b/drivers/firmware/efi/libstub/Makefile | |||
@@ -11,7 +11,7 @@ cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 \ | |||
11 | -mno-mmx -mno-sse | 11 | -mno-mmx -mno-sse |
12 | 12 | ||
13 | cflags-$(CONFIG_ARM64) := $(subst -pg,,$(KBUILD_CFLAGS)) | 13 | cflags-$(CONFIG_ARM64) := $(subst -pg,,$(KBUILD_CFLAGS)) |
14 | cflags-$(CONFIG_ARM) := $(subst -pg,,$(KBUILD_CFLAGS)) \ | 14 | cflags-$(CONFIG_ARM) := $(subst -pg,,$(KBUILD_CFLAGS)) -g0 \ |
15 | -fno-builtin -fpic -mno-single-pic-base | 15 | -fno-builtin -fpic -mno-single-pic-base |
16 | 16 | ||
17 | cflags-$(CONFIG_EFI_ARMSTUB) += -I$(srctree)/scripts/dtc/libfdt | 17 | cflags-$(CONFIG_EFI_ARMSTUB) += -I$(srctree)/scripts/dtc/libfdt |
@@ -79,5 +79,6 @@ quiet_cmd_stubcopy = STUBCPY $@ | |||
79 | # decompressor. So move our .data to .data.efistub, which is preserved | 79 | # decompressor. So move our .data to .data.efistub, which is preserved |
80 | # explicitly by the decompressor linker script. | 80 | # explicitly by the decompressor linker script. |
81 | # | 81 | # |
82 | STUBCOPY_FLAGS-$(CONFIG_ARM) += --rename-section .data=.data.efistub | 82 | STUBCOPY_FLAGS-$(CONFIG_ARM) += --rename-section .data=.data.efistub \ |
83 | -R ___ksymtab+sort -R ___kcrctab+sort | ||
83 | STUBCOPY_RELOC-$(CONFIG_ARM) := R_ARM_ABS | 84 | STUBCOPY_RELOC-$(CONFIG_ARM) := R_ARM_ABS |