[PATCH]: aarch64: Refactor representation of system registers
[deliverable/binutils-gdb.git] / bfd / elf32-m32r.c
index 931e138b37a04ad5ed67b99412f4c59b976a3ad2..740be9338295f29aa8db8d10a15ce78499fbff9b 100644 (file)
@@ -3424,15 +3424,6 @@ m32r_elf_check_relocs (bfd *abfd,
   if (bfd_link_relocatable (info))
     return TRUE;
 
-  /* Don't do anything special with non-loaded, non-alloced sections.
-     In particular, any relocs in such sections should not affect GOT
-     and PLT reference counting (ie. we don't allow them to create GOT
-     or PLT entries), there's no possibility or desire to optimize TLS
-     relocs, and there's not much point in propagating relocs to shared
-     libs that the dynamic linker won't relocate.  */
-  if ((sec->flags & SEC_ALLOC) == 0)
-    return TRUE;
-
   sreloc = NULL;
   symtab_hdr = &elf_tdata (abfd)->symtab_hdr;
   sym_hashes = elf_sym_hashes (abfd);
This page took 0.024567 seconds and 4 git commands to generate.