OSDN Git Service

* vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2010 23:09:58 +0000 (23:09 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2010 23:09:58 +0000 (23:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162356 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/vxworks.c

index b2beeea..59ca430 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 94e412d..2b1525a 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;