OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [bfd/] [elf32-microblaze.c] - Diff between revs 148 and 166

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 148 Rev 166
Line 1878... Line 1878...
  htab->sgot = bfd_get_section_by_name (dynobj, ".got");
  htab->sgot = bfd_get_section_by_name (dynobj, ".got");
  htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
  htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
  if (!htab->sgot || !htab->sgotplt)
  if (!htab->sgot || !htab->sgotplt)
    return FALSE;
    return FALSE;
 
 
 
  if (!(htab->srelgot = bfd_get_section_by_name (dynobj, ".rela.got")))
  htab->srelgot = bfd_make_section (dynobj, ".rela.got");
  htab->srelgot = bfd_make_section (dynobj, ".rela.got");
  if (htab->srelgot == NULL
  if (htab->srelgot == NULL
      || ! bfd_set_section_flags (dynobj, htab->srelgot, SEC_ALLOC
      || ! bfd_set_section_flags (dynobj, htab->srelgot, SEC_ALLOC
                                  | SEC_LOAD
                                  | SEC_LOAD
                                  | SEC_HAS_CONTENTS
                                  | SEC_HAS_CONTENTS

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.