Commit 5f45b299 by Aurelien Jarno Committed by Samuel Tardieu

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
parent 11948f6b
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> 2007-11-19 Eric Botcazou <ebotcazou@adacore.com>
PR ada/34098 PR ada/34098
...@@ -879,7 +879,7 @@ ifeq ($(strip $(filter-out %86 kfreebsd%,$(arch) $(osys))),) ...@@ -879,7 +879,7 @@ ifeq ($(strip $(filter-out %86 kfreebsd%,$(arch) $(osys))),)
mlib-tgt.adb<mlib-tgt-linux.adb \ mlib-tgt.adb<mlib-tgt-linux.adb \
indepsw.adb<indepsw-gnu.adb indepsw.adb<indepsw-gnu.adb
SYMLIB = -laddr2line -lbfd -liberty $(LIBINTL) EH_MECHANISM=-gcc
THREADSLIB = -lpthread THREADSLIB = -lpthread
GNATLIB_SHARED = gnatlib-shared-dual GNATLIB_SHARED = gnatlib-shared-dual
GMEM_LIB = gmemlib GMEM_LIB = gmemlib
......
...@@ -233,6 +233,10 @@ package System.OS_Interface is ...@@ -233,6 +233,10 @@ package System.OS_Interface is
SCHED_OTHER : constant := 2; SCHED_OTHER : constant := 2;
SCHED_RR : constant := 3; 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 -- -- Process --
------------- -------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment