x86: add more exhaustive tests for invalid AVX512 zeroing-masking
[deliverable/binutils-gdb.git] / bfd / elf32-nds32.c
index 1b30d127a5ae19684409ffd7c413d655060304fc..ae43cdfd8af898e60612fe9256a100192295ff26 100644 (file)
@@ -10567,7 +10567,7 @@ nds32_elf_relax_loadstore (struct bfd_link_info *link_info, bfd *abfd,
 
          /* This is avoid to relax symbol address which is fixed
             relocations.  Ex: _stack.  */
-         if (h && bfd_is_abs_section (h->root.u.def.section))
+         if (h && bfd_is_abs_symbol (&h->root))
            return FALSE;
        }
 
@@ -10707,7 +10707,7 @@ nds32_elf_relax_lo12 (struct bfd_link_info *link_info, bfd *abfd,
   /* This is avoid to relax symbol address which is fixed
      relocations.  Ex: _stack.  */
   else if (N32_OP6 (insn) == N32_OP6_ORI
-          && h && bfd_is_abs_section (h->root.u.def.section))
+          && h && bfd_is_abs_symbol (&h->root))
     return;
   else
     {
This page took 0.024901 seconds and 4 git commands to generate.