s-osinte-kfreebsd-gnu.ads (To_Target_Priority): New function.

2007-11-21  Aurelien Jarno <aurelien@aurel32.net>

    gcc/ada/
	* s-osinte-kfreebsd-gnu.ads (To_Target_Priority): New function.
	* Makefile.in: Add EH_MECHANISM=-gcc to kfreebsd-gnu. Remove SYMLIB.

From-SVN: r130330
This commit is contained in:
Aurelien Jarno 2007-11-21 12:16:51 +00:00 committed by Samuel Tardieu
parent 11948f6bac
commit 5f45b299ed
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2007-11-21 Aurelien Jarno <aurelien@aurel32.net>
* s-osinte-kfreebsd-gnu.ads (To_Target_Priority): New function.
* Makefile.in: Add EH_MECHANISM=-gcc to kfreebsd-gnu. Remove SYMLIB.
2007-11-19 Eric Botcazou <ebotcazou@adacore.com>
PR ada/34098

View file

@ -879,7 +879,7 @@ ifeq ($(strip $(filter-out %86 kfreebsd%,$(arch) $(osys))),)
mlib-tgt.adb<mlib-tgt-linux.adb \
indepsw.adb<indepsw-gnu.adb
SYMLIB = -laddr2line -lbfd -liberty $(LIBINTL)
EH_MECHANISM=-gcc
THREADSLIB = -lpthread
GNATLIB_SHARED = gnatlib-shared-dual
GMEM_LIB = gmemlib

View file

@ -233,6 +233,10 @@ package System.OS_Interface is
SCHED_OTHER : constant := 2;
SCHED_RR : constant := 3;
function To_Target_Priority
(Prio : System.Any_Priority) return Interfaces.C.int;
-- Maps System.Any_Priority to a POSIX priority.
-------------
-- Process --
-------------