diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/doc/tm.texi | 6 | ||||
-rw-r--r-- | gcc/sdbout.c | 7 | ||||
-rw-r--r-- | gcc/system.h | 2 |
4 files changed, 9 insertions, 13 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fb96938c41f..fa14d0f7e22 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> * config/s390/s390.md ("*addsi3_sign"): Use canonical RTL. diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index bc11c413057..fd51833acd3 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -8175,12 +8175,6 @@ a new set of @code{PUT_SDB_@var{op}} macros if this is the only change required. @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 Define this macro to allow references to unknown structure, union, or enumeration tags to be emitted. Standard COFF does not diff --git a/gcc/sdbout.c b/gcc/sdbout.c index d9ab44c6dad..91a7a2cc256 100644 --- a/gcc/sdbout.c +++ b/gcc/sdbout.c @@ -252,11 +252,6 @@ do { fprintf (asm_out_file, "\t.tag\t"); \ SDB_DELIM, SDB_DELIM, SDB_DELIM, (LINE), SDB_DELIM) #endif -#ifndef SDB_GENERATE_FAKE -#define SDB_GENERATE_FAKE(BUFFER, NUMBER) \ - sprintf ((BUFFER), ".%dfake", (NUMBER)); -#endif - /* Return the sdb tag identifier string for TYPE if TYPE has already been defined; otherwise return a null pointer. */ @@ -350,7 +345,7 @@ gen_fake_label (void) { char label[10]; char *labelstr; - SDB_GENERATE_FAKE (label, unnamed_struct_number); + sprintf (label, ".%dfake", unnamed_struct_number); unnamed_struct_number++; labelstr = xstrdup (label); return labelstr; diff --git a/gcc/system.h b/gcc/system.h index 20b8c2b02d4..2cdafb96fdf 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -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 \ GDB_INV_REF_REGPARM_STABS_LETTER DBX_MEMPARM_STABS_LETTER \ 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. */ #pragma GCC poison LANG_HOOKS_FUNCTION_MARK LANG_HOOKS_FUNCTION_FREE \ |