summaryrefslogtreecommitdiff
path: root/gcc/ada/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* gcc/ada/:schwab2009-02-271-1/+3
| | | | | | | | | | | | | | | | * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@. * gcc-interface/Makefile.in: Change all uses of $(srcdir), $(fsrcdir) and $(fsrcpfx) to add ada subdir. (AWK): Substitute. (target_cpu_default): Substitute. gnattools/: * Makefile.in (fsrcdir): Point to gcc directory, not gcc/ada. (INCLUDES_FOR_SUBDIR): Adjust. (ADA_INCLUDES_FOR_SUBDIR): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@144463 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc-interface: New directory.charlet2008-07-291-2295/+2
| | | | | | | | | | * ada-tree.def, cuintp.c, gigi.h, Makefile.in, targtyps.c, ada.h, utils.c, ada-tree.h, decl.c, lang.opt, Make-lang.in, trans.c, config-lang.in, deftarg.c, lang-specs.h, misc.c, utils2.c: Moved to gcc-interface subdirectory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138246 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-07-29 Aaron W. LaFramboise <aaronavay62@aaronwl.com>aaronwl2008-07-291-1/+1
| | | | | | | | * Makefile.in (EXTRA_GNATRTL_NONTASKING_OBJS): Remove extra s-win32.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@138245 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-06-26 Chris Proctor <chrisp_42@bigpond.com>sam2008-06-261-1/+1
| | | | | | | | | | gcc/ada/ * Makefile.in: Fix *86 kfreebsd target specific pairs. gnattools/ * configure.ac, configure: Fix target specific pairs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137144 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ada/sam2008-06-251-1/+1
| | | | | | * Makefile.in: Use mlib-tgt-specific-linux.adb for sh4 as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@137108 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ada/rwild2008-06-031-9/+9
| | | | | | | | | | | | | | | | | * Makefile.in (common_tools): Fix typos in $(exeext) extension. * gnat_ugn.texi (Style Checking) (Adding the Results of Compiler Checks to gnatcheck Output) (Example of Binder Output File): Fix typos. * ali.ads, einfo.ads, exp_ch4.adb, exp_ch6.adb, exp_dbug.ads, exp_dist.adb, exp_smem.adb, g-socket.ads, s-osinte-rtems.ads, s-shasto.ads, s-stausa.adb, s-stausa.ads, sem_cat.adb, sem_ch12.adb, sem_ch3.adb, sem_ch4.adb, sem_ch6.adb, sem_ch8.adb, sem_util.ads, sinfo.ads, utils.c: Fix typos in comments. * sem_ch6.adb, vms_data.ads: Fix typos in strings. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136329 138bc75d-0d04-0410-961f-82ee72b054a4
* * gigi.h (gigi): Remove bogus ATTRIBUTE_UNUSED marker.ebotcazou2008-05-261-13/+13
| | | | | | | | | | (builtin_decl_for): Likewise. * trans.c (gigi): Likewise. * utils.c (def_builtin_1): Fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135911 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.incharlet2008-05-201-54/+24
| | | | | | | | | | | (common-tools): New rule, to avoid parallel build failure on gnat tools. Reenable parallel builds on this Makefile. * Make-lang.in: Update dependencies. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135631 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ada/sam2008-04-301-1/+3
| | | | | | * Makefile.in: Adapt sh4-linux target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134819 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-08 Vincent Celier <celier@adacore.com>charlet2008-04-081-60/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Arnaud Charlet <charlet@adacore.com> * mlib-tgt-aix.adb, mlib-tgt-darwin.adb, mlib-tgt-hpux.adb, mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-lynxos.adb, mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb, mlib-tgt-vms.ads, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-vxworks.adb, mlib-tgt-mingw.adb: Renamed into... * mlib-tgt-specific-aix.adb, mlib-tgt-specific-darwin.adb, mlib-tgt-specific-hpux.adb, mlib-tgt-specific-irix.adb, mlib-tgt-specific-linux.adb, mlib-tgt-specific-lynxos.adb, mlib-tgt-specific-solaris.adb, mlib-tgt-specific-tru64.adb, mlib-tgt-vms_common.adb, mlib-tgt-vms_common.ads, mlib-tgt-specific-vms-alpha.adb, mlib-tgt-specific-vms-ia64.adb, mlib-tgt-specific-vxworks.adb, mlib-tgt-specific-xi.adb, mlib-tgt-specific-mingw.adb: New names. * Makefile.in: On VxWorks platforms use s-stchop-limit.ads for s-stchop.ads Get rid of gnatbl. (EXTRA_GNATRTL_NONTASKING_OBJS): Add s-win32.o Files mlib-tgt-*.adb have been renamed mlib-tgt-specific-*.adb Minor updates for VMS git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@134007 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-07 Aurelien Jarno <aurelien@aurel32.net>doko2008-04-071-0/+48
| | | | | | | | | | | Xavier Grave <grave@ipno.in2p3.fr> * Makefile.in: Add make ifeq define for mips/mipsel support. * g-soccon-linux-mips.ads, system-linux-mipsel.ads, system-linux-mips.ads: New files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133986 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-04-07 Aurelien Jarno <aurelien@aurel32.net>doko2008-04-071-0/+2
| | | | | | | | | | | | | | | | * s-osinte-linux-kfreebsd.ads (SC_NPROCESSORS_ONLN): New constant constant for sysconf call. (bit_field): New packed boolean type used by cpu_set_t. (cpu_set_t): New type corresponding to the C type with the same name. Note that on the Ada side we use a bit field array for the affinity mask. There is not need for the C macro for setting individual bit. (pthread_setaffinity_np): New imported routine. * Makefile.in: Use s-tasinf-linux.ads and s-tasinf-linux.adb on GNU/kFreeBSD. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133978 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-03-26 Pascal Obry <obry@adacore.com>charlet2008-03-261-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Add proper GNAT.Serial_Communications implementation on supported platforms. * Makefile.rtl: Add g-sercom.o. * impunit.adb: Add g-sercom.adb. * s-crtl.ads (open): New routine. (close): Likewise. (write): Likewise. * s-osinte-mingw.ads (BYTE): New type. (CHAR): Likewise. (OVERLAPPED): Likewise. (GENERIC_READ): New constant. (GENERIC_WRITE): Likewise. (OPEN_EXISTING): Likewise. (PSECURITY_ATTRIBUTES): Removed this type, use anonymous access type instead. (CreateFile): New routine. (WriteFile): Likewise. (ReadFile): Likewise. (CloseHandle): Move next to the other file oriented routines. * g-sercom.ads: New unit. * g-sercom.adb: Default implementation, calls to this unit will raise a program error exception. * g-sercom-mingw.adb, g-sercom-linux.adb: Windows and GNU/Linux implementations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133569 138bc75d-0d04-0410-961f-82ee72b054a4
* 2008-02-11 Joel Sherrill <joel.sherrill@oarcorp.com>joel2008-02-131-4/+5
| | | | | | | | | | | | | | | | | PR ada/35143 * env.c: Add __rtems__ to if defined. * s-osinte-rtems.adb: Add To_Target_Priority. Fix formatting. * s-osinte-rtems.ads: Add To_Target_Priority prototype and PTHREAD_SCOPE_PROCESS/PTHREAD_SCOPE_SYSTEM constants. Add pragma Convention as required. * gsocket.h: Make compile in and out of RTS. * Makefile.in: Add system-rtems.ads. Build DEC extensions. Use g-soccon-rtems.ads. * g-soccon-rtems.ads, system-rtems.ads: New files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132294 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ada/sam2007-12-191-0/+2
| | | | | | | * Makefile.in: Add s-tasinf.ad[bs] substitutions for sh4-linux target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131054 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ada/sam2007-12-131-2/+2
| | | | | | | | | PR ada/34360 * Makefile.in: Change two occurrences of mlib-tgt.adb by correct name mlib-tgt-specific.adb. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130896 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-12-06 Jose Ruiz <ruiz@adacore.com>charlet2007-12-131-18/+73
| | | | | | | | | | | | | | | | | | | | | | | | | * adaint.h: (__gnat_plist_init): Not defined for RTX. * initialize.c (__gnat_initialize): Do not call __gnat_plist_init for RTX systems. * Makefile.in: Add new files s-tasinf-linux.ads and s-tasinf-linux.adb. (LIBGNAT_TARGET_PAIRS, MISCLIB, THREADSLIB, EXTRA_GNATRTL_NONTASKING_OBJS, EXTRA_GNATRTL_TASKING_OBJS, GNATLIB_SHARED for RTX run time): Use the versions required by RTX. * mingw32.h: Do not define GNAT_UNICODE_SUPPORT for RTX since it is not supported. * sysdep.c (winflush_function for RTX): Procedure that does nothing since we only have problems with Windows 95/98, which are not supported by RTX. (__gnat_ttyname): Return the empty string on Nucleus, just as done on vxworks. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130816 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ada/sam2007-12-021-0/+26
| | | | | | | | | * Makefile.in: Add support for sh4-linux. * system-linux-sh4.ads: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130572 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-11-21 Aurelien Jarno <aurelien@aurel32.net>sam2007-11-211-1/+1
| | | | | | | | | | gcc/ada/ * s-osinte-kfreebsd-gnu.ads (To_Target_Priority): New function. * Makefile.in: Add EH_MECHANISM=-gcc to kfreebsd-gnu. Remove SYMLIB. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130330 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (LIBGNAT_TARGET_PAIRS) Add s-tasinf-mingw.adb,dannysmith2007-10-201-0/+5
| | | | | | | | | s-tasinf-mingw.ads, a-exetim-mingw.adb, a-exetim-mingw.ads for win32 targets. (EXTRA_GNATRTL_TASKING_OBJS): Add a-exetim.o for win32 targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129515 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/33454bje2007-10-081-7/+2
| | | | | | | | | | | | Revert: 2007-08-31 Ben Elliston <bje@au.ibm.com> * Makefile.in (LIBGNAT_TARGET_PAIRS): Use system-linux-ppc64.ads when compiling for powerpc64-*-linux. * system-linux-ppc64.ads: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129121 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove s-crtl-vms64.ads, no longer used.charlet2007-09-121-2/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128433 138bc75d-0d04-0410-961f-82ee72b054a4
* * vms_data.ads: Add qualifier for the new gnatmetric '-lratio' optioncharlet2007-09-101-0/+1
| | | | | | | | | | | | | | * gnat_ugn.texi: Add description of the new '-lratio' option Update 7.3.1 section about availability of the feature. * exp_smem.ads, exp_smem.adb (Make_Shared_Var_Procs): Return last inserted node. * Makefile.in: (mips-irix section): Activate build of libgmem. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128339 138bc75d-0d04-0410-961f-82ee72b054a4
* * Make-lang.in: Change copyright header to refer to version 3 of the GNUnickc2007-09-031-4/+3
| | | | | | | | | | | | General Public License and to point readers at the COPYING3 file and the FSF's license web page. * ada-tree.def, nmake.adt, nlists.h, snames.h, utils.c, Makefile.rtl, Makefile.in, config-lang.in, uintp.h, urealp.h, namet.h, decl.c, utils2.c, lang.opt, elists.h, atree.h, types.h, treeprs.adt, lang-specs.h, cuintp.c, stringt.h, gnatbl.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128038 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (LIBGNAT_TARGET_PAIRS): Use system-linux-ppc64.adsbje2007-08-311-2/+7
| | | | | | | | when compiling for powerpc64-*-linux. * system-linux-ppc64.ads: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127960 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-08-16 Nicolas Roche <roche@adacore.com>charlet2007-08-161-0/+2
| | | | | | | | | | | * Makefile.in (gnatlib): Propagate FORCE_DEBUG_ADAFLAGS value to sub makefiles * Make-lang.in: Update dependencies git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127543 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-08-14 Geert Bosch <bosch@adacore.com>charlet2007-08-141-30/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * i-forbla.ads, i-forbla.adb, a-ngcoar.adb, a-ngcoar.ads, i-forlap.ads, s-gearop.adb, s-gecobl.adb, s-gecobl.ads, s-gerela.adb, s-gerela.ads: Add required linker pragmas for automatically linking with the gnalasup linear algebra support library, and the systems math library. Rename cdot to cdotu and zdot to zdotu. Update header comment to describe purpose of package. 2007-08-14 Thomas Quinot <quinot@adacore.com> * exp_ch7.adb (Find_Final_List): For an anonymous access type that has an explicitly specified Associated_Final_Chain, use that list. (Expand_N_Package_Body): Build dispatch tables of library level tagged types. (Expand_N_Package_Declaration): Build dispatch tables of library level tagged types. Minor code cleanup. 2007-08-14 Vincent Celier <celier@adacore.com> * gnatchop.adb (Terminate_Program): Remove exception and use Types.Terminate_Program instead. * osint.ads, osint.adb (Current_Exit_Status): New global variable (Find_Program_Name): Added protection against empty name. (OS_Exit_Through_Exception): New procedure * s-os_lib.ads, s-os_lib.adb (OS_Exit): New procedure body (OS_Exit_Default): New procedure that contains the previous implementation of procedure OS_Exit. (Final_Value): Remove obsolete Interix stuff. 2007-08-14 Thomas Quinot <quinot@adacore.com> * g-socket.ads: Reorganize example code so that it also works on Windows XP. 2007-08-14 Tristan Gingold <gingold@adacore.com> * g-trasym.ads: AIX now supports symbolic backtraces. 2007-08-14 Ed Schonberg <schonberg@adacore.com> * lib-load.adb (From_Limited_With_Chain): Always scan the stack of units being loaded to detect circularities. A circularity may be present even if the current chain of pending units to load starts from a limited_with_clause. * lib-load.ads: Change profile of Load_Unit to use a with_clause rather than a boolean flag, in order to detect circularities in with_clauses. * par-load.adb: Use current with_clause in calls to Load_Unit, rather than propagating the From_Limited_With flag, in order to handle properly circularities involving with_clauses. 2007-08-14 Nicolas Setton <setton@adacore.com> * link.c (FreeBSD): Add "const" keyword where needed, to eliminate warnings. 2007-08-14 Arnaud Charlet <charlet@adacore.com> * Makefile.in: GNATRTL_LINEARALGEBRA_OBJS: New variable holding objects to build for libgnala. libgnat: Add rules to build libgnala.a (LIBGNAT_TARGET_PAIRS for VxWorks): Remove s-osinte-vxworks.adb from target pairs of the VxWorks 6 kernel runtime, use it only for VxWorks 5. Add s-osinte-vxworks-kernel.adb to the target pairs of the kernel run-time lib for VxWorks 6, which would provide a different implementation for Task_Cont and Task_Stop than the VxWorks 5 version. x86-solaris section (EH_MECHANISM): Set to -gcc, as this port is now running ZCX by default. Add g-sttsne-locking to LynxOS version. Remove g-sttsne-vxworks.ads; use g-sttsne-locking.ads instead. On x86/darwin, use a-numaux-x86.ad? and system-darwin-x86.ads. * system-darwin-x86.ads: New file. * Make-lang.in: Delete files before copying onto them, so if they are read-only, the copy won't fail. Update dependencies 2007-08-14 Pascal Obry <obry@adacore.com> * mdll-fil.adb, * mdll.adb: Implement a more consistent libraries naming scheme. 2007-08-14 Vincent Celier <celier@adacore.com> * mlib-utl.adb (Gcc_Name): Change from constant String to String_Access (Gcc): Initialize Gcc_Name at the first call 2007-08-14 Ed Schonberg <schonberg@adacore.com> * sem_ch7.adb (Analyze_Package_Specification): Do not install private with_clauses of the enclosing unit when analyzing the package specification of a nested instance. 2007-08-14 Hristian Kirtchev <kirtchev@adacore.com> * sinfo.ads, sinfo.adb (Is_Coextension, Set_Is_Coextension): Removed. (Is_Dynamic_Coextension, Set_Is_Dynamic_Coextension): New routines. Remove flag Is_Coextension. Add flag Is_Dynamic_Coextension. Update the layout of N_Allocator. 2007-08-14 Thomas Quinot <quinot@adacore.com> * rtsfind.adb (Check_RPC): Add PCS version check. * gnatvsn.ads, gnatvsn.adb: Add PCS version. (Gnat_Free_Software): New function. * sem_dist.ads, sem_dist.adb (Get_PCS_Version): New subprogram. Returns the PCS_Version value from s-parint, used to check that it is consistent with what exp_dist expects. * s-parint.ads (PCS_Version): New entity for checking consistency between exp_dist and PCS. * gen-soccon.c: (SO_REUSEPORT): New constant. 2007-08-14 Hristian Kirtchev <kirtchev@adacore.com> * a-calfor.adb (Image (Duration; Boolean)): Change type of local variable Sub_Second to Duration in order to accomodate a larger range of arithmetic operations. 2007-08-14 Bob Duff <duff@adacore.com> * g-sttsne-locking.ads: Move comments from spec to body. * g-sttsne-locking.adb: Move comments from spec to body. * g-sttsne-vxworks.ads: Removed. * g-sttsne-vxworks.adb: Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127467 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-20 Jose Ruiz <ruiz@adacore.com>charlet2007-06-061-47/+114
| | | | | | | | | | | | | | | | | | | | | | | | | Arnaud Charlet <charlet@adacore.com> * Makefile.in (LIBGNAT_TARGET_PAIRS for VxWorks 6): For the RTP run time, use the default s-interr body that provides interrupt support based on signals. (LIBGNAT_TARGET_PAIRS for x86-linux): Use specialized versions of a-exetim.ad{s,b}, a-extiti.ad{s,b}, a-rttiev.ad{s,b}, s-osinte.ad{s,b}, g-soccon.ads, and s-taprop.adb for the marte run time. (EXTRA_GNATRTL_TASKING_OBJS for x86-linux): Execution time clocks and timers are supported on marte. (EH_MECHANISM for marte): Do not use ZCX. (THREADSLIB for marte): Use -lmarte. Add mlib-tgt-vms.o to the list of objects for gnatmake for VMS Add mlib-tgt-specific.o to gnatmake objects mlib-tgt-<platforms>.adb is now the body of MLib.Tgt.Specific, no longer of MLib.Tgt. (LIBGNAT_TARGET_PAIRS for vxworks): When building a run time for VxWorks 6, either kernel or rtp, use a specialized version of s-osinte.ads. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125433 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-04-06 Thomas Quinot <quinot@adacore.com>charlet2007-04-061-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pat Rogers <rogers@adacore.com> Pascal Obry <obry@adacore.com> * g-stsifd-sockets.adb: New file. * g-socthi.ads, g-socket.adb, g-socthi-vxworks.adb, g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi-vms.ads, g-socthi-vms.adb: Move signalling fd management to a nested package, so that they can conveniently be moved to a subunit that is shared across Windows, VMS, and VxWorks (Ada implementation) or completed with imported bodies from socket.c (UNIX case). (Read_Signalling_Fd, Write_Signalling_Fd, Create_Signalling_Fds): New subprograms. (Check_Selector): Use Read_Signalling_Fd to read and discard data from the signalling file descriptor. (Abort_Selector): Use Write_Signalling_Fd to write dummy data to the signalling file descriptor. (Create_Selector): Use new C-imported subprogram Create_Signalling_Fds instead of creating a pair of sockets for signalling here. * g-socthi.adb: Ditto. Set the runtime process to ignore SIGPIPEs on platforms that support neither SO_NOSIGPIPE nor MSG_NOSIGNAL functionality. * g-socthi-mingw.adb: Ditto. (WS_Version): Use Windows 2.2. Use Winsock 2.2 (instead of 1.1) for the GNAT.Socket API. * g-soliop-mingw.ads: Link with ws2_32 for Windows 2.x support. Use Winsock 2.2 (instead of 1.1) for the GNAT.Socket API. * Makefile.in: New libgnat pair g-stsifd.adb<g-stsifd-sockets.adb. added GNAT byte swapping facility Update FreeBSD THREADSLIB from -lc_r to -lpthread, for FreeBSD 6. * g-bytswa.adb, g-bytswa-x86.adb, g-bytswa.ads: New files. * socket.c (__gnat_read_signalling_fd, __gnat_write_controlling_fd): New subprograms. (__gnat_create_signalling_fds): New subprogram. Set the runtime process to ignore SIGPIPEs on platforms that support neither SO_NOSIGPIPE nor MSG_NOSIGNAL functionality. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123542 138bc75d-0d04-0410-961f-82ee72b054a4
* 2007-01-23 Richard Guenther <rguenther@suse.de>rguenth2007-01-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR bootstrap/30541 * Makefile.def (flags_to_pass): Add GNATBIND and GNATMAKE. * Makefile.tpl (GNATBIND): Substitute it. (GNATMAKE): Likewise. (POSTSTAGE1_FLAGS_TO_PASS): Pass staged GNATBIND instead of STAGE_PREFIX. * Makefile.in: Regenerate. * configure: Regenerate. config/ * acx.m4 (ACX_PROG_GNAT): Check for gnatmake. libada/ * Makefile.in (STAGE_PREFIX): Do not define. (FLAGS_TO_PASS): Do not pass STAGE_PREFIX. gnattools/ * Makefile.in (STAGE_PREFIX): Do not define. ada/ * Make-lang.in: Replace invocations of gnatmake with $(GNATMAKE). (gnatboot2): Pass staged GNATMAKE instead of STAGE_PREFIX. (gnatboot3): Likewise. (GNATBIND): Do not define. * Makefile.in (GNATBIND): Do not define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121082 138bc75d-0d04-0410-961f-82ee72b054a4
* * mips-tdump.c: Replace CROSS_COMPILE withgeoffk2006-12-131-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | CROSS_DIRECTORY_STRUCTURE. * mips-tfile.c: Likewise. * gcc.c: Likewise. * configure.ac: Likewise. * cppdefault.c: Likewise. * Makefile.in: Likewise. * config/alpha/osf.h: Likewise. * config/i386/cygwin.h: Likewise. * config/i386/beos-elf.h: Likewise. * config/i386/nto.h: Likewise. * config/fr30/fr30.h: Likewise. * config/svr4.h: Likewise. * config/rs6000/aix.h: Likewise. * config/rs6000/sysv4.h: Likewise. * config/pa/pa64-hpux.h: Likewise. * config/pa/pa-hpux10.h: Likewise. * config/pa/pa-hpux11.h: Likewise. * collect2.c: Likewise. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119820 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in, mingw32.h, trans.c: Fix comment typos.kazu2006-12-021-1/+1
| | | | | | | | * gnat_rm.texi, gnat_ugn.texi: Follow spelling conventions. Fix typos. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119437 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-10-31 Thomas Quinot <quinot@adacore.com>charlet2006-10-311-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Eric Botcazou <ebotcazou@adacore.com> Arnaud Charlet <charlet@adacore.com> * Makefile.in: Set EH mechanism to ZCX for FreeBSD. (NO_REORDER_ADAFLAGS): New var defined to -fno-toplevel-reorder if possible. (a-except.o): Pass it to the compiler. (gnatlib-shared-vms): Removed -nostartfiles switch in link step. (LIBGNAT_TARGET_PAIRS for Windows): Avoid the use of the specific a-calend-mingw.adb version. * Makefile.rtl: Added s-dsaser. Add object entries for Ada.Calendar.[Arithmetic/Formatting/Time_Zones] (GNATRTL_TASKING_OBJS): Add Ada.Dispatching and Ada.Dispatching.Round_Robin. Added new unit Ada.Containers.Restricted_Bounded_Doubly_Linked_Lists * Make-lang.in: Remove all references to gt-ada-decl.h. Add concatenation (s-strops/s-sopco3/s-sopco4/s-sopco5) to compiler sources. Add dependency on ada/s-restri.o for GNAT1 and GNATBIND objects. Update dependencies. * system-freebsd-x86.ads: Make ZCX the default EH mechanism for FreeBSD git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118285 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ada/brooks2006-10-171-0/+1
| | | | | | | | | | | * Makefile.in: Add TEXI2PDF definition. * Make-lang.in: Add "ada.pdf" target. libada/ * Makefile.in: Add dummy "pdf" target. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@117818 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-04-08 Aurelien Jarno <aurel32@debian.org>rmh2006-04-081-0/+28
| | | | | | | | | * Makefile.in: Add Ada support for GNU/kFreeBSD. * s-osinte-kfreebsd-gnu.ads: New file. Approved by: Arnaud Charlet <charlet@adacore.com> git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112786 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-17 Vasiliy Fofanov <fofanov@adacore.com>charlet2006-02-171-2/+5
| | | | | | | | | | * Makefile.in: Use VMS64 specialized versions of several units in Interfaces.C hierarchy to be compatible with HP C default size choices. Use the default version of Ada.Synchronous_Task_Control for VxWorks 653. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111190 138bc75d-0d04-0410-961f-82ee72b054a4
* 2006-02-13 Arnaud Charlet <charlet@adacore.com>charlet2006-02-151-92/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Robert Dewar <dewar@adacore.com> * a-exexpr.adb, a-exexpr-gcc.adb (Process_Raise_Exception): Removed, merged with Propagate_Exception. (Propagate_Exception): Now take extra From_Signal_Handler parameter. Remove code unused for exception propagation for the compiler itself from a-except.adb and update to still share separate packages. * a-except.ads, a-except.adb: Ditto. Add comments that this version is now used only by the compiler and other basic tools. The full version that includes the Ada 2005 stuff is in separate files a-except-2005.ads/adb. The reason is that we do not want to cause bootstrap problems with compilers not recognizing Wide_Wide_String. Add exception reason code PE_Implicit_Return Add new exception reason code (Null Exception_Id) * a-except-2005.adb, a-except-2005.ads: New files. * s-wchcon.ads: (Get_WC_Encoding_Method): New function. * s-wchcon.adb: New file. * Makefile.in (LIBGNAT_SRCS): Add tb-gcc.c. (traceback.o deps): Likewise. (SPARC/Solaris): Accept sparc[64|v9]-sun-solaris. Activate build of GMEM instrumentation library on VMS targets. (gnatlib-sjlj, gnatlib-zcx): Pass EH_MECHANISM to make gnatlib. Use a-except-2005.ads/adb for all run-time library builds unless specified otherwise. [VMS] (LIBGNAT_TARGET_PAIRS_AUX1,2): Rename s-parame-vms.ads to s-parame-vms-alpha.ads and add s-parame-vms-ia64.ads. Use s-parame.adb on all native platforms. Use s-parame-vxworks.adb on all vxworks platforms. Add env.c env.h in LIBGNAT_SRCS Add env.o in LIBGNAT_OBJS (GNATMAKE_OBJS): Remove ctrl_c.o object. (LIBGNAT_TARGET_PAIRS for x86-vxworks): Use an specialized version of s-osinte.adb, s-tpopsp.adb, and system.ads for the run time that supports VxWorks 6 RTPs. (EXTRA_GNATRTL_NONTASKING_OBJS for x86-vxworks): Remove the use of i-vxworks and i-vxwoio from the run time that supports VxWorks 6 RTPs. * types.h, types.ads (Terminate_Program): New exception Add comment on modifying multiple versions of a-except.adb when the table of exception reasons is modified. Add exception reason code PE_Implicit_Return Add new exception reason code (Null Exception_Id) * clean.adb (Initialize): Get the target parameters before checking if target is OpenVMS. Move the OpenVMS specific code here from package body elaboration code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111031 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/25859ebotcazou2006-01-251-24/+24
| | | | | | | | | | | | * Makefile.in (GCC_LINK): Remove quotes. (tools targets): Link with either $(GNATLINK) --GCC="$(GCC_LINK)" or $(GCC_LINK). (powerpc-darwin): Pass -shared-libgcc when building shared library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110229 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove dummy setting of GCC_FOR_TARGET, no longer needed.charlet2005-12-121-5/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108409 138bc75d-0d04-0410-961f-82ee72b054a4
* (mingw section): Remove EH_MECHANISM setting.charlet2005-12-121-1/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108405 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-12-05 Doug Rupp <rupp@adacore.com>charlet2005-12-091-15/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mlib-tgt-vms-ia64.adb, mlib-tgt-vms-alpha.adb (Is_Interface): Change Ada bind file prefix on VMS from b$ to b__. (Build_Dynamic_Library): Change Init file suffix on VMS from $init to __init. * prj-nmsc.adb: Change some Hostparm.OpenVMS checks to Targparm.OpenVMS_On_Target. (Object_Suffix): Initialize with target object suffix. (Get_Unit): Change Ada bind file prefix on VMS from b$ to b__. * butil.adb: Change some Hostparm.OpenVMS checks to Targparm.OpenVMS_On_Target. * clean.adb: Change some Hostparm.OpenVMS checks to Targparm.OpenVMS_On_Target. (Object_Suffix): Initialize with call to Get_Target_Object_Suffix. ({declaraction},Delete_Binder_Generated_Files,{initialization}): Change Ada bind file prefix on VMS from b$ to b__. * gnatlink.adb (Process_Args): Call Add_Src_Search_Dir for -I in --GCC so that Get_Target_Parameters can find system.ads. (Gnatlink): Call Get_Target_Parameters in mainline. Initialize standard packages for Targparm. Change some Hostparm.OpenVMS checks to Targparm.OpenVMS_On_Target. (Process_Args): Also Check for object files with target object extension. (Make_Binder_File_Names): Create with target object extension. (Make_Binder_File_Names): Change Ada bind file prefix on VMS from b$ to b__. * mlib-prj.adb: Change some Hostparm.OpenVMS checks to Targparm.OpenVMS_On_Target. ({declaration},Build_Library,Check_Library): Change Ada bind file prefix on VMS from b$ to b__. * osint-b.adb: Change some Hostparm.OpenVMS checks to Targparm.OpenVMS_On_Target. (Create_Binder_Output): Change Ada bind file prefix on VMS from b$ to b__. * targext.c: New file. * Makefile.in: add support for vxworks653 builds (../../vxaddr2line): gnatlink with targext.o. (TOOLS_LIBS): Move targext.o to precede libgnat. (init.o, initialize.o): Minor clean up in dependencies. (GNATLINK_OBJS): Add targparm.o, snames.o Add rules fo building targext.o and linking it explicitly with all tools. Also add targext.o to gnatlib. * Make-lang.in: Add rules for building targext.o and linking it in with gnat1 and gnatbind. Add entry for exp_sel.o. * osint.adb Change some Hostparm.OpenVMS checks to Targparm.OpenVMS_On_Target. (Object_File_Name): Use target object suffix. * osint.ads (Object_Suffix): Remove, no longer used. (Target_Object_Suffix): Initialize with target object suffix. * rident.ads: Add special exception to license. * targparm.adb (Get_Target_Parameters): Set the value of Multi_Unit_Index_Character after OpenVMS_On_Target gets its definitive value. (Get_Target_Parameters): Set OpenVMS_On_Target if openvms. * targparm.ads: Add special exception to license. * g-os_lib.ads, g-os_lib.adb (Get_Target_Debuggable_Suffix): New function. (Copy_File): Make sure from file is closed if error on to file (Get_Target_Executable_Suffix, Get_Target_Object_Suffix): New functions. * make.adb (Object_Suffix): Intialize with Get_Target_Object_Suffix. (Executable_Suffix): Intialize with Get_Target_Executable_Suffix. * osint-c.adb (Set_Output_Object_File_Name): Initialize extension with target object suffix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108285 138bc75d-0d04-0410-961f-82ee72b054a4
* libada:bonzini2005-12-051-2/+2
| | | | | | | | | | | | | | | | 2005-12-05 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (FLAGS_TO_PASS): Add GCC_FOR_TARGET. gcc/ada: 2005-12-05 Paolo Bonzini <bonzini@gnu.org> * Makefile.in (gnatlib): Fix regex, using \. instead of . when a period is meant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108058 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-18 Laurent GUERBY <laurent@guerby.net>guerby2005-11-181-0/+2
| | | | | | | | | | PR ada/24857 * Makefile.in: Use s-auxdec-empty for RTEMS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107175 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-11-16 Richard Guenther <rguenther@suse.de>rguenth2005-11-161-0/+1
| | | | | | | * Makefile.in: Add EH_MECHANISM=-gcc to s390(x) linux. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107087 138bc75d-0d04-0410-961f-82ee72b054a4
* * a-except.adb (Zero_Cost_Exceptions): Removed, no longer used.charlet2005-11-151-242/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (builtin_longjmp, Process_Raise_Exceeption): Move setjmp/longjmp related code to a-exexpr.adb (Save_Occurrence_And_Private): Move GCC EH related code to a-exexpr-gcc.adb (Raise_Current_Excep): Add new variable Id with pragma volatile, to ensure that the variable lives on stack. * a-exexpr-gcc.adb, raise-gcc.c: New file. * a-exexpr.adb (builtin_longjmp, Propagate_Exception): Moved here code from a-except.adb. Move GCC EH related code to a-exexpr-gcc.adb * Makefile.in: Add or update g-soccon LIBGNAT pairs for Linux/PPC and 64-bit Solaris Split the Linux version of g-soccon into separate variants for 32 and 64 bit platforms. (gnatlib): Use $(AR_FOR_TARGET) and $(RANLIB_FOR_TARGET) vice $(AR) and $(RANLIB). Remove use of host variable $(RANLIB_FLAGS). install-gnatlib: Use $(RANLIB_FOR_TARGET) vice $(RANLIB). Remove use of host variable $(RANLIB_FLAGS). (alpha64-dec-*vms*): Fix translations for 64 bit compiler. Code clean up: remove unused/obsolete targets. (EH_MECHANISM): New variable introduced to differenciate between the two EH mechanisms statically. (gnatlib-zcx, gnatlib-sjlj): Force EH_MECHANISM manually. (LIBGNAT_OBJS): Add raise-gcc.o (LIBGNAT_TARGET_PAIRS for ppc-vxworks): Use an specialized version of s-osinte.adb, s-tpopsp.adb, and system.ads for the run time that supports VxWorks 6 RTPs. (EXTRA_GNATRTL_NONTASKING_OBJS for ppc-vxworks): Remove the use of i-vxworks and i-vxwoio from the run time that supports VxWorks 6 RTPs. * raise.c: Move all GCC EH-related routines to raise-gcc.c git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106959 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-09-01 Arnaud Charlet <charlet@adacore.com>charlet2005-09-051-22/+13
| | | | | | | | | | | | | | | * Makefile.in: Adjust the libgnat target pairs for Xscale to ARM. Note that the platform-specific version of g-soccon.ads for VMS is now named g-soccon-vms.ads (it was previously g-soccon-vms.adb, although it really is a package spec). Replace s-taspri-linux.ads by s-taspri-posix.ads Remove references to s-mastop-x86.adb * system-vxworks-xscale.ads: Removed, no longer used. * s-vxwork-xscale.ads: Removed, no longer used. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103893 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-07-04 Matthew Gingell <gingell@adacore.com>charlet2005-07-041-8/+10
| | | | | | | | | | | * Makefile.in: Replace indepsw-linux.adb by indepsw-gnu.adb * indepsw-linux.adb: Replace by... * indepsw-gnu.adb: ...this new file git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101581 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF addresskcook2005-07-011-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101492 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-06-10 Arnaud Charlet <charlet@adacore.com>charlet2005-06-161-24/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in: Add initialize.o when needed. Adapt to new VMS package body Symbols and subunits No specialized version of a-sytaco is needed for VxWorks. * a-wichun.ads, a-wichun.adb, a-zchuni.ads, a-zchuni.adb: New files. * a-zchara.ads, a-widcha.ads: New files. * system-hpux-ia64.ads: New file. * i-vxwork-x86.ads, i-vxwork.ads (intContext): Add this function which is imported from the VxWorks kernel. 2005-06-14 Robert Dewar <dewar@adacore.com> * g-soliop-mingw.ads, g-soccon-vms.adb, a-swmwco.ads, exp_smem.adb, fmap.adb, a-szmzco.ads, s-traent-vms.adb, s-traent-vms.ads, a-direio.ads, a-exctra.ads, a-exexda.adb, a-exextr.adb, a-stream.ads, s-restri.ads, s-restri.adb, s-traent.adb, s-traent.ads, a-slcain.adb, a-stzhas.ads, a-tiinau.adb, comperr.adb, exp_ch11.adb, g-boubuf.adb, g-calend.adb, g-debpoo.ads, g-moreex.ads, gprep.adb, g-regpat.ads, i-cexten.ads, i-os2thr.ads, makeutl.ads, memroot.adb, mlib-prj.adb, namet.adb, namet.ads, prj-makr.adb, prj-proc.adb, sem_dist.adb, sem_elim.ads, s-valint.adb, s-vallli.adb, s-vallli.adb, s-vallli.ads, s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads, scn.adb, s-tasinf.adb, targparm.adb, uname.adb, uname.ads, xnmake.adb, xsinfo.adb, a-direct.ads: Remove extra blank lines. Minor reformatting. 2005-06-14 Thomas Quinot <quinot@adacore.com> * xeinfo.adb: Fix typo in comment 2005-06-14 Javier Miranda <miranda@adacore.com> * repinfo.ads: Fix typo in comment 2005-06-14 Gary Dismukes <dismukes@adacore.com> * s-finimp.adb (Parent_Tag): Delete this imported function (function Parent_Tag is now in the visible part of Ada.Tags). (Get_Deep_Controller): Call Ada.Tags.Parent_Tag directly instead of using imported function. 2005-06-14 Bernard Banner <banner@adacore.com> * vxaddr2line.adb: Add support for Windows hosted x86 vxworks. Should also apply for handling support for VxSim 653. 2005-06-14 Eric Botcazou <ebotcazou@adacore.com> * xsnames.adb: Add automatic generation of snames.h. 2005-06-14 Thomas Quinot <quinot@adacore.com> * gen-soccon.c: Add IP_MULTICAST_IF constant Minor reformatting and adjustments to prevent warnings. 2005-06-14 Pascal Obry <obry@adacore.com> * seh_init.c: Do not include <sys/stat.h>. This is not needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101072 138bc75d-0d04-0410-961f-82ee72b054a4
* PR ada/20270neroden2005-05-161-1/+3
| | | | | | | * Makefile.in: Make TGT_LIB behave correctly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99773 138bc75d-0d04-0410-961f-82ee72b054a4