ada: Remove Ttypes.Max_Unaligned_Field
commit37333bff3453ff643b41ea9a43d2ca2ab932f918
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 10 May 2023 21:48:18 +0000 (10 23:48 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 15 Jun 2023 07:59:34 +0000 (15 09:59 +0200)
treeea81192af331166b6e53d72d1515b5b75fc372c0
parente870d6d73b4f0d24cc1a9d976954b0df836dbd06
ada: Remove Ttypes.Max_Unaligned_Field

This constant has been unused for ages.  The corresponding getter function
is also removed from the Get_Targ package, but the corresponding constant
declared in Set_Targ is preserved for the sake of backward compatibility
of the target file format.

gcc/ada/

* get_targ.ads (Get_Max_Unaligned_Field): Delete.
* ada_get_targ.adb (Get_Max_Unaligned_Field): Likewise.
* get_targ.adb (Get_Max_Unaligned_Field): Likewise.
* set_targ.ads (Max_Unaligned_Field): Adjust comment.
* set_targ.adb: Set Max_Unaligned_Field to 1 during elaboration.
* ttypes.ads (Max_Unaligned_Field): Delete.
gcc/ada/ada_get_targ.adb
gcc/ada/get_targ.adb
gcc/ada/get_targ.ads
gcc/ada/set_targ.adb
gcc/ada/set_targ.ads
gcc/ada/ttypes.ads