aboutsummaryrefslogtreecommitdiff
path: root/gcc/mips-tfile.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-03-10 15:36:25 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-03-10 10:36:25 -0500
commitea23d5400fa97028252affe38bac9ee6cb861f8f (patch)
tree41bc16434291d8097a58999ccd1fba1a61771a80 /gcc/mips-tfile.c
parent0f7fa3d01f482328963c1bbfcd1ab64a42531c42 (diff)
downloadgcc-ea23d5400fa97028252affe38bac9ee6cb861f8f.zip
gcc-ea23d5400fa97028252affe38bac9ee6cb861f8f.tar.gz
gcc-ea23d5400fa97028252affe38bac9ee6cb861f8f.tar.bz2
mips-tdump.c (read_seek): Call xmalloc, not malloc.
* mips-tdump.c (read_seek): Call xmalloc, not malloc. * mips-tfile.c: Don't #undef rindex; not used. From-SVN: r40366
Diffstat (limited to 'gcc/mips-tfile.c')
-rw-r--r--gcc/mips-tfile.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/gcc/mips-tfile.c b/gcc/mips-tfile.c
index ff24ce8..38cd70c 100644
--- a/gcc/mips-tfile.c
+++ b/gcc/mips-tfile.c
@@ -2,8 +2,8 @@
contain debugging information specified by the GNU compiler
in the form of comments (the mips assembler does not support
assembly access to debug information).
- Copyright (C) 1991, 1993, 1994, 1995, 1997, 1998,
- 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1991, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001
+ Free Software Foundation, Inc.
Contributed by Michael Meissner (meissner@cygnus.com).
This file is part of GNU CC.
@@ -662,9 +662,8 @@ main ()
#else /* MIPS_DEBUGGING defined */
/* The local and global symbols have a field index, so undo any defines
- of index -> strchr and rindex -> strrchr. */
+ of index -> strchr. */
-#undef rindex
#undef index
#include <signal.h>