diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2022-03-04 12:34:15 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2022-03-04 16:44:54 +0000 |
commit | c18ddb05b0391a397f8882fc6a12a1bab7e0df52 (patch) | |
tree | 0f3c4813598b9bbd5f2e50388e6ae36db38b135e | |
parent | 074d283e249c7295d783a08eb6f0219a7f411c50 (diff) | |
download | gcc-c18ddb05b0391a397f8882fc6a12a1bab7e0df52.zip gcc-c18ddb05b0391a397f8882fc6a12a1bab7e0df52.tar.gz gcc-c18ddb05b0391a397f8882fc6a12a1bab7e0df52.tar.bz2 |
Darwin, libgcc: Fix build errors on powerpc-darwin8.
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.
-rw-r--r-- | libgcc/config/rs6000/t-darwin-ehs | 4 | ||||
-rw-r--r-- | libgcc/config/t-darwin-ehs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libgcc/config/rs6000/t-darwin-ehs b/libgcc/config/rs6000/t-darwin-ehs index 42f5214..581344e 100644 --- a/libgcc/config/rs6000/t-darwin-ehs +++ b/libgcc/config/rs6000/t-darwin-ehs @@ -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 diff --git a/libgcc/config/t-darwin-ehs b/libgcc/config/t-darwin-ehs index 9527502..df46f8a 100644 --- a/libgcc/config/t-darwin-ehs +++ b/libgcc/config/t-darwin-ehs @@ -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 |