[Bug ld/27167] Missing -mipsXXX LD command line flags
https://sourceware.org/bugzilla/show_bug.cgi?id=27167 --- Comment #5 from Matt Jenkins --- Sure thing. I've retained the -mips5 flag which GCC doesn't seem to use, just in case there's some other source that flag could come from. It's doing no harm being there. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/27167] Missing -mipsXXX LD command line flags
https://sourceware.org/bugzilla/show_bug.cgi?id=27167 --- Comment #4 from Matt Jenkins --- Created attachment 13113 --> https://sourceware.org/bugzilla/attachment.cgi?id=13113=edit Patch for mips flags -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/27167] Missing -mipsXXX LD command line flags
https://sourceware.org/bugzilla/show_bug.cgi?id=27167 --- Comment #2 from Matt Jenkins --- Actually, there's a couple more missing. From GCC's `--target-help`: Known MIPS ISA levels (for use with the -mips option): 1 2 3 32 32r2 32r3 32r5 32r6 4 64 64r2 64r3 64r5 64r6 -mips64r3 and -mips64r5 seem to be lacking (and -mips5 seems to be there which isn't in the list of ISA levels). -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/27167] Missing -mipsXXX LD command line flags
https://sourceware.org/bugzilla/show_bug.cgi?id=27167 --- Comment #1 from Matt Jenkins --- On further investigation there is no MIPS32R4, so the -mips32r4 flag could be removed from that list. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug ld/27167] New: Missing -mipsXXX LD command line flags
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 + +++ b/ld/ldmain.c 2021-01-09 16:44:00.426128832 + @@ -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.