Skip to content

Commit 4305c12

Browse files
committed
Update GCC Driver Configuration for ARCv3 Toolchain Compatibility
Configured GCC driver to set GNU AS and GNU LD as default assembler and linker for ARCv3 Signed-off-by: Luis Silva <luis.m.silva99@hotmail.com>
1 parent d9ee4f0 commit 4305c12

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

gcc/config.gcc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1288,24 +1288,32 @@ arc-*-linux* | arceb-*-linux*)
12881288
arc32-*-elf*)
12891289
tm_file="elfos.h newlib-stdint.h arc64/elf.h arc64/elf32.h ${tm_file}"
12901290
tmake_file="${tmake_file} arc64/t-multilib32 arc64/t-arc64"
1291+
gnu_ld=yes
1292+
gas=yes
12911293
;;
12921294
arc64-*-elf*)
12931295
tm_file="elfos.h newlib-stdint.h arc64/elf.h arc64/elf64.h ${tm_file}"
12941296
tmake_file="${tmake_file} arc64/t-multilib arc64/t-arc64"
1297+
gnu_ld=yes
1298+
gas=yes
12951299
;;
12961300
arc32-*-linux*)
12971301
tm_file="elfos.h gnu-user.h linux.h arc64/linux.h arc64/linux32.h linux-android.h glibc-stdint.h ${tm_file}"
12981302
tmake_file="${tmake_file} arc64/t-arc64"
12991303
# Force .init_array support. The configure script cannot always
13001304
# automatically detect that GAS supports it, yet we require it.
13011305
gcc_cv_initfini_array=yes
1306+
gnu_ld=yes
1307+
gas=yes
13021308
;;
13031309
arc64-*-linux*)
13041310
tm_file="elfos.h gnu-user.h linux.h arc64/linux.h arc64/linux64.h linux-android.h glibc-stdint.h ${tm_file}"
13051311
tmake_file="${tmake_file} arc64/t-arc64"
13061312
# Force .init_array support. The configure script cannot always
13071313
# automatically detect that GAS supports it, yet we require it.
13081314
gcc_cv_initfini_array=yes
1315+
gnu_ld=yes
1316+
gas=yes
13091317
;;
13101318
arm-wrs-vxworks7*)
13111319
# We only support VxWorks 7 now on ARM, post SR600. Pre SR600

0 commit comments

Comments
 (0)