RISC-V: Delete zero-size .tdata.dyn section.
[deliverable/binutils-gdb.git] / bfd / elf32-csky.c
index d406b5a624a728bd266906fdd0ecf1bea4a6b752..926166efd0397b0a15c33a46e7f4d6c2515316dc 100644 (file)
@@ -150,7 +150,7 @@ static reloc_howto_type csky_elf_howto_table[] =
         TRUE,                        /* pc_relative */
         0,                           /* bitpos */
         complain_overflow_dont,      /* complain_on_overflow */
-        NULL,                        /* special_function */
+        bfd_elf_generic_reloc,       /* special_function */
         "R_CKCORE_PCREL32",          /* name */
         FALSE,                       /* partial_inplace */
         0x0,                         /* src_mask */
@@ -4307,6 +4307,10 @@ csky_elf_relocate_section (bfd *                  output_bfd,
          if (h == NULL && (addend & 0x80000000))
            addend &= 0xffffffff;
          break;
+
+       case R_CKCORE_PCREL32:
+         break;
+
        case R_CKCORE_GOT12:
        case R_CKCORE_PLT12:
        case R_CKCORE_GOT_HI16:
@@ -5027,6 +5031,7 @@ csky_elf_relocate_section (bfd *                  output_bfd,
 
       if (howto->size == 2
          && (howto->type == R_CKCORE_ADDR32
+             || howto->type == R_CKCORE_PCREL32
              || howto->type == R_CKCORE_GOT32
              || howto->type == R_CKCORE_GOTOFF
              || howto->type == R_CKCORE_GOTPC
This page took 0.02337 seconds and 4 git commands to generate.