Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/bfd/elf32-mips.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20 by monamour, Thu Dec 4 05:12:56 2008 UTC revision 21 by monamour, Mon Jul 27 20:34:36 2009 UTC
# Line 1005  mips_elf_final_gp (bfd *output_bfd, asym Line 1005  mips_elf_final_gp (bfd *output_bfd, asym
1005        if (relocatable)        if (relocatable)
1006          {          {
1007            /* Make up a value.  */            /* Make up a value.  */
1008            *pgp = symbol->section->output_section->vma + 0x4000;            *pgp = symbol->section->output_section->vma /*+ 0x4000*/;
1009            _bfd_set_gp_value (output_bfd, *pgp);            _bfd_set_gp_value (output_bfd, *pgp);
1010          }          }
1011        else if (!mips_elf_assign_gp (output_bfd, pgp))        else if (!mips_elf_assign_gp (output_bfd, pgp))

Legend:
Removed from v.20  
changed lines
  Added in v.21

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26