varasm.c (output_constant_def_contents): Use ASM_DECLARE_CONSTANT_NAME if defined.
authorGeoffrey Keating <geoffk@apple.com>
Sun, 27 Jul 2003 01:48:11 +0000 (01:48 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Sun, 27 Jul 2003 01:48:11 +0000 (01:48 +0000)
commit18f3e349aa03695bd162d43ac746402aae315096
treeb7681d01248c778248685f3ec5dfb7509c7adecf
parent404edd110efdb47f40f0f670d25b4e2aa84d2168
varasm.c (output_constant_def_contents): Use ASM_DECLARE_CONSTANT_NAME if defined.

* varasm.c (output_constant_def_contents): Use
ASM_DECLARE_CONSTANT_NAME if defined.
* doc/tm.texi (Label Output): Document ASM_DECLARE_CONSTANT_NAME.
* config/darwin.h (ASM_DECLARE_OBJECT_NAME): Ensure zero-sized
objects get at least one byte to prevent assembler problems.
(ASM_DECLARE_CONSTANT_NAME): New.

Index: testsuite/ChangeLog
* gcc.c-torture/compile/zero-strct-2.c: New test.

From-SVN: r69842
gcc/ChangeLog
gcc/config/darwin.h
gcc/doc/tm.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/zero-strct-2.c [new file with mode: 0644]
gcc/varasm.c