x86: add more exhaustive tests for invalid AVX512 zeroing-masking
[deliverable/binutils-gdb.git] / bfd / elf32-nds32.c
index 61f48004b4bb0810db7ace24f4d364a459e9b6e3..ae43cdfd8af898e60612fe9256a100192295ff26 100644 (file)
@@ -6808,7 +6808,7 @@ nds32_convert_32_to_16 (bfd *abfd, uint32_t insn, uint16_t *pinsn16,
 {
   int op6;
   uint16_t insn16 = 0;
-  int insn_type;
+  int insn_type = 0;
   unsigned long mach = bfd_get_mach (abfd);
 
   /* Decode 32-bit instruction.  */
@@ -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.029293 seconds and 4 git commands to generate.