CVS: gcc/gcc-4.0.2 binutils-2.16.2-patch,NONE,1.1 configure,NONE,1.1 gcc-4.0.2-msp-patch,NONE,1.1 readme.txt,NONE,1.1
Peter <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/gcc/gcc-4.0.2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17669/gcc-4.0.2
Added Files:
binutils-2.16.2-patch configure gcc-4.0.2-msp-patch readme.txt
Log Message:
Added intial code cut for gcc-4.0.2, work still needs to be done on the
machine definintion file to get optimisations working.
--- NEW FILE: binutils-2.16.2-patch ---
diff -rNU 3 binutils-2.16.1/ld/configure.tgt binutils-2.16.1-msp4/ld/configure.tgt
--- binutils-2.16.1/ld/configure.tgt 2005-02-09 06:54:27.000000000 +1100
+++ binutils-2.16.1-msp4/ld/configure.tgt 2006-01-01 22:07:13.000000000 +1100
@@ -458,7 +458,8 @@
mn10200-*-*) targ_emul=mn10200 ;;
mn10300-*-*) targ_emul=mn10300 ;;
msp430-*-*) targ_emul=msp430x110
- targ_extra_emuls="msp430x112 msp430x1101 msp430x1111 msp430x1121 msp430x1122 msp430x1132 msp430x122 msp430x123 msp430x1222 msp430x1232 msp430x133 msp430x135 msp430x1331 msp430x1351 msp430x147 msp430x148 msp430x149 msp430x155 msp430x156 msp430x157 msp430x167 msp430x168 msp430x169 msp430x1610 msp430x1611 msp430x1612 msp430x311 msp430x312 msp430x313 msp430x314 msp430x315 msp430x323 msp430x325 msp430x336 msp430x337 msp430x412 msp430x413 msp430x415 msp430x417 msp430xE423 msp430xE425 msp430xE427 msp430xW423 msp430xW425 msp430xW427 msp430xG437 msp430xG438 msp430xG439 msp430x435 msp430x436 msp430x437 msp430x447 msp430x448 msp430x449" ;;
+ targ_extra_emuls="msp430x112 msp430x1101 msp430x1111 msp430x1121 msp430x1122 msp430x1132 msp430x122 msp430x123 msp430x1222 msp430x1232 msp430x133 msp430x135 msp430x1331 msp430x1351 msp430x147 msp430x148 msp430x149 msp430x155 msp430x156 msp430x157 msp430x167 msp430x168 msp430x169 msp430x1610 msp430x1611 msp430x1612 msp430x311 msp430x312 msp430x313 msp430x314 msp430x315 msp430x323 msp430x325 msp430x336 msp430x337 msp430x412 msp430x413 msp430x415 msp430x417 msp430xE423 msp430xE425 msp430xE427 msp430xW423 msp430xW425 msp430xW427 msp430xG437 msp430xG438 msp430xG439 msp430x435 msp430x436 msp430x437 msp430x447 msp430x448 msp430x449 msp430s1k128 msp430s2k128 msp430s4k256 msp430s8k256 msp430s12k512 msp430s16k512 msp430s24k1024 msp430s32k1024 msp430s48k2048 msp430s60k2048 msp430s32k5k msp430s48k10k msp430s56k5k msp430A msp430B"
+ ;;
alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
targ_emul=elf64alpha_fbsd
targ_extra_emuls="elf64alpha alpha"
diff -rNU 3 binutils-2.16.1/ld/emulparams/msp430all.sh binutils-2.16.1-msp4/ld/emulparams/msp430all.sh
--- binutils-2.16.1/ld/emulparams/msp430all.sh 2004-08-25 22:54:10.000000000 +1000
+++ binutils-2.16.1-msp4/ld/emulparams/msp430all.sh 2006-01-08 17:07:33.000000000 +1100
@@ -4,8 +4,7 @@
MSP430_NAME=${EMULATION_NAME}
[...1494 lines suppressed...]
- {
- ${RELOCATING+ PROVIDE (__bss_start = .) ; }
- *(.bss)
- *(COMMON)
- ${RELOCATING+ PROVIDE (__bss_end = .) ; }
- ${RELOCATING+ _end = . ; }
- } ${RELOCATING+ > data}
-
- .noinit ${RELOCATING+ SIZEOF(.bss) + ADDR(.bss)} :
- {
- ${RELOCATING+ PROVIDE (__noinit_start = .) ; }
- *(.noinit)
- *(COMMON)
- ${RELOCATING+ PROVIDE (__noinit_end = .) ; }
- ${RELOCATING+ _end = . ; }
- } ${RELOCATING+ > data}
-
.vectors ${RELOCATING-0}:
{
${RELOCATING+ PROVIDE (__vectors_start = .) ; }
--- NEW FILE: configure ---
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated automatically using autoconf version 2.13
# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
#
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
# Defaults:
ac_help=
ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
--enable-libada Builds libada directory"
ac_help="$ac_help
--with-mpfr-dir=PATH Specify source directory for MPFR library"
ac_help="$ac_help
--with-mpfr=PATH Specify directory for installed MPFR library"
[...5280 lines suppressed...]
s%@configure_input@%$configure_input%g
s%@srcdir@%$srcdir%g
s%@top_srcdir@%$top_srcdir%g
s%@INSTALL@%$INSTALL%g
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
fi; done
rm -f conftest.s*
EOF
cat >> $CONFIG_STATUS <<EOF
EOF
cat >> $CONFIG_STATUS <<\EOF
exit 0
EOF
chmod +x $CONFIG_STATUS
rm -fr confdefs* $ac_clean_files
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
--- NEW FILE: gcc-4.0.2-msp-patch ---
diff -rNU 3 gcc-4.0.2/configure gcc-4.0.2-msp/configure
--- gcc-4.0.2/configure 2005-09-13 17:01:28.000000000 +1000
+++ gcc-4.0.2-msp/configure 2006-01-08 17:06:49.000000000 +1100
@@ -1287,6 +1287,9 @@
avr-*-*)
noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
;;
+ msp430-*-*)
+ noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
+ ;;
c4x-*-* | tic4x-*-*)
noconfigdirs="$noconfigdirs target-libstdc++-v3 target-libgloss ${libgcj}"
;;
diff -rNU 3 gcc-4.0.2/configure.in gcc-4.0.2-msp/configure.in
--- gcc-4.0.2/configure.in 2005-09-13 17:01:28.000000000 +1000
+++ gcc-4.0.2-msp/configure.in 2005-12-17 21:47:33.000000000 +1100
@@ -496,6 +496,9 @@
avr-*-*)
noconfigdirs="$noconfigdirs target-libiberty target-libstdc++-v3 ${libgcj}"
[...13907 lines suppressed...]
@@ -0,0 +1 @@
+#include "tm.h"
diff -rNU 3 gcc-4.0.2/gcc/config.gcc gcc-4.0.2-msp/gcc/config.gcc
--- gcc-4.0.2/gcc/config.gcc 2005-08-09 20:57:04.000000000 +1000
+++ gcc-4.0.2-msp/gcc/config.gcc 2005-12-17 21:50:58.000000000 +1100
@@ -1543,6 +1543,14 @@
use_collect2=no
use_fixproto=yes
;;
+msp430-*-rtems*)
+ tm_file="msp430/msp430.h dbxelf.h msp430/rtems.h rtems.h"
+ tmake_file="msp430/t-msp430 t-rtems msp430/t-rtems"
+ ;;
+msp430-*-*)
+ tm_file="msp430/msp430.h dbxelf.h"
+ use_fixproto=yes
+ ;;
ns32k-*-netbsdelf*)
echo "GCC does not yet support the ${target} target"; exit 1
;;
--- NEW FILE: readme.txt ---
This directory contains files for patching against gcc-4.0.2
Either copy the files from here ontop of the official gcc-4.0.2 distribution,
or use the patch file.
This is work in progress
Peter Jansen, 2006-01-28
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642