bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 11 Feb 2013 18:01:58 +0000 (18:01 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 11 Feb 2013 18:01:58 +0000 (18:01 +0000)
commitee227692d767127ac01b420d35c064d4ac03a6a2
treec77c1fc4a0d0021b2fe4799261f4f57db002754b
parent72e7511a70174adcf2a63b243020e3488077bcc4
bfd/
* elfxx-mips.c (mips_elf_obj_tdata): Add a got field.
(mips_elf_bfd_got, mips_elf_record_got_entry): New functions.
(mips_elf_record_global_got_symbol): Update the hash entry before
adding the mips_got_entry.  Use mips_elf_record_got_entry to do
the latter.
(mips_elf_record_local_got_symbol): Use mips_elf_record_got_entry.
(mips_elf_record_got_page_entry): Record the entry in both the
master and bfd GOTs.
bfd/ChangeLog
bfd/elfxx-mips.c