source: rtems/contrib/crossrpms/patches/gcc-ada-4.4.2-20091201.diff @ d382f6e

4.104.115
Last change on this file since d382f6e was d382f6e, checked in by Joel Sherrill <joel.sherrill@…>, on Dec 1, 2009 at 8:30:37 PM

Update Ada patch.

  • Property mode set to 100644
File size: 1.2 KB
  • gcc/ada/s-osinte-rtems.ads

    diff -urN gcc-4.4.2-orig/gcc/ada/s-osinte-rtems.ads gcc-4.4.2/gcc/ada/s-osinte-rtems.ads
    old new  
    625625      process_shared  : int;
    626626      prio_ceiling    : int;
    627627      protocol        : int;
     628      mutex_type      : int;
    628629      recursive       : int;
    629630   end record;
    630631   pragma Convention (C, pthread_mutexattr_t);
  • gcc/ada/s-stchop-rtems.adb

    diff -urN gcc-4.4.2-orig/gcc/ada/s-stchop-rtems.adb gcc-4.4.2/gcc/ada/s-stchop-rtems.adb
    old new  
    8080   is
    8181      pragma Unreferenced (Stack_Address);
    8282
    83       --  RTEMS has a routine to check this.  So use it.
    84       function rtems_stack_checker_is_blown return Interfaces.C.int;
     83      --  RTEMS has a routine to check if the stack is blown.
     84      --  It returns a C99 bool.
     85      function rtems_stack_checker_is_blown return Interfaces.C.unsigned_char;
    8586      pragma Import (C,
    8687         rtems_stack_checker_is_blown, "rtems_stack_checker_is_blown");
    8788
Note: See TracBrowser for help on using the repository browser.