sdbout.c (SDB_GENERATE_FAKE): Remove.

* sdbout.c (SDB_GENERATE_FAKE): Remove.
	(gen_fake_label): Don't use SDB_GENERATE_FAKE.
	* system.h: Poison SDB_GENERATE_FAKE.
	* doc/tm.texi (SDB_GENERATE_FAKE): Remove.

From-SVN: r90061
This commit is contained in:
Kazu Hirata 2004-11-04 13:23:23 +00:00 committed by Kazu Hirata
parent f0ad121f6e
commit 37bf6443fe
4 changed files with 9 additions and 13 deletions

View File

@ -1,3 +1,10 @@
2004-11-04 Kazu Hirata <kazu@cs.umass.edu>
* sdbout.c (SDB_GENERATE_FAKE): Remove.
(gen_fake_label): Don't use SDB_GENERATE_FAKE.
* system.h: Poison SDB_GENERATE_FAKE.
* doc/tm.texi (SDB_GENERATE_FAKE): Remove.
2004-11-04 Ulrich Weigand <uweigand@de.ibm.com> 2004-11-04 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.md ("*addsi3_sign"): Use canonical RTL. * config/s390/s390.md ("*addsi3_sign"): Use canonical RTL.

View File

@ -8175,12 +8175,6 @@ a new set of @code{PUT_SDB_@var{op}} macros if this is the only change
required. required.
@end defmac @end defmac
@defmac SDB_GENERATE_FAKE
Define this macro to override the usual method of constructing a dummy
name for anonymous structure and union types. See @file{sdbout.c} for
more information.
@end defmac
@defmac SDB_ALLOW_UNKNOWN_REFERENCES @defmac SDB_ALLOW_UNKNOWN_REFERENCES
Define this macro to allow references to unknown structure, Define this macro to allow references to unknown structure,
union, or enumeration tags to be emitted. Standard COFF does not union, or enumeration tags to be emitted. Standard COFF does not

View File

@ -252,11 +252,6 @@ do { fprintf (asm_out_file, "\t.tag\t"); \
SDB_DELIM, SDB_DELIM, SDB_DELIM, (LINE), SDB_DELIM) SDB_DELIM, SDB_DELIM, SDB_DELIM, (LINE), SDB_DELIM)
#endif #endif
#ifndef SDB_GENERATE_FAKE
#define SDB_GENERATE_FAKE(BUFFER, NUMBER) \
sprintf ((BUFFER), ".%dfake", (NUMBER));
#endif
/* Return the sdb tag identifier string for TYPE /* Return the sdb tag identifier string for TYPE
if TYPE has already been defined; otherwise return a null pointer. */ if TYPE has already been defined; otherwise return a null pointer. */
@ -350,7 +345,7 @@ gen_fake_label (void)
{ {
char label[10]; char label[10];
char *labelstr; char *labelstr;
SDB_GENERATE_FAKE (label, unnamed_struct_number); sprintf (label, ".%dfake", unnamed_struct_number);
unnamed_struct_number++; unnamed_struct_number++;
labelstr = xstrdup (label); labelstr = xstrdup (label);
return labelstr; return labelstr;

View File

@ -657,7 +657,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN;
ASM_OUTPUT_FILENAME ASM_OUTPUT_SOURCE_LINE FILE_NAME_JOINER \ ASM_OUTPUT_FILENAME ASM_OUTPUT_SOURCE_LINE FILE_NAME_JOINER \
GDB_INV_REF_REGPARM_STABS_LETTER DBX_MEMPARM_STABS_LETTER \ GDB_INV_REF_REGPARM_STABS_LETTER DBX_MEMPARM_STABS_LETTER \
PUT_SDB_SRC_FILE STABS_GCC_MARKER DBX_OUTPUT_FUNCTION_END \ PUT_SDB_SRC_FILE STABS_GCC_MARKER DBX_OUTPUT_FUNCTION_END \
DBX_OUTPUT_GCC_MARKER DBX_FINISH_SYMBOL DBX_OUTPUT_GCC_MARKER DBX_FINISH_SYMBOL SDB_GENERATE_FAKE
/* Hooks that are no longer used. */ /* Hooks that are no longer used. */
#pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \