[llvm-commits] [llvm-gcc-4.2] r53717 - /llvm-gcc-4.2/trunk/gcc/ada/init.c

Duncan Sands baldrick at free.fr
Thu Jul 17 08:55:16 PDT 2008


Author: baldrick
Date: Thu Jul 17 10:55:14 2008
New Revision: 53717

URL: http://llvm.org/viewvc/llvm-project?rev=53717&view=rev
Log:
Remove the fake system__restrictions__run_time_restrictions.
Without it, the Ada front-end cannot be compiled with GNAT
GPL editions earlier than 2007.  However with it you can get
a nasty warning when linking executables.  This warning is
the reason that most of the Ada gcc regression tests fail.

Modified:
    llvm-gcc-4.2/trunk/gcc/ada/init.c

Modified: llvm-gcc-4.2/trunk/gcc/ada/init.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/ada/init.c?rev=53717&r1=53716&r2=53717&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/ada/init.c (original)
+++ llvm-gcc-4.2/trunk/gcc/ada/init.c Thu Jul 17 10:55:14 2008
@@ -96,9 +96,8 @@
 char  __gl_queuing_policy           = ' ';
 char  __gl_task_dispatching_policy  = ' ';
 /* LLVM local begin */
-char *__gl_priority_specific_dispatching            __attribute__ ((weak));
-int   __gl_num_specific_dispatching                 __attribute__ ((weak));
-char system__restrictions__run_time_restrictions[0] __attribute__ ((weak));
+char *__gl_priority_specific_dispatching __attribute__ ((weak));
+int   __gl_num_specific_dispatching      __attribute__ ((weak));
 /* LLVM local end */
 char *__gl_restrictions             = 0;
 char *__gl_interrupt_states         = 0;





More information about the llvm-commits mailing list