This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
I made some progress, found where the problem happens:
(gdb) info b
Num Type Disp Enb Address What
2 breakpoint keep y 0x2ab390cc in mips_elf_calculate_relocation at elfxx-mips.c:5094
stop only if r_type==R_MIPS_TLS_GD
breakpoint already hit 2 times
return value:
5164 g = mips_elf_local_got_index (abfd, input_bfd, info,
Value returned is $17 = 73452
5171 g = mips_elf_got_offset_from_index (info, abfd, input_bfd, g);
Value returned is $18 = 40700
Then 40700 is passed to mips_elf_overflow_p(value, 16)
However, I haven't got time to take a look at what those two function does.
Will do it later.
BTW, the userland here is N32 ABI.
--
Zhang, Le
Gentoo/Loongson Developer
http://zhangle.is-a-geek.org
0260 C902 B8F8 6506 6586 2B90 BC51 C808 1E4E 2973
Attachment:
pgp00000.pgp
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |