bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 11 Feb 2013 17:59:31 +0000 (17:59 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 11 Feb 2013 17:59:31 +0000 (17:59 +0000)
commit72e7511a70174adcf2a63b243020e3488077bcc4
tree3b16d0cc9948afc95758c11e5c01844ee0fbde38
parentab361d499aa3839fd24f857da77d989122e20ba0
bfd/
* elfxx-mips.c (mips_elf_recreate_got): Don't change the entry;
create another one if necessary.
(mips_elf_set_gotidx): New function.
(mips_elf_set_global_gotidx): Use it.
(mips_elf_initialize_tls_index): Likewise.  Take a
mips_elf_traverse_got_arg as argument.
(mips_elf_lay_out_got): Update use of mips_elf_initialize_tls_index.
(mips_elf_multi_got): Likewise.  Cope with error returns from
mips_elf_set_global_gotidx.
bfd/ChangeLog
bfd/elfxx-mips.c