CVS: gcc/gcc-3.3/gcc collect2.c,NONE,1.1
"Peter" <[email protected]> Fri, 12 Dec 2008 02:57:55 +0000
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/gcc/gcc-3.3/gcc In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv24028 Added Files: collect2.c Log Message: add collect2.c because it would not compile with gcc-4.3.2 --- NEW FILE: collect2.c --- /* Collect static initialization info into data structures that can be traversed by C++ initialization and finalization routines. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. Contributed by Chris Smith ([email protected]). Heavily modified by Michael Meissner ([email protected]), Per Bothner ([email protected]), and John Gilmore ([email protected]). This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. [...3580 lines suppressed...] fprintf (stderr, "write %s\n", ptr->name); if (lseek (ptr->fd, 0L, SEEK_SET) < 0) fatal_perror ("lseek %s 0", ptr->name); len = write (ptr->fd, ptr->start, ptr->size); if (len < 0) fatal_perror ("write %s", ptr->name); if (len != ptr->size) fatal ("wrote %ld bytes, expected %ld, to %s", len, ptr->size, ptr->name); } free (ptr->start); } free (ptr); } #endif /* OBJECT_FORMAT_ROSE */ ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/