diff options
author | Stan Cox <scox@redhat.com> | 2002-09-18 01:38:20 +0000 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2002-09-18 01:38:20 +0000 |
commit | a902ee94b7b0212607630a2c0920565f01899051 (patch) | |
tree | c44eaf1ffede5a8c9d90be1f791ee0b9661b5ca3 /bfd/elfn32-mips.c | |
parent | 419586656da32a0ea553d34a9bed51037a22993a (diff) | |
download | gdb-a902ee94b7b0212607630a2c0920565f01899051.zip gdb-a902ee94b7b0212607630a2c0920565f01899051.tar.gz gdb-a902ee94b7b0212607630a2c0920565f01899051.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elfn32-mips.c')
-rw-r--r-- | bfd/elfn32-mips.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfn32-mips.c b/bfd/elfn32-mips.c index 040fddf..916b16b 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)) |