[llvm-commits] [Mips] Direct object big endian review and submittal request

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Thu Jan 5 09:19:20 PST 2012


I hope to take a look a this week. Just a quick comment first:

-; CHECK:     ('r_type', 0x2b)
-; CHECK:     ('r_type', 0x2c)
-; CHECK:     ('r_type', 0x2d)
+; CHECK:     ('r_type', 0x{{[0]*}}2b)
+; CHECK:     ('r_type', 0x{{[0]*}}2c)
+; CHECK:     ('r_type', 0x{{[0]*}}2d)

Why is this needed? The elf-dump script should be printing the value
with the correct number of bits (8 on 32 ELF and 32 on 64 bit ELF). Is
the script not doing the right thing for big endian ELF files?

Cheers,
Rafael



More information about the llvm-commits mailing list