summaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-28 18:44:34 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-28 18:44:34 +0000
commita74248888df151d609dbcb998358c44f03014d6b (patch)
tree4ba6979618bd68bd4f566738d9935f4ff69e6ccf /gcc/defaults.h
parent74dd0d01c435c6d2c926aee0857b71b4c98a9693 (diff)
downloadgcc-a74248888df151d609dbcb998358c44f03014d6b.tar.gz
* defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two
arguments. Always use ".-symbol" as expression argument. * doc/tm.texi: Update to match. Document requirement for ".size symbol, .-symbol" to be acceptable to assembler. * config/elfos.h, config/netbsd-aout.h, config/openbsd.h, config/arm/elf.h, config/avr/avr.h, config/cris/aout.h, config/i386/freebsd-aout.h, config/i386/sco5.h, config/ip2k/ip2k.h, config/m88k/m88k.h, config/xtensa/elf.h, config/xtensa/linux.h: Update uses of ASM_OUTPUT_MEASURED_SIZE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55820 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index ef83bdd087b..0bbcc21eeb2 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -200,15 +200,13 @@ do { fputs (integer_asm_op (POINTER_SIZE / UNITS_PER_WORD, TRUE), FILE); \
} \
while (0)
-#define ASM_OUTPUT_MEASURED_SIZE(STREAM, BEG, END) \
+#define ASM_OUTPUT_MEASURED_SIZE(STREAM, NAME) \
do \
{ \
fputs (SIZE_ASM_OP, STREAM); \
- assemble_name (STREAM, BEG); \
- fputs (", ", STREAM); \
- assemble_name (STREAM, END); \
- putc ('-', STREAM); \
- assemble_name (STREAM, BEG); \
+ assemble_name (STREAM, NAME); \
+ fputs (", .-", STREAM); \
+ assemble_name (STREAM, NAME); \
putc ('\n', STREAM); \
} \
while (0)