Commit 7703295f by Richard Henderson Committed by Richard Henderson

* vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls.

From-SVN: r162356
parent 16737e76
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
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment