Skip to content

Commit ddab5cf

Browse files
author
Eric Botcazou
committed
Ada: Remove left-overs of front-end exception mechanism
It was removed from the compiler a few releases ago. gcc/ada/ * gcc-interface/Makefile.in (gnatlib-sjlj): Delete. (gnatlib-zcx): Do not modify Frontend_Exceptions constant. * libgnat/system-linux-loongarch.ads (Frontend_Exceptions): Delete.
1 parent 680ee33 commit ddab5cf

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

gcc/ada/gcc-interface/Makefile.in

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -840,35 +840,6 @@ gnatlib-shared:
840840
PICFLAG_FOR_TARGET="$(PICFLAG_FOR_TARGET)" \
841841
$(GNATLIB_SHARED)
842842

843-
# When building a SJLJ runtime for VxWorks, we need to ensure that the extra
844-
# linker options needed for ZCX are not passed to prevent the inclusion of
845-
# useless objects and potential troubles from the presence of extra symbols
846-
# and references in some configurations. The inhibition is performed by
847-
# commenting the pragma instead of deleting the line, as the latter might
848-
# result in getting multiple blank lines, hence possible style check errors.
849-
gnatlib-sjlj:
850-
$(MAKE) $(FLAGS_TO_PASS) \
851-
EH_MECHANISM="" \
852-
MULTISUBDIR="$(MULTISUBDIR)" \
853-
THREAD_KIND="$(THREAD_KIND)" \
854-
LN_S="$(LN_S)" \
855-
../stamp-gnatlib1-$(RTSDIR)
856-
sed \
857-
-e 's/Frontend_Exceptions.*/Frontend_Exceptions : constant Boolean := True;/' \
858-
-e 's/ZCX_By_Default.*/ZCX_By_Default : constant Boolean := False;/' \
859-
$(RTSDIR)/system.ads > $(RTSDIR)/s.ads
860-
$(MV) $(RTSDIR)/s.ads $(RTSDIR)/system.ads
861-
$(MAKE) $(FLAGS_TO_PASS) \
862-
EH_MECHANISM="" \
863-
GNATLIBFLAGS="$(GNATLIBFLAGS)" \
864-
GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
865-
GNATLIBCFLAGS_FOR_C="$(GNATLIBCFLAGS_FOR_C)" \
866-
FORCE_DEBUG_ADAFLAGS="$(FORCE_DEBUG_ADAFLAGS)" \
867-
MULTISUBDIR="$(MULTISUBDIR)" \
868-
THREAD_KIND="$(THREAD_KIND)" \
869-
LN_S="$(LN_S)" \
870-
gnatlib
871-
872843
gnatlib-zcx:
873844
$(MAKE) $(FLAGS_TO_PASS) \
874845
EH_MECHANISM="-gcc" \
@@ -877,7 +848,6 @@ gnatlib-zcx:
877848
LN_S="$(LN_S)" \
878849
../stamp-gnatlib1-$(RTSDIR)
879850
sed \
880-
-e 's/Frontend_Exceptions.*/Frontend_Exceptions : constant Boolean := False;/' \
881851
-e 's/ZCX_By_Default.*/ZCX_By_Default : constant Boolean := True;/' \
882852
$(RTSDIR)/system.ads > $(RTSDIR)/s.ads
883853
$(MV) $(RTSDIR)/s.ads $(RTSDIR)/system.ads

gcc/ada/libgnat/system-linux-loongarch.ads

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,6 @@ private
139139
Always_Compatible_Rep : constant Boolean := False;
140140
Suppress_Standard_Library : constant Boolean := False;
141141
Use_Ada_Main_Program_Name : constant Boolean := False;
142-
Frontend_Exceptions : constant Boolean := False;
143142
ZCX_By_Default : constant Boolean := True;
144143

145144
end System;

0 commit comments

Comments
 (0)