bfd_set_error (bfd_error_bad_value);
return FALSE;
+#if ARCH_SIZE == 64
+ case BFD_RELOC_AARCH64_32:
+#endif
case BFD_RELOC_AARCH64_NN:
if (rel->r_addend != 0)
{
*unresolved_reloc_p = FALSE;
return bfd_reloc_ok;
+#if ARCH_SIZE == 64
+ case BFD_RELOC_AARCH64_32:
+#endif
case BFD_RELOC_AARCH64_NN:
/* When generating a shared object or relocatable executable, these
}
case BFD_RELOC_AARCH64_16:
-#if ARCH_SIZE == 64
- case BFD_RELOC_AARCH64_32:
-#endif
case BFD_RELOC_AARCH64_ADD_LO12:
case BFD_RELOC_AARCH64_BRANCH19:
case BFD_RELOC_AARCH64_LDST128_LO12:
case BFD_RELOC_AARCH64_MOVW_G1_NC:
case BFD_RELOC_AARCH64_MOVW_G2_NC:
case BFD_RELOC_AARCH64_MOVW_G3:
+#if ARCH_SIZE == 64
+ case BFD_RELOC_AARCH64_32:
+#endif
case BFD_RELOC_AARCH64_NN:
if (h != NULL && bfd_link_executable (info))
{
case BFD_RELOC_AARCH64_LD64_GOT_LO12_NC:
case BFD_RELOC_AARCH64_MOVW_GOTOFF_G0_NC:
case BFD_RELOC_AARCH64_MOVW_GOTOFF_G1:
+#if ARCH_SIZE == 64
+ case BFD_RELOC_AARCH64_32:
+#endif
case BFD_RELOC_AARCH64_NN:
if (htab->root.dynobj == NULL)
htab->root.dynobj = abfd;
switch (bfd_r_type)
{
+#if ARCH_SIZE == 64
+ case BFD_RELOC_AARCH64_32:
+#endif
case BFD_RELOC_AARCH64_NN:
/* We don't need to handle relocs into sections not going into
--- /dev/null
+#source: relocs-258-dyn.s
+#ld: --defsym dummy=0x45034 -T aarch64.ld -shared
+#readelf: -Wr
+
+Relocation section '\.rela\.dyn' at offset 0x8080 contains 2 entries:
+ Offset Info Type Symbol's Value Symbol's Name \+ Addend
+0000000000008010 0000000000000403 R_AARCH64_RELATIVE 800c
+000000000000800c 0000000200000102 R_AARCH64_ABS32 0000000000045034 dummy \+ 0