re PR target/19529 (sh-rtems multilibs broken)
authorRalf Corsepius <ralf.corsepius@rtems.org>
Wed, 19 Jan 2005 21:25:35 +0000 (22:25 +0100)
committerRalf Corsepius <corsepiu@gcc.gnu.org>
Wed, 19 Jan 2005 21:25:35 +0000 (22:25 +0100)
2005-01-19  Ralf Corsepius  <ralf.corsepius@rtems.org>

PR target/19529
* config/sh/t-rtems: New.
* config.gcc (sh-*-rtems*): Reflect having added config/sh/t-rtems.

From-SVN: r93921

gcc/ChangeLog
gcc/config.gcc
gcc/config/sh/t-rtems [new file with mode: 0644]

index 77867e86d3f5665bdaac045c161383f84418f2db..89aac37155eaae2997e76c698314f18f825a4d03 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-19  Ralf Corsepius  <ralf.corsepius@rtems.org>
+
+       PR target/19529
+       * config/sh/t-rtems: New. 
+       * config.gcc (sh-*-rtems*): Reflect having added config/sh/t-rtems.
+
 2005-01-19  Zdenek Dvorak  <dvorakz@suse.cz>
 
        * tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Always subtract
index 0099148f4a9bc5b746bbc24d4c2c950103d704ab..4d18e03600f1ea304d2408c72d2f6cfa657825ee 100644 (file)
@@ -1857,11 +1857,11 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
        use_fixproto=yes
        ;;
 sh-*-rtemscoff*)
-       tmake_file="sh/t-sh t-rtems"
+       tmake_file="sh/t-sh t-rtems sh/t-rtems"
        tm_file="${tm_file} dbxcoff.h sh/coff.h sh/rtems.h rtems.h"
        ;;
 sh-*-rtems*)
-       tmake_file="sh/t-sh sh/t-elf t-rtems"
+       tmake_file="sh/t-sh sh/t-elf t-rtems sh/t-rtems"
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
        ;;
 sh-wrs-vxworks)
diff --git a/gcc/config/sh/t-rtems b/gcc/config/sh/t-rtems
new file mode 100644 (file)
index 0000000..9fd262c
--- /dev/null
@@ -0,0 +1,7 @@
+# Custom multilibs for RTEMS
+
+MULTILIB_ENDIAN = ml
+MULTILIB_OPTIONS= $(MULTILIB_ENDIAN) m2/m2e/m4-single-only/m4-single/m4
+MULTILIB_DIRNAMES= 
+MULTILIB_MATCHES = m2=m3 m2e=m3e m2=m4-nofpu
+MULTILIB_EXCEPTIONS = ml