Skip to content

Commit

Permalink
Darwin, libgcc: Fix build errors on powerpc-darwin8.
Browse files Browse the repository at this point in the history
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 <[email protected]>

libgcc/ChangeLog:

	* config/rs6000/t-darwin-ehs: Add darwin-fallback.o.
	* config/t-darwin-ehs: Add dependency on unwind.h.
  • Loading branch information
iains committed Mar 4, 2022
1 parent 074d283 commit c18ddb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions libgcc/config/rs6000/t-darwin-ehs
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion libgcc/config/t-darwin-ehs
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c18ddb0

Please sign in to comment.