OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [or32/] [or32.h] - Diff between revs 154 and 177

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 154 Rev 177
Line 33... Line 33...
      builtin_assert ("cpu=or32");              \
      builtin_assert ("cpu=or32");              \
      builtin_assert ("machine=or32");          \
      builtin_assert ("machine=or32");          \
    }                                           \
    }                                           \
  while (0)
  while (0)
 
 
/* If we are using newlib, then use this version of the library */
 
#define LINK_SPEC "%{mor32-newlib:-T ldscripts/or32.ld%s}"
 
 
 
/* Finally specify the newlib lirary */
/* Make sure we pick up the crtinit.o and crtfini.o files. */
#define ENDFILE_SPEC "%{mor32-newlib:libor32.a%s -lc -lgcc}"
#define STARTFILE_SPEC "%{!shared:crt0.o%s} crtinit.o%s"
 
 
#if 0
#define ENDFILE_SPEC "crtfini.o%s"
 
 
 
/* Override previous definitions (linux.h). We don't use libg.a */
 
 
 
#undef LIB_SPEC 
 
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}         \
 
                  %{mor32-newlib:-lor32                         \
 
                      %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}    \
 
                  %{mor32-newlib-uart:-lor32uart                \
 
                      %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}}"
 
 
/* Which library to get.  The only difference from the default is to get
/* Old definition of LIB_SPEC, not longer used. */
 
/* Which library to get.  The only difference from the default is to get
   libsc.a if -sim is given to the driver.  Repeat -lc -lsysX
   libsc.a if -sim is given to the driver.  Repeat -lc -lsysX
   {X=sim,linux}, because libsysX needs (at least) errno from libc, and
   {X=sim,linux}, because libsysX needs (at least) errno from libc, and
   then we want to resolve new unknowns in libc against libsysX, not
   then we want to resolve new unknowns in libc against libsysX, not
   libnosys.  */
   libnosys.  */
/* Override previous definitions (linux.h).  */
/* #define LIB_SPEC \ */
#undef LIB_SPEC
/*  "%{sim*:-lc -lsyssim -lc -lsyssim}\ */
#define LIB_SPEC \
/*   %{!sim*:%{g*:-lg}\ */
 "%{sim*:-lc -lsyssim -lc -lsyssim}\
/*     %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} -lbsp}\ */
  %{!sim*:%{g*:-lg}\
/*   -lnosys" */
    %{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p} -lbsp}\
 
  -lnosys"
 
#endif
 
 
 
#define TARGET_VERSION fprintf (stderr, " (OpenRISC 1000)");
#define TARGET_VERSION fprintf (stderr, " (OpenRISC 1000)");
 
 
/* Run-time compilation parameters selecting different hardware subsets.  */
/* Run-time compilation parameters selecting different hardware subsets.  */
 
 
Line 1177... Line 1182...
#define INITIALIZE_TRAMPOLINE(TRAMP,FNADDR,CXT)
#define INITIALIZE_TRAMPOLINE(TRAMP,FNADDR,CXT)
 
 
extern GTY(()) rtx or32_compare_op0;
extern GTY(()) rtx or32_compare_op0;
extern GTY(()) rtx or32_compare_op1;
extern GTY(()) rtx or32_compare_op1;
 
 
/* We don't use libg.a */
 
#undef LIB_SPEC 
 
#define LIB_SPEC "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}"
 
 
 
#endif /* _OR32_H_ */
#endif /* _OR32_H_ */
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.