diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2013-02-11 17:40:51 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2013-02-11 17:40:51 +0000 |
commit | bfa21b960babdd88200e358810657e10dfab3683 (patch) | |
tree | 36434621af8b7a408dd8add07b94060b6f0776c7 /bfd/elfxx-mips.c | |
parent | fba798d749920fd37e2c9619f08910155613ea3d (diff) | |
download | binutils-redhat-bfa21b960babdd88200e358810657e10dfab3683.tar.gz |
bfd/
* elfxx-mips.c (mips_elf_record_local_got_symbol): Always set
gotidx to -1.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 07546babce..3ed4596baa 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -3777,9 +3777,9 @@ mips_elf_record_local_got_symbol (bfd *abfd, long symndx, bfd_vma addend, return TRUE; } + entry.gotidx = -1; if (tls_flag != 0) { - entry.gotidx = -1; entry.tls_type = tls_flag; if (tls_flag == GOT_TLS_IE) g->tls_gotno += 1; @@ -3793,7 +3793,7 @@ mips_elf_record_local_got_symbol (bfd *abfd, long symndx, bfd_vma addend, } else { - entry.gotidx = g->local_gotno++; + g->local_gotno += 1; entry.tls_type = 0; } |