diff options
author | Richard Henderson <rth@redhat.com> | 2010-07-20 16:09:58 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2010-07-20 16:09:58 -0700 |
commit | 7703295fa811999cae9f8752087b013b07e11bd5 (patch) | |
tree | d8c7178914fc5c5bd46b0c2bb9890de5ba930a5c | |
parent | 16737e76d6ef9912996b93aa52ec9fb7c1efd2c3 (diff) | |
download | gcc-7703295fa811999cae9f8752087b013b07e11bd5.zip gcc-7703295fa811999cae9f8752087b013b07e11bd5.tar.gz gcc-7703295fa811999cae9f8752087b013b07e11bd5.tar.bz2 |
* vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls.
From-SVN: r162356
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/vxworks.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b2beeea..59ca430 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/vxworks.c b/gcc/config/vxworks.c index 94e412d..2b1525a 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; |