summaryrefslogtreecommitdiff
path: root/gcc/config/openbsd.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/config/openbsd.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/config/openbsd.h')
-rw-r--r--gcc/config/openbsd.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h
index e9a4ea4b5bd..efe8d420d9e 100644
--- a/gcc/config/openbsd.h
+++ b/gcc/config/openbsd.h
@@ -212,10 +212,10 @@ Boston, MA 02111-1307, USA. */
#ifndef OBSD_HAS_DECLARE_FUNCTION_SIZE
/* Declare the size of a function. */
#undef ASM_DECLARE_FUNCTION_SIZE
-#define ASM_DECLARE_FUNCTION_SIZE(FILE, FNAME, DECL) \
- do { \
- if (!flag_inhibit_size_directive) \
- ASM_OUTPUT_MEASURED_SIZE (FILE, FNAME, "."); \
+#define ASM_DECLARE_FUNCTION_SIZE(FILE, FNAME, DECL) \
+ do { \
+ if (!flag_inhibit_size_directive) \
+ ASM_OUTPUT_MEASURED_SIZE (FILE, FNAME); \
} while (0)
#endif