This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] libc-abis: Define ABSOLUTE ABI [BZ #19818][BZ #23307]


On 06/28/2018 03:49 PM, Maciej W. Rozycki wrote:
+  /* Mark that we need support for absolute symbols in the dynamic loader.  */
+  if (htab != NULL && htab->use_absolute_zero)
+    i_ehdrp->e_ident[EI_ABIVERSION] = MIPS_LIBC_ABI_ABSOLUTE;
+
    _bfd_elf_post_process_headers (abfd, link_info);
  }
and then `htab->use_absolute_zero' will be TRUE iff a GOT relocation has
been calculated to actually refer to a specially-created absolute symbol
used to address the issue covered by binutils PR ld/21375.

  The flag will be FALSE if code has been relaxed to avoid referring the
GOT (by using immediate zero instead), in which case no absolute symbol
will have been specially created.

  Does this explanation clear your concern?

Yes, I think this is okay then.

We cannot express this change at the RPM dependency level, but I'm not sure how active the Fedora MIPS port is these days, so it probably does not matter.

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]