diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2002-07-28 18:44:34 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2002-07-28 18:44:34 +0000 |
commit | 99086d596fb56b6856a9ef28b18b1d2776cc0fba (patch) | |
tree | 4ba6979618bd68bd4f566738d9935f4ff69e6ccf /gcc/config/openbsd.h | |
parent | 5922c46ce94c43b5ccedf256e27040cfa565054f (diff) | |
download | gcc-99086d596fb56b6856a9ef28b18b1d2776cc0fba.zip gcc-99086d596fb56b6856a9ef28b18b1d2776cc0fba.tar.gz gcc-99086d596fb56b6856a9ef28b18b1d2776cc0fba.tar.bz2 |
defaults.h (ASM_OUTPUT_MEASURED_SIZE): Take only two arguments.
* 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.
From-SVN: r55820
Diffstat (limited to 'gcc/config/openbsd.h')
-rw-r--r-- | gcc/config/openbsd.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h index e9a4ea4..efe8d42 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 |