Write_Info_Str (" DB");
end if;
- if Tasking_Used and then not Is_Predefined_Unit (Main_Unit) then
- if Locking_Policy /= ' ' then
- Write_Info_Str (" L");
- Write_Info_Char (Locking_Policy);
- end if;
+ if Locking_Policy /= ' ' then
+ Write_Info_Str (" L");
+ Write_Info_Char (Locking_Policy);
+ end if;
- if Queuing_Policy /= ' ' then
- Write_Info_Str (" Q");
- Write_Info_Char (Queuing_Policy);
- end if;
+ if Queuing_Policy /= ' ' then
+ Write_Info_Str (" Q");
+ Write_Info_Char (Queuing_Policy);
+ end if;
- if Task_Dispatching_Policy /= ' ' then
- Write_Info_Str (" T");
- Write_Info_Char (Task_Dispatching_Policy);
- Write_Info_Char (' ');
- end if;
+ if Task_Dispatching_Policy /= ' ' then
+ Write_Info_Str (" T");
+ Write_Info_Char (Task_Dispatching_Policy);
+ Write_Info_Char (' ');
end if;
if GNATprove_Mode then
-- OL Pragma Default_Scalar_Storage_Order (Low_Order_First) is
-- present in a configuration pragma file that applies.
- -- Qx A valid Queueing_Policy pragma applies to all the units
- -- in this file, where x is the first character (upper case)
- -- of the policy name (e.g. 'P' for Priority_Queueing).
+ -- Qx A valid Queuing_Policy pragma applies to all the units in
+ -- this file, where x is the first character (upper case) of
+ -- the policy name (e.g. 'P' for Priority_Queuing).
-- SL Indicates that the unit is an Interface to a Standalone
-- Library. Note that this indication is never given by the
-- generated exception tables. If ZX is not present, the
-- longjmp/setjmp exception scheme is in use.
- -- Note that language defined units never output policy (Lx, Tx, Qx)
- -- parameters. Language defined units must correctly handle all
- -- possible cases. These values are checked for consistency by the
- -- binder and then copied to the generated binder output file.
+ -- Note that library units from the GNAT runtime library should never
+ -- output policy (Lx, Tx, Qx) parameters. They must correctly handle
+ -- all possible cases to be usable in all contexts. These values are
+ -- checked for consistency by the binder and then copied to the
+ -- generated binder output file.
-- Note: The P line must be present. Even in Ignore_Errors mode, Scan_ALI
-- insists on finding a P line. So if changes are made to the ALI format,