diff options
author | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-28 18:44:34 +0000 |
---|---|---|
committer | zack <zack@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-07-28 18:44:34 +0000 |
commit | a74248888df151d609dbcb998358c44f03014d6b (patch) | |
tree | 4ba6979618bd68bd4f566738d9935f4ff69e6ccf /gcc/config/elfos.h | |
parent | 74dd0d01c435c6d2c926aee0857b71b4c98a9693 (diff) | |
download | gcc-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/elfos.h')
-rw-r--r-- | gcc/config/elfos.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h index 5b0ec6de171..11b1e65fe79 100644 --- a/gcc/config/elfos.h +++ b/gcc/config/elfos.h @@ -354,16 +354,7 @@ Boston, MA 02111-1307, USA. */ 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) #endif |