https://sourceware.org/bugzilla/show_bug.cgi?id=27167
Bug ID: 27167
Summary: Missing -mipsXXX LD command line flags
Product: binutils
Version: 2.35.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: matt at majenko dot co.uk
Target Milestone: ---
LD contains code to "ignore" -mips32r2 and -mips32r6 but nothing in between.
This means that GCC can't compile for -arch=m5100 and others that pass
-mips32r5 to the linker.
============== PATCH CUT HERE ================
--- a/ld/ldmain.c 2021-01-09 16:47:26.109063089 +0000
+++ b/ld/ldmain.c 2021-01-09 16:44:00.426128832 +0000
@@ -700,6 +700,9 @@
|| strcmp (argv[i], "-mips5") == 0
|| strcmp (argv[i], "-mips32") == 0
|| strcmp (argv[i], "-mips32r2") == 0
+ || strcmp (argv[i], "-mips32r3") == 0
+ || strcmp (argv[i], "-mips32r4") == 0
+ || strcmp (argv[i], "-mips32r5") == 0
|| strcmp (argv[i], "-mips32r6") == 0
|| strcmp (argv[i], "-mips64") == 0
|| strcmp (argv[i], "-mips64r2") == 0
--
You are receiving this mail because:
You are on the CC list for the bug.