Skip to content

Commit 098a7eb

Browse files
abrodkinartemiy-volkov
authored andcommitted
[ARC] LIBGCC: Allow configure for olde good 32-bit ARC (gcc-mirror#83)
Otherwise libgcc configuration fails like that: ----------------------------->8------------------------- [ALL ] *** Configuration arc-unknown-elf not supported ----------------------------->8------------------------- Signed-off-by: Alexey Brodkin <[email protected]>
1 parent 623759f commit 098a7eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libgcc/config.host

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ amdgcn*-*-*)
9595
cpu_type=gcn
9696
tmake_file="${tmake_file} t-softfp-sfdf t-softfp"
9797
;;
98-
arc[be]*-*-*)
98+
arc-*-* | arceb-*-*)
9999
cpu_type=arc
100100
;;
101101
arc64-*-*)
@@ -503,12 +503,12 @@ amdgcn*-*-amdhsa)
503503
tmake_file="$tmake_file gcn/t-amdgcn"
504504
extra_parts="crt0.o"
505505
;;
506-
arc[eb]*-*-elf*)
506+
arc-*-elf* | arceb-*-elf*)
507507
tmake_file="arc/t-arc"
508508
extra_parts="crti.o crtn.o crtend.o crtbegin.o crtendS.o crtbeginS.o"
509509
extra_parts="$extra_parts crttls.o"
510510
;;
511-
arc[eb]*-*-linux*)
511+
arc-*-linux* | arceb-*-linux*)
512512
tmake_file="${tmake_file} t-slibgcc-libgcc t-slibgcc-nolc-override arc/t-arc-uClibc arc/t-arc"
513513
extra_parts="$extra_parts crti.o crtn.o"
514514
extra_parts="$extra_parts crttls.o"

0 commit comments

Comments
 (0)