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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [pe-dll.c] - Diff between revs 145 and 163

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

Rev 145 Rev 163
Line 716... Line 716...
                 anything at all.  (.bss data is the latter)
                 anything at all.  (.bss data is the latter)
                 We should not export undefined symbols.  */
                 We should not export undefined symbols.  */
              bfd_boolean would_export = symbols[j]->section != &bfd_und_section
              bfd_boolean would_export = symbols[j]->section != &bfd_und_section
                      && ((symbols[j]->flags & BSF_GLOBAL)
                      && ((symbols[j]->flags & BSF_GLOBAL)
                          || (symbols[j]->flags == 0));
                          || (symbols[j]->flags == 0));
              if (lang_elf_version_info && would_export)
              if (link_info.version_info && would_export)
                {
                  would_export
                  bfd_boolean hide = 0;
                    = !bfd_hide_sym_by_version (link_info.version_info,
                  (void) bfd_find_version_for_sym (lang_elf_version_info,
                                                symbols[j]->name);
                                symbols[j]->name, &hide);
 
                  would_export = !hide;
 
                }
 
              if (would_export)
              if (would_export)
                {
                {
                  const char *sn = symbols[j]->name;
                  const char *sn = symbols[j]->name;
 
 
                  /* We should not re-export imported stuff.  */
                  /* We should not re-export imported stuff.  */
Line 1396... Line 1393...
                            continue;
                            continue;
                        }
                        }
                      else if (!blhe || blhe->type != bfd_link_hash_defined)
                      else if (!blhe || blhe->type != bfd_link_hash_defined)
                        continue;
                        continue;
                    }
                    }
 
                  /* Nor for Dwarf FDE references to discarded sections.  */
 
                  else if (bfd_is_abs_section (sym->section->output_section))
 
                    {
 
                      /* We only ignore relocs from .eh_frame sections, as
 
                         they are discarded by the final link rather than
 
                         resolved against the kept section.  */
 
                      if (!strcmp (s->name, ".eh_frame"))
 
                        continue;
 
                    }
 
 
                  reloc_data[total_relocs].vma = sec_vma + relocs[i]->address;
                  reloc_data[total_relocs].vma = sec_vma + relocs[i]->address;
 
 
#define BITS_AND_SHIFT(bits, shift) (bits * 1000 | shift)
#define BITS_AND_SHIFT(bits, shift) (bits * 1000 | shift)
 
 

powered by: WebSVN 2.1.0

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