diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-20 23:09:58 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-07-20 23:09:58 +0000 |
commit | 5365df724984bb3f5b2e6c9756237f66a29fed49 (patch) | |
tree | d8c7178914fc5c5bd46b0c2bb9890de5ba930a5c /gcc/config/vxworks.c | |
parent | bf7bc2f64d5851b3522e64bddfba1df3804e69c2 (diff) | |
download | gcc-5365df724984bb3f5b2e6c9756237f66a29fed49.tar.gz |
* vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162356 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/vxworks.c')
-rw-r--r-- | gcc/config/vxworks.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; |