+2014-11-27 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-mips-elf/got-vers-1.rd: Add symbol version string to
+ versioned symbol names in dynamic relocation.
+ * ld-mips-elf/reloc-estimate-1.d: Likewise.
+ * ld-mips-elf/tlsdyn-o32-1.got: Likewise.
+ * ld-mips-elf/tlsdyn-o32-2.got: Likewise.
+ * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
+ * ld-mips-elf/tlslib-o32-ver.got: Likewise.
+
2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
* ld-alpha/tlsbin.dd: Updated for secureplt.
*Offset * Info * Type * Sym\.Value * Sym\. Name
00000000 * 00000000 * R_MIPS_NONE *
# This index must be the same as DT_MIPS_GOTSYM.
-[^ ]+ * 00000303 * R_MIPS_REL32 * [^ ]+ * foo
+[^ ]+ * 00000303 * R_MIPS_REL32 * [^ ]+ * foo@@V2
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
00000000 R_MIPS_NONE \*ABS\*
-00010000 R_MIPS_REL32 foo
+00010000 R_MIPS_REL32 foo@@V2
# The address must be 0x810. We should only ever allocate one dynamic
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
00000000 R_MIPS_NONE \*ABS\*
-10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd
-1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd
-1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd
-10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd
-10000040 R_MIPS_TLS_TPREL32 tlsvar_ie
-10000034 R_MIPS_TLS_TPREL32 tlsbin_ie
+10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd@@Base
+1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd@@Base
+1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd@VER_1
+10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd@VER_1
+10000040 R_MIPS_TLS_TPREL32 tlsvar_ie@VER_1
+10000034 R_MIPS_TLS_TPREL32 tlsbin_ie@@Base
Contents of section .got:
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
00000000 R_MIPS_NONE \*ABS\*
-10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd
-1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd
-1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd
-10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd
-10000040 R_MIPS_TLS_TPREL32 tlsvar_ie
-10000034 R_MIPS_TLS_TPREL32 tlsbin_ie
+10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd@@Base
+1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd@@Base
+1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd@VER_1
+10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd@VER_1
+10000040 R_MIPS_TLS_TPREL32 tlsvar_ie@VER_1
+10000034 R_MIPS_TLS_TPREL32 tlsbin_ie@@Base
Contents of section .got:
DYNAMIC RELOCATION RECORDS
OFFSET TYPE VALUE
00000000 R_MIPS_NONE \*ABS\*
-10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd
-1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd
-1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd
-10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd
-10000040 R_MIPS_TLS_TPREL32 tlsvar_ie
-10000034 R_MIPS_TLS_TPREL32 tlsbin_ie
+10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd@@Base
+1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd@@Base
+1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd@VER_1
+10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd@VER_1
+10000040 R_MIPS_TLS_TPREL32 tlsvar_ie@VER_1
+10000034 R_MIPS_TLS_TPREL32 tlsbin_ie@@Base
Contents of section .got:
OFFSET TYPE VALUE
00000000 R_MIPS_NONE \*ABS\*
000404d8 R_MIPS_TLS_DTPMOD32 \*ABS\*
-000404d0 R_MIPS_TLS_DTPMOD32 tlsvar_gd
-000404d4 R_MIPS_TLS_DTPREL32 tlsvar_gd
-000404cc R_MIPS_TLS_TPREL32 tlsvar_ie
+000404d0 R_MIPS_TLS_DTPMOD32 tlsvar_gd@@VER_1
+000404d4 R_MIPS_TLS_DTPREL32 tlsvar_gd@@VER_1
+000404cc R_MIPS_TLS_TPREL32 tlsvar_ie@@VER_1
Contents of section .got: