diff options
author | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2003-07-11 03:40:53 +0000 |
commit | b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180 (patch) | |
tree | f6b0610f4a17fd26aa234354f050080f789861a4 /contrib/gcc/dwarf2asm.c | |
parent | 52e69d78eee5612ac195e0701a5cebe40d1ab0e1 (diff) | |
download | FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.zip FreeBSD-src-b2a8872fbe1ec1c49094559ac7b78e6ea4ab7180.tar.gz |
Gcc 3.3.1-pre as of 2003-07-11.
Diffstat (limited to 'contrib/gcc/dwarf2asm.c')
-rw-r--r-- | contrib/gcc/dwarf2asm.c | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/contrib/gcc/dwarf2asm.c b/contrib/gcc/dwarf2asm.c index 2222ecd..b5a87de 100644 --- a/contrib/gcc/dwarf2asm.c +++ b/contrib/gcc/dwarf2asm.c @@ -60,7 +60,7 @@ dw2_assemble_integer (size, x) else assemble_integer (x, size, BITS_PER_UNIT, 1); } - + /* Output an immediate constant in a given size. */ @@ -104,11 +104,14 @@ dw2_asm_output_delta VPARAMS ((int size, const char *lab1, const char *lab2, VA_FIXEDARG (ap, const char *, lab2); VA_FIXEDARG (ap, const char *, comment); +#ifdef ASM_OUTPUT_DWARF_DELTA + ASM_OUTPUT_DWARF_DELTA (asm_out_file, size, lab1, lab2); +#else dw2_assemble_integer (size, gen_rtx_MINUS (Pmode, gen_rtx_SYMBOL_REF (Pmode, lab1), gen_rtx_SYMBOL_REF (Pmode, lab2))); - +#endif if (flag_debug_asm && comment) { fprintf (asm_out_file, "\t%s ", ASM_COMMENT_START); @@ -316,7 +319,7 @@ size_of_sleb128 (value) } /* Given an encoding, return the number of bytes the format occupies. - This is only defined for fixed-size encodings, and so does not + This is only defined for fixed-size encodings, and so does not include leb128. */ int @@ -561,7 +564,7 @@ dw2_asm_output_data_uleb128 VPARAMS ((unsigned HOST_WIDE_INT value, VA_CLOSE (ap); } -/* Output an signed LEB128 quantity. */ +/* Output a signed LEB128 quantity. */ void dw2_asm_output_data_sleb128 VPARAMS ((HOST_WIDE_INT value, @@ -704,7 +707,7 @@ mark_indirect_pool_entry (node, data) splay_tree_node node; void* data ATTRIBUTE_UNUSED; { - ggc_mark_nonnull_tree ((tree) node->value); + ggc_mark_tree ((tree) node->value); return 0; } @@ -739,7 +742,7 @@ dw2_force_const_mem (x) if (GET_CODE (x) != SYMBOL_REF) abort (); - STRIP_NAME_ENCODING (str, XSTR (x, 0)); + str = (* targetm.strip_name_encoding) (XSTR (x, 0)); node = splay_tree_lookup (indirect_pool, (splay_tree_key) str); if (node) decl = (tree) node->value; @@ -845,7 +848,7 @@ dw2_asm_output_encoded_addr_rtx VPARAMS ((int encoding, { restart: /* Allow the target first crack at emitting this. Some of the - special relocations require special directives instead of + special relocations require special directives instead of just ".4byte" or whatever. */ #ifdef ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX (asm_out_file, encoding, size, @@ -883,7 +886,7 @@ dw2_asm_output_encoded_addr_rtx VPARAMS ((int encoding, break; default: - /* Other encodings should have been handled by + /* Other encodings should have been handled by ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX. */ abort (); } |