* vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls.
authorRichard Henderson <rth@redhat.com>
Tue, 20 Jul 2010 23:09:58 +0000 (16:09 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 20 Jul 2010 23:09:58 +0000 (16:09 -0700)
From-SVN: r162356

gcc/ChangeLog
gcc/config/vxworks.c

index b2beeea43605bcbf260da298772e137bfec28655..59ca430b23017103a68f523fcf96c3f62cce0c3d 100644 (file)
@@ -1,3 +1,7 @@
+2010-07-20  Richard Henderson  <rth@redhat.com>
+
+       * vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls.
+
 2010-07-20  Bernd Schmidt  <bernds@codesourcery.com>
 
        * config/arm/arm.md (thumb1_addsi3): Add alternative and split for
index 94e412d25b011f9f0dcd0cad2f1f9908f8712c62..2b1525a3180dc01b7e00a6dacd80378a1ec7de3a 100644 (file)
@@ -70,19 +70,19 @@ vxworks_emutls_var_fields (tree type, tree *name)
   
   *name = get_identifier ("__tls_var");
   
-  field = build_decl (FIELD_DECL, get_identifier ("size"),
-                     unsigned_type_node);
+  field = build_decl (BUILTINS_LOCATION, FIELD_DECL,
+                     get_identifier ("size"), unsigned_type_node);
   DECL_CONTEXT (field) = type;
   next_field = field;
 
-  field = build_decl (FIELD_DECL, get_identifier ("module_id"),
-                     unsigned_type_node);
+  field = build_decl (BUILTINS_LOCATION, FIELD_DECL,
+                     get_identifier ("module_id"), unsigned_type_node);
   DECL_CONTEXT (field) = type;
   DECL_CHAIN (field) = next_field;
   next_field = field;
 
-  field = build_decl (FIELD_DECL, get_identifier ("offset"),
-                     unsigned_type_node);
+  field = build_decl (BUILTINS_LOCATION, FIELD_DECL,
+                     get_identifier ("offset"), unsigned_type_node);
   DECL_CONTEXT (field) = type;
   DECL_CHAIN (field) = next_field;