summaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-10 01:59:58 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1996-05-10 01:59:58 +0000
commit47f532a0031f836c4e642eb508fc34981a5238a6 (patch)
treeea0b85f3cdb7cf01c9ac538ec927cd29c4c2e6ee /gcc/varasm.c
parent9e140e5eecfbe6b4b77767382f98c2e59ba47ed5 (diff)
downloadgcc-47f532a0031f836c4e642eb508fc34981a5238a6.tar.gz
* varasm.c (assemble_variable): ASM_DECLARE_OBJECT_NAME needn't
consider bytecodes. * varasm.c (assemble_start_function): ASM_DECLARE_FUNCTION_NAME needn't consider bytecodes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11964 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c26
1 files changed, 15 insertions, 11 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index ffcdd916de4..09ab0d6c27f 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -969,15 +969,17 @@ assemble_start_function (decl, fnname)
}
/* Do any machine/system dependent processing of the function name */
-#ifdef ASM_DECLARE_FUNCTION_NAME
- ASM_DECLARE_FUNCTION_NAME (asm_out_file, fnname, current_function_decl);
-#else
- /* Standard thing is just output label for the function. */
if (output_bytecode)
BC_OUTPUT_LABEL (asm_out_file, fnname);
else
- ASM_OUTPUT_LABEL (asm_out_file, fnname);
+ {
+#ifdef ASM_DECLARE_FUNCTION_NAME
+ ASM_DECLARE_FUNCTION_NAME (asm_out_file, fnname, current_function_decl);
+#else
+ /* Standard thing is just output label for the function. */
+ ASM_OUTPUT_LABEL (asm_out_file, fnname);
#endif /* ASM_DECLARE_FUNCTION_NAME */
+ }
}
/* Output assembler code associated with defining the size of the
@@ -1470,16 +1472,18 @@ assemble_variable (decl, top_level, at_end, dont_output_data)
}
/* Do any machine/system dependent processing of the object. */
-#ifdef ASM_DECLARE_OBJECT_NAME
- last_assemble_variable_decl = decl;
- ASM_DECLARE_OBJECT_NAME (asm_out_file, name, decl);
-#else
- /* Standard thing is just output label for the object. */
if (output_bytecode)
BC_OUTPUT_LABEL (asm_out_file, name);
else
- ASM_OUTPUT_LABEL (asm_out_file, name);
+ {
+#ifdef ASM_DECLARE_OBJECT_NAME
+ last_assemble_variable_decl = decl;
+ ASM_DECLARE_OBJECT_NAME (asm_out_file, name, decl);
+#else
+ /* Standard thing is just output label for the object. */
+ ASM_OUTPUT_LABEL (asm_out_file, name);
#endif /* ASM_DECLARE_OBJECT_NAME */
+ }
if (!dont_output_data)
{