From: ard.biesheuvel@linaro.org (Ard Biesheuvel)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/2] ARM: compressed: reorganize section layout and enable EFI debugging
Date: Mon, 5 Nov 2018 20:43:19 +0100 [thread overview]
Message-ID: <20181105194321.26657-1-ard.biesheuvel@linaro.org> (raw)
Tweak the output section layout of the decompressor so that the ELF and
PE/COFF .text sections start at the same offset in the image. This is
a prerequisite for enabling a EFI debug header that is highly useful
when debugging the interactions of the EFI stub code with the firmware.
v2:
- drop changes to the .start and .text sections: those changes were based
on a misinterpretation on my part of the documented behavior of ld.bfd
when it comes to ordering input sections.
Ard Biesheuvel (2):
ARM: compressed: put zImage header and EFI header in dedicated section
ARM: efi: add PE/COFF debug table to EFI header
arch/arm/boot/compressed/Makefile | 4 ++
arch/arm/boot/compressed/efi-header.S | 47 ++++++++++++++++++++
arch/arm/boot/compressed/head.S | 4 +-
arch/arm/boot/compressed/vmlinux.lds.S | 5 ++-
4 files changed, 58 insertions(+), 2 deletions(-)
--
2.19.1
next reply other threads:[~2018-11-05 19:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-05 19:43 Ard Biesheuvel [this message]
2018-11-05 19:43 ` [PATCH v2 1/2] ARM: compressed: put zImage header and EFI header in dedicated section Ard Biesheuvel
2018-11-05 19:43 ` [PATCH v2 2/2] ARM: efi: add PE/COFF debug table to EFI header Ard Biesheuvel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181105194321.26657-1-ard.biesheuvel@linaro.org \
--to=ard.biesheuvel@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).