crossgcc/gnat.patch: Add additional gnatlib object files

Newer host versions of gnatbind miss these when building the cross
gnat1 and gnatbind.

Tested with the following host compilers with and without bootstrapping
that the resulting coreboot images of three boards stay the same:
* GCC 4.9.2 (Debian)
* GCC 6.3 (Debian)
* GCC 7.4 (Debian)
* GCC 8.3 (Debian)
* GCC 9.4 (Debian)
* GCC 10.2 (Debian)
* GCC 12.1 (ArchLinux)

Change-Id: I09c6b3cc7b15f1c505acd3ec2c1959b101d6dfb7
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65000
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Nico Huber 2022-06-05 17:07:09 +02:00 committed by Felix Held
parent 0b2a632005
commit f9b5665d28
1 changed files with 30 additions and 0 deletions

View File

@ -9,3 +9,33 @@
ifeq ($(TREECHECKING),)
CHECKING_ADAFLAGS=
else
diff -Nurp gcc-11.2.0/gcc/ada/gcc-interface/Make-lang.in gcc-11.2.0.new/gcc/ada/gcc-interface/Make-lang.in
--- gcc-11.2.0/gcc/ada/gcc-interface/Make-lang.in 2022-06-03 00:31:57.993273717 +0200
+++ gcc-11.2.0.new/gcc/ada/gcc-interface/Make-lang.in 2022-06-03 00:30:50.214166847 +0200
@@ -334,6 +334,7 @@ GNAT_ADA_OBJS = \
ada/hostparm.o \
ada/impunit.o \
ada/inline.o \
+ ada/libgnat/i-c.o \
ada/libgnat/interfac.o \
ada/itypes.o \
ada/krunch.o \
@@ -364,7 +365,10 @@ GNAT_ADA_OBJS = \
ada/rtsfind.o \
ada/libgnat/s-addope.o \
ada/libgnat/s-addima.o \
+ ada/libgnat/s-aotase.o \
ada/libgnat/s-assert.o \
+ ada/libgnat/s-atoope.o \
+ ada/libgnat/s-atopri.o \
ada/libgnat/s-bitops.o \
ada/libgnat/s-carun8.o \
ada/libgnat/s-casuti.o \
@@ -548,6 +552,7 @@ GNATBIND_OBJS = \
ada/hostparm.o \
ada/init.o \
ada/initialize.o \
+ ada/libgnat/i-c.o \
ada/libgnat/interfac.o \
ada/krunch.o \
ada/lib.o \