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

Duncan Sands baldrick at free.fr
Sat May 17 05:25:47 PDT 2008


Author: baldrick
Date: Sat May 17 07:25:46 2008
New Revision: 51219

URL: http://llvm.org/viewvc/llvm-project?rev=51219&view=rev
Log:
Use weak rather than __weak__ to be consistent
with the rest of the file.  Use size 0 for
system__restrictions__run_time_restrictions;
the size is irrelevant, and size 0 kind of
reflects this.

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=51219&r1=51218&r2=51219&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/ada/init.c (original)
+++ llvm-gcc-4.2/trunk/gcc/ada/init.c Sat May 17 07:25:46 2008
@@ -96,9 +96,9 @@
 char  __gl_queuing_policy           = ' ';
 char  __gl_task_dispatching_policy  = ' ';
 /* LLVM local begin */
-char *__gl_priority_specific_dispatching          __attribute__ ((__weak__)) = 0;
-int   __gl_num_specific_dispatching               __attribute__ ((__weak__)) = 0;
-int   system__restrictions__run_time_restrictions __attribute__ ((__weak__)) = 0;
+char *__gl_priority_specific_dispatching            __attribute__ ((weak));
+int   __gl_num_specific_dispatching                 __attribute__ ((weak));
+char system__restrictions__run_time_restrictions[0] __attribute__ ((weak));
 /* LLVM local end */
 char *__gl_restrictions             = 0;
 char *__gl_interrupt_states         = 0;





More information about the llvm-commits mailing list