mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 20:19:49 +00:00
* elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for
relocatable link.
This commit is contained in:
parent
fb6e1a60f0
commit
453f5985b1
@ -1,3 +1,8 @@
|
||||
2009-02-12 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* elf32-mips.c (mips_elf_final_gp): Don't add 0x4000 offset for
|
||||
relocatable link.
|
||||
|
||||
2009-02-09 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf32-spu.c (spu_elf_find_overlays): Call bfd_set_error on errors.
|
||||
|
@ -1005,7 +1005,7 @@ mips_elf_final_gp (bfd *output_bfd, asymbol *symbol, bfd_boolean relocatable,
|
||||
if (relocatable)
|
||||
{
|
||||
/* 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))
|
||||
|
Loading…
Reference in New Issue
Block a user