From a902ee94b7b0212607630a2c0920565f01899051 Mon Sep 17 00:00:00 2001 From: Stan Cox Date: Wed, 18 Sep 2002 01:38:20 +0000 Subject: * elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3. (mips_elf64_final_gp): Don't make up gp value. * elfn32-mips.c (mips_elf_final_gp): Likewise. * elfxx-mips.c (_bfd_mips_elf_final_link): Always create .MIPS.options/.options section. --- bfd/elfn32-mips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/elfn32-mips.c') diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c index 040fddfef30..916b16bd0ad 100644 --- a/bfd/elfn32-mips.c +++ b/bfd/elfn32-mips.c @@ -1505,7 +1505,7 @@ mips_elf_final_gp (output_bfd, symbol, relocateable, error_message, pgp) if (relocateable) { /* Make up a value. */ - *pgp = symbol->section->output_section->vma + 0x4000; + *pgp = symbol->section->output_section->vma /*+ 0x4000*/; _bfd_set_gp_value (output_bfd, *pgp); } else if (!mips_elf_assign_gp (output_bfd, pgp)) -- cgit v1.2.1