mbox series

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

Message ID 20220404104044.37652-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series firmware: build fixes with gcc-11 | expand

Message

Roger Pau Monné April 4, 2022, 10:40 a.m. UTC
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(-)