]> Cypherpunks.ru repositories - gostls13.git/blobdiff - src/debug/elf/elf.go
debug/elf,cmd/link: add additional MIPS64 relocation type
[gostls13.git] / src / debug / elf / elf.go
index c982c684ba7b91d167a2d2bb4c13c9c8c2130700..35b0e3bc83806d6104d3a47d27001ad08224b7db 100644 (file)
@@ -2216,6 +2216,8 @@ const (
        R_MIPS_TLS_TPREL64     R_MIPS = 48 /* TP-relative offset, 64 bit */
        R_MIPS_TLS_TPREL_HI16  R_MIPS = 49 /* TP-relative offset, high 16 bits */
        R_MIPS_TLS_TPREL_LO16  R_MIPS = 50 /* TP-relative offset, low 16 bits */
+
+       R_MIPS_PC32 R_MIPS = 248 /* 32 bit PC relative reference */
 )
 
 var rmipsStrings = []intName{
@@ -2267,6 +2269,7 @@ var rmipsStrings = []intName{
        {48, "R_MIPS_TLS_TPREL64"},
        {49, "R_MIPS_TLS_TPREL_HI16"},
        {50, "R_MIPS_TLS_TPREL_LO16"},
+       {248, "R_MIPS_PC32"},
 }
 
 func (i R_MIPS) String() string   { return stringName(uint32(i), rmipsStrings, false) }