This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PING: [PATCH] [BZ #18410]: Incorrect handling of missing DT_PLTRELSZ
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 22 May 2015 11:00:46 -0700 (PDT)
- Subject: Re: PING: [PATCH] [BZ #18410]: Incorrect handling of missing DT_PLTRELSZ
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOqN7weAz6bMB7VDU5JOKJw7=8OMU8ngRzt5Z=b5dbCA+Q at mail dot gmail dot com>
> > - if (__glibc_unlikely (consider_profiling))
> > + if (__glibc_unlikely (consider_profiling
> > + && l->l_info[DT_PLTRELSZ] != NULL))
Put __glibc_unlikely just around consider_profiling.
OK with that change.