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/trunk/gnu-src/gcc-4.5.1/gcc
- from Rev 453 to Rev 473
- ↔ Reverse comparison
Rev 453 → Rev 473
/ChangeLog.or32
1,3 → 1,9
2011-01-12 Joern Rennecke <joern.rennecke@embecosm.com> |
|
* config.or32/or32.h (CPP_SPEC): Add -D_XOPEN_SOURCE=600 for pthread. |
(LIB_SPEC): Add --whole-archive -lpthread --no-whole-archive for |
pthread. |
|
2010-12-19 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* config.gcc <or32-*-linux*>: Remove extra_parts. |
/config/or32/or32.h
47,7 → 47,9
{ "target_prefix", TARGET_PREFIX } |
|
#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. */ |
#undef STARTFILE_SPEC |
64,7 → 66,10
/* Override previous definitions (linux.h). Newlib doesn't have a profiling |
version of the library, but it does have a debugging version (libg.a) */ |
#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} \ |
%{g:-lg -lor32 -u free -lg}} \ |
%{mor32-newlib-uart:%{!g:-lc -lor32uart -u free -lc} \ |