OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [or32/] [or32.h] - Diff between revs 484 and 507

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

Rev 484 Rev 507
Line 46... Line 46...
#define EXTRA_SPECS                                   \
#define EXTRA_SPECS                                   \
  { "target_prefix", TARGET_PREFIX }
  { "target_prefix", TARGET_PREFIX }
 
 
#undef CPP_SPEC
#undef CPP_SPEC
#define CPP_SPEC \
#define CPP_SPEC \
  "%{!mor32-newlib*:%{pthread:-D_XOPEN_SOURCE=700}}" \
  "%{!mnewlib*:%{pthread:-D_XOPEN_SOURCE=700}}" \
  "%{mor32-newlib*:-idirafter %(target_prefix)/newlib-include}"
  "%{mnewlib*:-idirafter %(target_prefix)/newlib-include}"
 
 
/* Make sure we pick up the crti.o, crtbegin.o, crtend.o and crtn.o files. */
/* Make sure we pick up the crti.o, crtbegin.o, crtend.o and crtn.o files. */
#undef STARTFILE_SPEC
#undef STARTFILE_SPEC
#define STARTFILE_SPEC "%{!shared:%{mor32-newlib*:%(target_prefix)/lib/crt0.o} \
#define STARTFILE_SPEC "%{!shared:%{mnewlib:%(target_prefix)/lib/crt0.o} \
                        %{!mor32-newlib*:crt0.o%s} crti.o%s crtbegin.o%s}"
                         %{!mnewlib:crt0.o%s} crti.o%s crtbegin.o%s}"
 
 
#undef ENDFILE_SPEC
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
#define ENDFILE_SPEC "crtend.o%s crtn.o%s"
 
 
/* Specify the newlib library path if necessary */
/* Specify the newlib library path if necessary */
#undef LINK_SPEC
#undef LINK_SPEC
#define LINK_SPEC "%{mor32-newlib*:-L%(target_prefix)/newlib}"
#define LINK_SPEC "%{mnewlib:-L%(target_prefix)/newlib}"
 
 
/* Override previous definitions (linux.h). Newlib doesn't have a profiling
/* Override previous definitions (linux.h). Newlib doesn't have a profiling
   version of the library, but it does have a debugging version (libg.a) */
   version of the library, but it does have a debugging version (libg.a) */
 
 
#undef LIB_SPEC
#undef LIB_SPEC
#define LIB_SPEC "%{!mor32-newlib*:"                                    \
#define LIB_SPEC "%{!mnewlib:"                                          \
                   "%{pthread:"                                         \
                   "%{pthread:"                                         \
                     "--whole-archive -lpthread --no-whole-archive} "   \
                     "--whole-archive -lpthread --no-whole-archive} "   \
                   "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}} \
                   "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}} \
                  %{mor32-newlib:%{!g:-lc -lor32 -u free -lc}            \
                  %{mnewlib:%{!g:-lc -lor32 -lboard -u free -lc}        \
                                 %{g:-lg -lor32 -u free -lg}}            \
                            %{g:-lg -lor32 -lboard -u free -lg}         \
                  %{mor32-newlib-uart:%{!g:-lc -lor32uart -u free -lc}   \
                              %{mboard=*:-L%(target_prefix)/lib/boards/%*} \
                                 %{g:-lg -lor32uart -u free -lg}}"
                              %{!mboard=*:-L%(target_prefix)/lib/boards/or1ksim}}"
 
 
 
 
#define TARGET_VERSION fprintf (stderr, " (OpenRISC 1000) Mask 0x%x", MASK_HARD_MUL);
#define TARGET_VERSION fprintf (stderr, " (OpenRISC 1000) Mask 0x%x", MASK_HARD_MUL);
 
 
/* Run-time compilation parameters selecting different hardware subsets.  */
/* Run-time compilation parameters selecting different hardware subsets.  */
 
 

powered by: WebSVN 2.1.0

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