#include "output.h"
#include "target.h"
#include "dwarf2asm.h"
-#include "dwarf2.h"
+#include "elf/dwarf2.h"
#include "splay-tree.h"
#include "ggc.h"
#include "tm_p.h"
if (op)
{
fputs (op, asm_out_file);
- if (GET_CODE (x) == CONST_INT)
+ if (CONST_INT_P (x))
fprintf (asm_out_file, HOST_WIDE_INT_PRINT_HEX,
(unsigned HOST_WIDE_INT) INTVAL (x));
else
sym = (const char *) node->key;
id = (tree) node->value;
- decl = build_decl (VAR_DECL, id, ptr_type_node);
+ decl = build_decl (UNKNOWN_LOCATION, VAR_DECL, id, ptr_type_node);
DECL_ARTIFICIAL (decl) = 1;
DECL_IGNORED_P (decl) = 1;
DECL_INITIAL (decl) = decl;
if (TREE_PUBLIC (id))
{
TREE_PUBLIC (decl) = 1;
- make_decl_one_only (decl);
+ make_decl_one_only (decl, DECL_ASSEMBLER_NAME (decl));
}
else
TREE_STATIC (decl) = 1;