Commit 13832d15 by Richard Stallman

(ASM_FINISH_DECLARE_OBJECT): Emit .size only if DECLARE_ASM_NAME.

From-SVN: r5855
parent 76fb0b60
...@@ -1943,6 +1943,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS, ...@@ -1943,6 +1943,7 @@ enum reg_class { NO_REGS, AP_REG, XRF_REGS, GENERAL_REGS, AGRF_REGS,
do { \ do { \
char *name = XSTR (XEXP (DECL_RTL (DECL), 0), 0); \ char *name = XSTR (XEXP (DECL_RTL (DECL), 0), 0); \
if (!flag_inhibit_size_directive && DECL_SIZE (DECL) \ if (!flag_inhibit_size_directive && DECL_SIZE (DECL) \
&& DECLARE_ASM_NAME \
&& ! AT_END && TOP_LEVEL \ && ! AT_END && TOP_LEVEL \
&& DECL_INITIAL (DECL) == error_mark_node \ && DECL_INITIAL (DECL) == error_mark_node \
&& !size_directive_output) \ && !size_directive_output) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment