]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Darwin, libgcc: Fix build errors on powerpc-darwin8.
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 4 Mar 2022 12:34:15 +0000 (12:34 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 4 Mar 2022 16:44:54 +0000 (16:44 +0000)
PowerPC Darwin8 is the last version to use an unwind frame fallback routine.
This had been omitted from the new shared EH library, along with one more
header dependency that only fires there.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
libgcc/ChangeLog:

* config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
* config/t-darwin-ehs: Add dependency on unwind.h.

libgcc/config/rs6000/t-darwin-ehs
libgcc/config/t-darwin-ehs

index 42f521411af731fbe2d74ca8d69f7e3bd4674843..581344e862a0a8e955efdd799390d2917d2657dd 100644 (file)
@@ -1,3 +1,3 @@
-# We need the save_world code for the EH library.
+# We need the save_world and anu unwind fallback code for the EH library.
 
-LIBEHSOBJS += darwin-world_s.o
+LIBEHSOBJS += darwin-world_s.o darwin-fallback.o
index 95275023dac40ccdd7ef0c60d54c6518d5833238..df46f8a652975ce2dd2d62b07042b49f17d10eba 100644 (file)
@@ -3,5 +3,5 @@
 
 LIBEHSOBJS = unwind-dw2_s.o unwind-dw2-fde-darwin_s.o unwind-c_s.o
 
-unwind-dw2_s.o: gthr-default.h md-unwind-support.h
+unwind-dw2_s.o: gthr-default.h md-unwind-support.h unwind.h
 $(LIBEHSOBJS): libgcc_tm.h