From patchwork Tue Jul 20 23:12:46 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Unbreak i686-wrs-vxworks build Date: Tue, 20 Jul 2010 13:12:46 -0000 From: Richard Henderson X-Patchwork-Id: 59387 Message-Id: <4C462D6E.4050909@redhat.com> To: GCC Patches This file got missed when build_decl gained its mandatory location_t argument. Committed. r~ * vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls. 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;