]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ada/adaint.c
2009-04-16 Thomas Quinot <quinot@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Apr 2009 12:17:56 +0000 (12:17 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 16 Apr 2009 12:17:56 +0000 (12:17 +0000)
commita8d94a8f4f54bf294ab409c8d617ae8bdfaf0f46
tree8a23d332bae4e014e749fa8c79b5f8910a336c66
parent880fe3cee1b1ca470b6e9b10da27868a42c9ca29
2009-04-16  Thomas Quinot  <quinot@adacore.com>

* snames.ads-tmpl (Name_Defined): New predefined name for use by the
integrated preprocessor.

* prep.ads, prep.adb (Setup_Hooks): New subprogram.
(Initialize): Split into two subprograms, Initialize (to be called
prior to compiler command line processing) and Setup_Hooks (to be called
later on when the first source file is loaded).

* gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks.
Add call to Prep.Initialize.

* sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call
to Prep.Setup_Hooks.

2009-04-16  Pascal Obry  <obry@adacore.com>

* adaint.h, adaint.c (__gnat_chdir): New routine.
Simple wrapper routines used to convert to proper encoding on
Windows.

* s-crtl.ads: Use __gnat_chdir instead of direct call to the C library.

* a-direct.adb, g-dirope.adb: Use chdir from System.CRTL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146174 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/ada/ChangeLog
gcc/ada/a-direct.adb
gcc/ada/adaint.c
gcc/ada/adaint.h
gcc/ada/frontend.adb
gcc/ada/g-dirope.adb
gcc/ada/gprep.adb
gcc/ada/prep.adb
gcc/ada/prep.ads
gcc/ada/prepcomp.adb
gcc/ada/s-crtl.ads
gcc/ada/sinput-l.adb
gcc/ada/snames.ads-tmpl