URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc
- from Rev 198 to Rev 199
- ↔ Reverse comparison
Rev 198 → Rev 199
/trunk/gnu-src/gcc-4.2.2/gcc/ChangeLog
1,3 → 1,8
2010-07-16 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* config/or32/or32.h: Updated SPEC definitions to pick up newlib |
in custom location. |
|
2010-07-13 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* config/or32/initfini.c: Corrected assembler sequences. |
/trunk/gnu-src/gcc-4.2.2/gcc/config/or32/or32.h
36,13 → 36,30
while (0) |
|
|
/* A string corresponding to the installation directory for target libraries |
and includes. Make it available to SPEC definitions via EXTRA_SPECS */ |
#define CONC_DIR(dir1, dir2) dir1 "/../../" dir2 |
#define TARGET_PREFIX CONC_DIR (STANDARD_EXEC_PREFIX, DEFAULT_TARGET_MACHINE) |
|
#define EXTRA_SPECS \ |
{ "target_prefix", TARGET_PREFIX } |
|
#undef CPP_SPEC |
#define CPP_SPEC "%{mor32-newlib*:-I%(target_prefix)/newlib-include}" |
|
/* Make sure we pick up the crtinit.o and crtfini.o files. */ |
#define STARTFILE_SPEC "%{!shared:crt0.o%s} crtinit.o%s" |
#undef STARTFILE_SPEC |
#define STARTFILE_SPEC "%{!shared:%{mor32-newlib*:%(target_prefix)/newlib/crt0.o} \ |
%{!mor32-newlib*:crt0%s}} crtinit.o%s" |
|
#undef ENDFILE_SPEC |
#define ENDFILE_SPEC "crtfini.o%s" |
|
/* Specify the newlib library path if necessary */ |
#undef LINK_SPEC |
#define LINK_SPEC "%{mor32-newlib*:-L%(target_prefix)/newlib}" |
|
/* 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 \ |