/* Common VxWorks target definitions for GNU compiler.
- Copyright (C) 2007, 2008
+ Copyright (C) 2007, 2008, 2010
Free Software Foundation, Inc.
Contributed by CodeSourcery, Inc.
#include "coretypes.h"
#include "target.h"
#include "diagnostic-core.h"
-#include "toplev.h"
#include "output.h"
#include "tm.h"
#include "tree.h"
*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;
return build_constructor (type, v);
}
-/* Do VxWorks-specific parts of OVERRIDE_OPTIONS. */
+/* Do VxWorks-specific parts of TARGET_OPTION_OVERRIDE. */
void
vxworks_override_options (void)