aboutsummaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2004-11-04 13:23:23 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2004-11-04 13:23:23 +0000
commit37bf6443fee7d2bde76fb491782215314e2415f9 (patch)
tree3608cb4873a96eb72617d04a1eb3073c9d0ebeda /gcc/sdbout.c
parentf0ad121f6ee23ebb2a1c1690422835ff796979f0 (diff)
downloadgcc-37bf6443fee7d2bde76fb491782215314e2415f9.zip
gcc-37bf6443fee7d2bde76fb491782215314e2415f9.tar.gz
gcc-37bf6443fee7d2bde76fb491782215314e2415f9.tar.bz2
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
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index d9ab44c..91a7a2c 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;