mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
98c904a864
* elfxx-mips.c (_bfd_mips_elf_additional_program_headers): Allocate a PT_NULL header for dynamic objects. (_bfd_mips_elf_modify_segment_map): Add it. ld/testsuite/ * ld-mips-elf/multi-got-1.d: Do not expect a particular address for DT_HASH. * ld-mips-elf/rel32-o32.d: Bump addresses by 0x20 to account for the extra program header. * ld-mips-elf/rel32-n32.d: Likewise. * ld-mips-elf/tlslib-o32.got: Likewise. * ld-mips-elf/tlslib-o32-hidden.got: Likewise. * ld-mips-elf/tlslib-o32-ver.got: Likewise. * ld-mips-elf/tls-multi-got-1.got: Likewise. * ld-mips-elf/tls-multi-got-1.r: Likewise. * ld-mips-elf/rel64.d: Bump addresses by 0x30 to account for the extra program header. * ld-mips-elf/tlsdyn-o32.d: Reduce the GOT offset by 32 to account for the extra program header, and thus the shorter gap between the text and data segments. * ld-mips-elf/tlsdyn-o32-1.d: Likewise. * ld-mips-elf/tlsdyn-o32-2.d: Likewise. * ld-mips-elf/tlsdyn-o32-3.d: Likewise. * ld-mips-elf/tlsdyn-o32.got: Bump GOT text addresses by 0x20 to account for the extra program header. * ld-mips-elf/tlsdyn-o32-1.got: Likewise. * ld-mips-elf/tlsdyn-o32-2.got: Likewise. * ld-mips-elf/tlsdyn-o32-3.got: Likewise.
59 lines
1.9 KiB
Plaintext
59 lines
1.9 KiB
Plaintext
|
|
.*: file format elf32-tradbigmips
|
|
|
|
DYNAMIC RELOCATION RECORDS
|
|
OFFSET TYPE VALUE
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
0013f948 R_MIPS_TLS_DTPMOD32 \*ABS\*
|
|
001495d0 R_MIPS_TLS_DTPMOD32 \*ABS\*
|
|
0013f954 R_MIPS_TLS_DTPMOD32 tlsvar_gd
|
|
0013f958 R_MIPS_TLS_DTPREL32 tlsvar_gd
|
|
001495dc R_MIPS_TLS_DTPMOD32 tlsvar_gd
|
|
001495e0 R_MIPS_TLS_DTPREL32 tlsvar_gd
|
|
0013f950 R_MIPS_TLS_TPREL32 tlsvar_ie
|
|
001495d8 R_MIPS_TLS_TPREL32 tlsvar_ie
|
|
00143f7c R_MIPS_REL32 sym_1_9526
|
|
#...
|
|
00139bd0 R_MIPS_REL32 sym_2_8654
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
00000000 R_MIPS_NONE \*ABS\*
|
|
|
|
|
|
Contents of section .got:
|
|
122420 00000000 80000000 00000000 00000000 .*
|
|
122430 00000000 00000000 00000000 00000000 .*
|
|
122440 00000000 00000000 00000000 00000000 .*
|
|
122450 00000000 000d8048 000d66a4 000d2054 .*
|
|
#...
|
|
13f930 00000000 00000000 00000000 00000000 .*
|
|
13f940 00000000 00000000 00000000 00000000 .*
|
|
13f950 00000000 00000000 00000000 00000000 .*
|
|
13f960 80000000 00000000 00000000 00000000 .*
|
|
#...
|
|
1495a0 00000000 00000000 00000000 00000000 .*
|
|
1495b0 00000000 00000000 00000000 00000000 .*
|
|
1495c0 00000000 00000000 00000000 00000000 .*
|
|
1495d0 00000000 00000000 00000000 00000000 .*
|
|
1495e0 00000000 .*
|
|
#pass
|