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] BZ #14831: Segfault in _dl_profile_fixup with IRELATIVEand LD_AUDIT


> +  if (l->l_reloc_result == NULL)
> +    {
> +      /* Skip audit if l_reloc_result is NULL which happens with
> +	 IRELATIVE relocations in other DSOs, like libm.so.  */ 
> +      *framesizep = -1;

This needs a more extensive comment about how it arises that we get here
with l_reloc_result NULL and why it is OK to short-circuit this way.

> +      return _dl_fixup (l, reloc_arg);

How can this be right when ELF_MACHINE_RUNTIME_FIXUP_ARGS is nonempty?


Thanks,
Roland


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