diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-12 13:28:13 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-02-12 13:28:13 +0000 |
commit | aab8de0adef0929dec573ba33cc09ba3a72b2050 (patch) | |
tree | 3067241056d7811b5be0253db902c31399aabba2 /gcc/ada/bindgen.adb | |
parent | 79abfe5ff215041ba46acca8990cd9b9de185236 (diff) | |
download | gcc-aab8de0adef0929dec573ba33cc09ba3a72b2050.tar.gz |
2004-02-12 Olivier Hainque <hainque@act-europe.fr>
* decl.c (components_to_record): Don't claim that the internal fields
we make to hold the variant parts are semantically addressable, because
they are not.
* exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and
adjust the comment describing the modular type form when we can use it.
(Install_PAT): Account for the Esiz renaming.
* init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the
sc_onstack context indication before raising the exception to which
the signal is mapped. Allows better handling of later signals possibly
triggered by the resumed user code if the exception is handled.
2004-02-12 Arnaud Charlet <charlet@act-europe.fr>
* 5zinit.adb: Removed, no longer used.
2004-02-12 Robert Dewar <dewar@gnat.com>
* ali.adb: Remove separating space between parameters on R line. Makes
format consistent with format used by the binder for Set_Globals call.
* atree.ads, atree.adb: Minor reformatting (new function header format)
* bindgen.adb: Add Run-Time Globals documentation section containing
detailed documentation of the globals passed from the binder file to
the run time.
* gnatls.adb: Minor reformatting
* init.c (__gnat_set_globals): Add note pointing to documentation in
bindgen.
* lib-writ.ads, lib-writ.adb: Remove separating space between
parameters on R line.
Makes format consistent with format used by the binder for Set_Globals
call.
* osint.ads: Add 2004 to copyright notice
Minor reformatting
* snames.ads: Correct capitalization of FIFO_Within_Priorities
Noticed during code reading, documentation issue only
* usage.adb: Remove junk line for obsolete C switch
Noticed during code reading
2004-02-12 Vincent Celier <celier@gnat.com>
* bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd
extend for each directory, so that multiple /** directories are
extended individually.
(Recursive_Process): Set the default for LANGUAGES to ada
* gprcmd.adb: Define new command "ignore", to do nothing.
Implement new comment "path".
* Makefile.generic: Suppress output when SILENT is set
Make sure that when compiler for C/C++ is gcc, the correct -x switch is
used, so that the correct compiler is invoked.
When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/
CXX_INCLUDE_PATH, to avoid failure with too long command lines.
2004-02-12 Jerome Guitton <guitton@act-europe.fr>
* Makefile.in: Clean ups and remove obsolete targets.
2004-02-12 Ed Schonberg <schonberg@gnat.com>
* exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar
predicate declared in exp_util.
* exp_util.adb: Add comments.
* sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from
visibility before compiling context of the subunit.
* sem_res.adb (Check_Parameterless_Call): If the context expects a
value but the name is a procedure, do not attempt to analyze as a call,
in order to obtain more telling diagnostics.
* sem_util.adb (Wrong_Type): Further enhancement to diagnose missing
'Access on parameterless function calls.
(Normalize_Actuals): For a parameterless function call with missing
actuals, defer diagnostic until resolution of enclosing call.
* sem_util.adb (Wrong_Type): If the context type is an access to
subprogram and the expression is a procedure name, suggest a missing
'attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77704 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/bindgen.adb')
-rw-r--r-- | gcc/ada/bindgen.adb | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/gcc/ada/bindgen.adb b/gcc/ada/bindgen.adb index f9b6b819b0b..ea9cc28f09f 100644 --- a/gcc/ada/bindgen.adb +++ b/gcc/ada/bindgen.adb @@ -80,6 +80,88 @@ package body Bindgen is Table_Increment => 200, Table_Name => "IS_Pragma_Settings"); + ---------------------- + -- Run-Time Globals -- + ---------------------- + + -- This section documents the global variables that are passed to the + -- run time from the generated binder file. The call that is made is + -- to the routine Set_Globals, which has the following spec: + + -- procedure Set_Globals + -- (Main_Priority : Integer; + -- Time_Slice_Value : Integer; + -- WC_Encoding : Character; + -- Locking_Policy : Character; + -- Queuing_Policy : Character; + -- Task_Dispatching_Policy : Character; + -- Restrictions : System.Address; + -- Interrupt_States : System.Address; + -- Num_Interrupt_States : Integer; + -- Unreserve_All_Interrupts : Integer; + -- Exception_Tracebacks : Integer; + -- Zero_Cost_Exceptions : Integer); + + -- Main_Priority is the priority value set by pragma Priority in the + -- main program. If no such pragma is present, the value is -1. + + -- Time_Slice_Value is the time slice value set by pragma Time_Slice + -- in the main program, or by the use of a -Tnnn parameter for the + -- binder (if both are present, the binder value overrides). The + -- value is in milliseconds. A value of zero indicates that time + -- slicing should be suppressed. If no pragma is present, and no + -- -T switch was used, the value is -1. + + -- WC_Encoding shows the wide character encoding method used for + -- the main program. This is one of the encoding letters defined + -- in System.WCh_Con.WC_Encoding_Letters. + + -- Locking_Policy is a space if no locking policy was specified + -- for the partition. If a locking policy was specified, the value + -- is the upper case first character of the locking policy name, + -- for example, 'C' for Ceiling_Locking. + + -- Queuing_Policy is a space if no queuing policy was specified + -- for the partition. If a queuing policy was specified, the value + -- is the upper case first character of the queuing policy name + -- for example, 'F' for FIFO_Queuing. + + -- Task_Dispatching_Policy is a space if no task dispatching policy + -- was specified for the partition. If a task dispatching policy + -- was specified, the value is the upper case first character of + -- the policy name, e.g. 'F' for FIFO_Within_Priorities. + + -- Restrictions is the address of a null-terminated string specifying the + -- restrictions information for the partition. The format is identical to + -- that of the parameter string found on R lines in ali files (see Lib.Writ + -- spec in lib-writ.ads for full details). The difference is that in this + -- context the values are the cumulative ones for the entire partition. + + -- Interrupt_States is the address of a string used to specify the + -- cumulative results of Interrupt_State pragmas used in the partition. + -- The length of this string is determined by the last interrupt for which + -- such a pragma is given (the string will be a null string if no pragmas + -- were used). If pragma were present the entries apply to the interrupts + -- in sequence from the first interrupt, and are set to one of four + -- possible settings: 'n' for not specified, 'u' for user, 'r' for + -- run time, 's' for system, see description of Interrupt_State pragma + -- for further details. + + -- Num_Interrupt_States is the length of the Interrupt_States string. + -- It will be set to zero if no Interrupt_State pragmas are present. + + -- Unreserve_All_Interrupts is set to one if at least one unit in the + -- partition had a pragma Unreserve_All_Interrupts, and zero otherwise. + + -- Exception_Tracebacks is set to one if the -E parameter was present + -- in the bind and to zero otherwise. Note that on some targets exception + -- tracebacks are provided by default, so a value of zero for this + -- parameter does not necessarily mean no trace backs are available. + + -- Zero_Cost_Exceptions is set to one if zero cost exceptions are used for + -- this partition, and to zero if longjmp/setjmp exceptions are used. + -- the use of zero + ----------------------- -- Local Subprograms -- ----------------------- |