/* Common VxWorks target definitions for GNU compiler.
   Collected by Bill Cox.
   Copyright (C) 1999 Free Software Foundation, Inc.
   Contributed by Wind River Systems.

This file is part of GNU CC.

GNU CC 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.

GNU CC 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.

You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING.  If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.  */

#undef  STARTFILE_SPEC
#define	STARTFILE_SPEC ""

/* Specify what to link with.  */
/* VxWorks does all the library stuff itself.  */
#undef	LIB_SPEC
#define	LIB_SPEC ""

#undef	ENDFILE_SPEC
#define	ENDFILE_SPEC ""

#undef LINK_SPEC
#define LINK_SPEC ""

/* VxWorks provides the functionality of crt0.o and friends itself.  */
#undef  STARTFILE_SPEC
#define	STARTFILE_SPEC ""

#undef ENDFILE_SPEC
#define ENDFILE_SPEC ""

/* We need to prohibit dots in constructor labels so that we
can build a table of { string, address } entries for each
non-static name in a program.  The address, being of the form
&name, it cannot contain a dot or C will try to parse it
as a &struct.field phrase. */

#undef NO_DOLLAR_IN_LABEL

#undef DOLLARS_IN_IDENTIFIERS
#define DOLLARS_IN_IDENTIFIERS 1

#define NO_DOT_IN_LABEL

/* enable #pragma pack(n) */
#define HANDLE_SYSV_PRAGMA

#define DONT_USE__MAIN


#define FORCE_DOS_PATH_STYLE 1
#define HAVE_DOS_BASED_FILE_SYSTEM

/* Once we've cut completely over to ELF/DWARF, enable these lines */
#if 0
#define HANDLE_PRAGMA_WEAK

#define DWARF2_DEBUGGING_INFO

#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG

#undef TARGET_COFF
#define TARGET_ELF

#undef OBJECT_FORMAT_COFF
#define OBJECT_FORMAT_ELF

#endif

/* now that all toolchains are ELF, don't ever
output leading underscores on labels. */
#undef YES_UNDERSCORES
#define NO_UNDERSCORES
