comparison gcc/mips-tfile.c @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents b7f97abdc517
children
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* Update the symbol table (the .T file) in a MIPS object to 1 /* Update the symbol table (the .T file) in a MIPS object to
2 contain debugging information specified by the GNU compiler 2 contain debugging information specified by the GNU compiler
3 in the form of comments (the mips assembler does not support 3 in the form of comments (the mips assembler does not support
4 assembly access to debug information). 4 assembly access to debug information).
5 Copyright (C) 1991, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 5 Copyright (C) 1991, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001,
6 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 6 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
7 Free Software Foundation, Inc. 7 Free Software Foundation, Inc.
8 Contributed by Michael Meissner (meissner@cygnus.com). 8 Contributed by Michael Meissner (meissner@cygnus.com).
9 9
10 This file is part of GCC. 10 This file is part of GCC.
11 11
662 662
663 /* The local and global symbols have a field index, so undo any defines 663 /* The local and global symbols have a field index, so undo any defines
664 of index -> strchr. */ 664 of index -> strchr. */
665 665
666 #undef index 666 #undef index
667
668 #include <signal.h>
669 667
670 #ifndef CROSS_DIRECTORY_STRUCTURE 668 #ifndef CROSS_DIRECTORY_STRUCTURE
671 #include <a.out.h> 669 #include <a.out.h>
672 #else 670 #else
673 #include "mips/a.out.h" 671 #include "mips/a.out.h"
4784 } 4782 }
4785 4783
4786 if (version) 4784 if (version)
4787 { 4785 {
4788 printf (_("mips-tfile %s%s\n"), pkgversion_string, version_string); 4786 printf (_("mips-tfile %s%s\n"), pkgversion_string, version_string);
4789 fputs ("Copyright (C) 2010 Free Software Foundation, Inc.\n", stdout); 4787 fputs ("Copyright (C) 2011 Free Software Foundation, Inc.\n", stdout);
4790 fputs (_("This is free software; see the source for copying conditions. There is NO\n\ 4788 fputs (_("This is free software; see the source for copying conditions. There is NO\n\
4791 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"), 4789 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"),
4792 stdout); 4790 stdout);
4793 exit (0); 4791 exit (0);
4794 } 4792 }