OpenCores
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
    from Rev 426 to Rev 427
    Reverse comparison

Rev 426 → Rev 427

/gnu-src/gcc-4.5.1/libgcc/config/or32/t-linux
5,7 → 5,8
# the non-shared uclibc-0.9.31/libc/misc/internals/__uClibc_main.c
# already defines __dso_handle. To avoid a duplicate definition,
# we rename the crtbegin one.
# JPB 18-Nov-10: Commented out, since uClibc no longer defines.
# amend gcc Makefile CLFAGS variable
$(T)crtbegin.o: CRTSTUFF_CFLAGS += '-D__dso_handle=__dso_handle_dummy'
# $(T)crtbegin.o: CRTSTUFF_CFLAGS += '-D__dso_handle=__dso_handle_dummy'
# amend libgcc Makefile CLFAGS variable
crtbegin$(objext): CRTSTUFF_T_CFLAGS += '-D__dso_handle=__dso_handle_dummy'
# crtbegin$(objext): CRTSTUFF_T_CFLAGS += '-D__dso_handle=__dso_handle_dummy'
/gnu-src/gcc-4.5.1/libgcc/ChangeLog.or32
1,3 → 1,9
2010-11-18 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* config/or32/t-linux ($(T)crtbegin.o): Reverse out __dso_handle
rename.
(crtbegin$(objext)): Likewise.
 
2010-11-01 Joern Rennecke <joern.rennecke@embecosm.com>
 
* config.host (or32-*linux*): Remove duplicate t-or32; add t-linux.
/gnu-src/gcc-4.5.1/gcc/ChangeLog.or32
1,3 → 1,9
2010-11-18 Jeremy Bennett <jeremy.bennett@embecosm.com>
 
* config/or32/t-linux ($(T)crtbegin.o): Reverse out __dso_handle
rename.
(crtbegin$(objext)): Likewise.
 
2010-11-07 Joern Rennecke <joern.rennecke@embecosm.com>
 
* config/or32/or32.opt (mredzone=): New option.
/gnu-src/gcc-4.5.1/gcc/config/or32/t-linux
5,7 → 5,8
# the non-shared uclibc-0.9.31/libc/misc/internals/__uClibc_main.c
# already defines __dso_handle. To avoid a duplicate definition,
# we rename the crtbegin one.
# JPB 18-Nov-10: Commented out, since uClibc no longer defines.
# amend gcc Makefile CLFAGS variable
$(T)crtbegin.o: CRTSTUFF_CFLAGS += '-D__dso_handle=__dso_handle_dummy'
# $(T)crtbegin.o: CRTSTUFF_CFLAGS += '-D__dso_handle=__dso_handle_dummy'
# amend libgcc Makefile CLFAGS variable
crtbegin$(objext): CRTSTUFF_T_CFLAGS += '-D__dso_handle=__dso_handle_dummy'
# crtbegin$(objext): CRTSTUFF_T_CFLAGS += '-D__dso_handle=__dso_handle_dummy'
/gnu-src/bld-all.sh
57,6 → 57,9
# Ensure the unified source directory and build directories are
# recreated. Only build directories of targets being built are removed.
 
# --languages <str>
# Specify the languages to be built (default c,c++).
 
# --prefix <dir>
# Specify the install directory (default /opt/or32-new)
 
159,6 → 162,7
function set_defaults {
# Public params
force_flag="false"
languages="c,c++"
prefix="/opt/or32-new"
prefix_tmp="/tmp/or32-tmp-${USER}"
unisrc_dir="unisrc"
172,7 → 176,7
newlib_dir="newlib-1.18.0"
uclibc_dir="uclibc-0.9.31"
gdb_dir="gdb-7.2"
linux_dir="linux-2.6.35"
linux_dir="linux-2.6.36"
or32_elf_flag="true"
or32_linux_flag="true"
link_flag="true"
214,6 → 218,11
force_flag="true";
;;
 
--languages)
languages=$2;
shift;
;;
 
--prefix)
prefix=$2;
shift;
339,6 → 348,9
Ensure the unified source directory and build directories are
recreated. Only build directories of targets being built are removed.
 
--languages <str>
Specify the languages to be built (default c,c++).
 
--prefix <dir>
Specify the install directory (default /opt/or32-new)
 
590,7 → 602,7
mkdir -p ${top_builddir} && \
cd ${top_builddir} && \
${top_srcdir}/configure --target=${target} \
--with-pkgversion="${verstr}" \
--with-pkgversion="${verstr}" --disable-shared \
--with-bugurl=http://www.opencores.org/ \
--with-or1ksim=${or1ksim_dir} \
--enable-fast-install=N/A --disable-libssp \
728,7 → 740,7
 
 
# ------------------------------------------------------------------------------
# Conditionally configure uClibc
# Conditionally configure uClibc. Clean before configuring.
 
# @param[in] $1 The prefix to use for installation.
function uclibc_config {
755,6 → 767,14
exit 1
fi
 
make ARCH=or32 clean
 
if [ $? != 0 ];
then
echo "uClibc clean failed"
exit 1
fi
 
make ARCH=or32 defconfig
 
if [ $? != 0 ];
839,9 → 859,10
fi
 
# Configure all
gnu_config ${config_flag} ${prefix} ${bd_elf} ../${unisrc_dir} "c,c++" \
"${newlib_config}"
gnu_config ${config_flag} ${prefix} ${bd_elf_gdb} ../${gdb_dir} "c,c++"
gnu_config ${config_flag} ${prefix} ${bd_elf} ../${unisrc_dir} \
"${languages}" "${newlib_config}"
gnu_config ${config_flag} ${prefix} ${bd_elf_gdb} ../${gdb_dir} \
"${languages}"
 
# Build all
gnu_make ${build_flag} ${bd_elf} all-build all-binutils all-gas all-ld
887,6 → 908,7
rm -rf ${prefix_tmp}
mkdir ${prefix_tmp}
 
# To create the headers we only use C
gnu_config ${config_flag} ${prefix_tmp} ${bd_linux} ../${unisrc_dir} \
"c" "--without-headers --enable-threads=single"
gnu_make ${build_flag} ${bd_linux} all-build all-binutils all-gas all-ld
923,7 → 945,7
thread_hack="--disable-threads --disable-libgomp"
 
gnu_config ${config_flag} ${prefix} ${bd_linux} ../${unisrc_dir} \
"c,c++" \
"${languages}" \
"--with-headers=${prefix_tmp}/or32-linux/include $thread_hack"
gnu_make ${build_flag} ${bd_linux} all-build all-binutils all-gas all-ld
gnu_make ${build_flag} ${bd_linux} all-gcc
948,7 → 970,8
 
# Configure, build and install GDB (note we need to reconfigure in case
# only stage1 has been run previously).
gnu_config ${config_flag} ${prefix} ${bd_linux_gdb} ../${gdb_dir} "c,c++"
gnu_config ${config_flag} ${prefix} ${bd_linux_gdb} ../${gdb_dir} \
"${languages}"
gnu_make ${build_flag} ${bd_linux_gdb} all-build all-sim all-gdb
gnu_make ${install_flag} ${bd_linux_gdb} install-sim install-gdb
fi

powered by: WebSVN 2.1.0

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