[ELF][MIPS] Pick arch flag from the first input file.
LLD still does not produce a correct combination of MIPS ELF flags if input files have different sets of ELF flags (i.e. EF_MIPS_ARCH_32 and EF_MIPS_ARCH_32R2). But now we do not stick to "R2" ABI version and can emit EF_MIPS_ARCH_32R6 for example. llvm-svn: 276172
Showing
- lld/ELF/Writer.cpp 16 additions, 10 deletionslld/ELF/Writer.cpp
- lld/test/ELF/basic-mips.s 1 addition, 1 deletionlld/test/ELF/basic-mips.s
- lld/test/ELF/emulation.s 4 additions, 4 deletionslld/test/ELF/emulation.s
- lld/test/ELF/mips-elf-flags.s 22 additions, 2 deletionslld/test/ELF/mips-elf-flags.s
Loading
Please register or sign in to comment