Fix generation of GOT table when only GOT-relative relocs are used.

PR ld/21017
	* elf32-microblaze.c (microblaze_elf_check_relocs): Add an entry
	for R_MICROBLAZE_GOTOFF_64.
This commit is contained in:
Rich Felker 2017-01-03 16:18:41 +00:00 committed by Nick Clifton
parent b52d3cfcfb
commit de1010f408
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2017-01-03 Rich Felker <bugdal@aerifal.cx>
PR ld/21017
* elf32-microblaze.c (microblaze_elf_check_relocs): Add an entry
for R_MICROBLAZE_GOTOFF_64.
2017-01-03 Nick Clifton <nickc@redhat.com>
* mach-o.c (bfd_mach_o_lookup_uuid_command): Fix compile time

View File

@ -2353,6 +2353,7 @@ microblaze_elf_check_relocs (bfd * abfd,
dogottls:
sec->has_tls_reloc = 1;
/* Fall through. */
case R_MICROBLAZE_GOTOFF_64:
case R_MICROBLAZE_GOT_64:
if (htab->elf.sgot == NULL)
{