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/ip2k | |
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/ip2k')
-rw-r--r-- | gcc/config/ip2k/ip2k.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/gcc/config/ip2k/ip2k.h b/gcc/config/ip2k/ip2k.h index bf9a604..7044445 100644 --- a/gcc/config/ip2k/ip2k.h +++ b/gcc/config/ip2k/ip2k.h @@ -2139,14 +2139,7 @@ do { \ #define ASM_DECLARE_FUNCTION_SIZE(FILE, FNAME, DECL) \ do { \ if (!flag_inhibit_size_directive) \ - { \ - char label[256]; \ - static int labelno; \ - labelno++; \ - ASM_GENERATE_INTERNAL_LABEL (label, "Lfe", labelno); \ - ASM_OUTPUT_INTERNAL_LABEL (FILE, "Lfe", labelno); \ - ASM_OUTPUT_MEASURED_SIZE (FILE, (FNAME), label); \ - } \ + ASM_OUTPUT_MEASURED_SIZE (FILE, FNAME); \ } while (0) /* A C statement (sans semicolon) to output to the stdio stream STREAM any text necessary for declaring the size of a function |