From 7703295fa811999cae9f8752087b013b07e11bd5 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 20 Jul 2010 16:09:58 -0700 Subject: * vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls. From-SVN: r162356 --- gcc/config/vxworks.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gcc/config/vxworks.c') diff --git a/gcc/config/vxworks.c b/gcc/config/vxworks.c index 94e412d25b0..2b1525a3180 100644 --- a/gcc/config/vxworks.c +++ b/gcc/config/vxworks.c @@ -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; -- cgit v1.2.1