aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGhjuvan Lacambre <lacambre@adacore.com>2021-01-21 13:29:51 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-05-06 03:51:39 -0400
commit364ffbe34869595a975bc2e812ded6cbdd325ff7 (patch)
tree2d74d5d512d7d721e0cf5715be6379ee64e7282e /gcc
parentb6f9471df1a4c22de519c7049a390235508bbee9 (diff)
downloadgcc-364ffbe34869595a975bc2e812ded6cbdd325ff7.zip
gcc-364ffbe34869595a975bc2e812ded6cbdd325ff7.tar.gz
gcc-364ffbe34869595a975bc2e812ded6cbdd325ff7.tar.bz2
[Ada] Explain meaning of Non_Std_Executable
gcc/ada/ * make.adb (Compute_Executable): Document parameter.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/make.adb5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/make.adb b/gcc/ada/make.adb
index 9ddc7cc..adff94a 100644
--- a/gcc/ada/make.adb
+++ b/gcc/ada/make.adb
@@ -399,7 +399,10 @@ package body Make is
Non_Std_Executable : out Boolean);
-- Parse the linker switches and project file to compute the name of the
-- executable to generate.
- -- ??? What is the meaning of Non_Std_Executable
+ --
+ -- When the platform expects a specific extension for the generated binary,
+ -- there is a chance that the linker might not use the right name for the
+ -- it. Non_Std_Executable is set to True in this case.
procedure Compilation_Phase
(Main_Source_File : File_Name_Type;