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

Subversion Repositories openrisc_me

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

Show entire file | Details | Blame | View Log

Rev 452 Rev 473
Line 45... Line 45...
 
 
#define EXTRA_SPECS                                   \
#define EXTRA_SPECS                                   \
  { "target_prefix", TARGET_PREFIX }
  { "target_prefix", TARGET_PREFIX }
 
 
#undef CPP_SPEC
#undef CPP_SPEC
#define CPP_SPEC "%{mor32-newlib*:-idirafter %(target_prefix)/newlib-include}"
#define CPP_SPEC \
 
  "%{!mor32-newlib*:%{pthread:-D_XOPEN_SOURCE=600}}" \
 
  "%{mor32-newlib*:-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:%{mor32-newlib*:%(target_prefix)/lib/crt0.o} \
                        %{!mor32-newlib*:crt0.o%s} crti.o%s crtbegin.o%s}"
                        %{!mor32-newlib*:crt0.o%s} crti.o%s crtbegin.o%s}"
Line 62... Line 64...
#define LINK_SPEC "%{mor32-newlib*:-L%(target_prefix)/newlib}"
#define LINK_SPEC "%{mor32-newlib*:-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*:%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}} \
#define LIB_SPEC "%{!mor32-newlib*:"                                    \
 
                   "%{pthread:"                                         \
 
                     "--whole-archive -lpthread --no-whole-archive} "   \
 
                   "%{!p:%{!pg:-lc}}%{p:-lc_p}%{pg:-lc_p}} \
                  %{mor32-newlib:%{!g:-lc -lor32 -u free -lc}            \
                  %{mor32-newlib:%{!g:-lc -lor32 -u free -lc}            \
                                 %{g:-lg -lor32 -u free -lg}}            \
                                 %{g:-lg -lor32 -u free -lg}}            \
                  %{mor32-newlib-uart:%{!g:-lc -lor32uart -u free -lc}   \
                  %{mor32-newlib-uart:%{!g:-lc -lor32uart -u free -lc}   \
                                 %{g:-lg -lor32uart -u free -lg}}"
                                 %{g:-lg -lor32uart -u free -lg}}"
 
 

powered by: WebSVN 2.1.0

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