OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gcc/] [gcc-3.4.4/] [gcc-3.4.4-or32.diff] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1612 phoenix
diff --unified --recursive -N gcc-3.4.4/config.sub ../oce-3.14/p_root/gcc-3.4.4/config.sub
2
--- gcc-3.4.4/config.sub        2004-02-22 15:44:23.000000000 +0100
3
+++ ../oce-3.14/p_root/gcc-3.4.4/config.sub     2005-09-25 00:58:55.000000000 +0200
4
@@ -256,7 +256,7 @@
5
        | mn10200 | mn10300 \
6
        | msp430 \
7
        | ns16k | ns32k \
8
-       | openrisc | or32 \
9
+       | or32 \
10
        | pdp10 | pdp11 | pj | pjl \
11
        | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
12
        | pyramid \
13
@@ -750,9 +750,8 @@
14
                basic_machine=hppa1.1-oki
15
                os=-proelf
16
                ;;
17
-       or32 | or32-*)
18
-               basic_machine=or32-unknown
19
-               os=-coff
20
+       or32 | or32-*)
21
+               basic_machine=or32-`echo $basic_machine | sed 's/^[^-]*-//'`
22
                ;;
23
        os400)
24
                basic_machine=powerpc-ibm
25
@@ -1355,8 +1354,8 @@
26
        mips*-*)
27
                os=-elf
28
                ;;
29
-       or32-*)
30
-               os=-coff
31
+       or32-*)
32
+               os=-elf
33
                ;;
34
        *-tti)  # must be before sparc entry or we get the wrong os.
35
                os=-sysv3
36
diff --unified --recursive -N gcc-3.4.4/configure.in ../oce-3.14/p_root/gcc-3.4.4/configure.in
37
--- gcc-3.4.4/configure.in      2005-03-08 18:31:40.000000000 +0100
38
+++ ../oce-3.14/p_root/gcc-3.4.4/configure.in   2005-11-13 20:28:25.000000000 +0100
39
@@ -608,6 +608,9 @@
40
   mn10300-*-*)
41
     noconfigdirs="$noconfigdirs ${libgcj}"
42
     ;;
43
+  or32-*-*)
44
+    noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
45
+    ;;
46
   powerpc-*-aix*)
47
     # copied from rs6000-*-* entry
48
     noconfigdirs="$noconfigdirs gprof target-libgloss ${libgcj}"
49
diff --unified --recursive -N gcc-3.4.4/gcc/config.gcc ../oce-3.14/p_root/gcc-3.4.4/gcc/config.gcc
50
--- gcc-3.4.4/gcc/config.gcc    2005-04-25 06:47:59.000000000 +0200
51
+++ ../oce-3.14/p_root/gcc-3.4.4/gcc/config.gcc 2005-11-13 20:28:32.000000000 +0100
52
@@ -1681,6 +1681,21 @@
53
        extra_parts=""
54
        use_collect2=yes
55
        ;;
56
+or32-*-coff*)
57
+       tm_file="${tm_file} or32/or32.h"
58
+       tmake_file=or32/t-default
59
+       ;;
60
+or32-*-elf*)
61
+       tm_file="${tm_file} dbxelf.h elfos.h or32/or32.h or32/elf.h"
62
+       tmake_file=or32/t-default
63
+       if test x$enable_threads = xyes; then
64
+         thread_file='rtems'
65
+       fi
66
+       ;;
67
+or32-*linux*)
68
+       tm_file="${tm_file} dbxelf.h elfos.h or32/or32.h or32/elf.h or32/linux-gas.h or32/linux-elf.h"
69
+       tmake_file=or32/t-default
70
+       ;;
71
 pdp11-*-bsd)
72
        tm_file="${tm_file} pdp11/2bsd.h"
73
        use_fixproto=yes

powered by: WebSVN 2.1.0

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