[PATCH v2 0/2] firmware: build fixes with gcc-11

Roger Pau Monne posted 2 patches 2 years, 1 month ago
Test gitlab-ci failed
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20220404104044.37652-1-roger.pau@citrix.com
Config.mk               | 2 +-
tools/firmware/Makefile | 2 --
tools/firmware/Rules.mk | 6 ++++++
3 files changed, 7 insertions(+), 3 deletions(-)
[PATCH v2 0/2] firmware: build fixes with gcc-11
Posted by Roger Pau Monne 2 years, 1 month ago
Hello,

The following fixes some firmware build issues with gcc-11. Note that
dropping of .note.gnu.property section could likely be done in the
linker script in the hvmloader case, but rombios has no linker script
and such note is causing a non-working image. Other options could be
using objcopy to drop the section, but those seems more complicated than
just using the assembler command line option.

Thanks, Roger.

Roger Pau Monne (2):
  tools/firmware: fix setting of fcf-protection=none
  tools/firmware: do not add a .note.gnu.property section

 Config.mk               | 2 +-
 tools/firmware/Makefile | 2 --
 tools/firmware/Rules.mk | 6 ++++++
 3 files changed, 7 insertions(+), 3 deletions(-)

-- 
2.35.1