URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk
- from Rev 437 to Rev 438
- ↔ Reverse comparison
Rev 437 → Rev 438
/gnu-src/gcc-4.5.1/gcc/config/or32/or32.h
49,7 → 49,7
|
/* Make sure we pick up the crti.o, crtbegin.o, crtend.o and crtn.o files. */ |
#undef STARTFILE_SPEC |
#define STARTFILE_SPEC "%{!shared:%{mor32-newlib*:%(target_prefix)/newlib/crt0.o} \ |
#define STARTFILE_SPEC "%{!shared:%{mor32-newlib*:%(target_prefix)/lib/crt0.o} \ |
%{!mor32-newlib*:crt0.o%s} crti.o%s crtbegin.o%s}" |
|
#undef ENDFILE_SPEC |
/gnu-src/bld-all.sh
666,31 → 666,7
function relocate_newlib { |
if [ "true" == "${newlib_flag}" ] |
then |
echo "bld-all.sh: Relocating newlib" |
|
mkdir -p ${prefix}/or32-elf/newlib |
rm -rf ${prefix}/or32-elf/newlib-include |
|
if [ -d ${prefix}/or32-elf/include ] |
then |
mv ${prefix}/or32-elf/include \ |
${prefix}/or32-elf/newlib-include |
fi |
|
if [ -d ${prefix}/or32-elf/lib ] |
then |
afiles=`ls -1 ${prefix}/or32-elf/lib | grep '\.a' | head -1` |
|
if [ "x$afiles" != "x" ] |
then |
mv ${prefix}/or32-elf/lib/*.a ${prefix}/or32-elf/newlib |
fi |
fi |
|
if [ -f ${prefix}/or32-elf/lib/crt0.o ] |
then |
mv ${prefix}/or32-elf/lib/crt0.o ${prefix}/or32-elf/newlib |
fi |
echo "bld-all.sh: Relocating newlib (no-op)" |
fi |
} # relocate_newlib |
|