2007-11-21 Aurelien Jarno <aurelien@aurel32.net>
authorsam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Nov 2007 12:16:51 +0000 (12:16 +0000)
committersam <sam@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Nov 2007 12:16:51 +0000 (12:16 +0000)
    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

gcc/ada/ChangeLog
gcc/ada/Makefile.in
gcc/ada/s-osinte-kfreebsd-gnu.ads

index bf19108..dc164f6 100644 (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
index 363675c..a03a7ea 100644 (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
index 2068745..05fb928 100644 (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 --
    -------------