Re: [yocto] [prelink-cross][PATCH] rtld: get machine from undef_map for protected symbols

2018-09-28 Thread Kyle Russell
No objections, please go ahead. Sorry I forgot! I realize I didn't do that on the other patch I just sent either. On Fri, Sep 28, 2018 at 11:19 AM Mark Hatle wrote: > On 9/28/18 9:55 AM, Kyle Russell wrote: > > Avoids rtld segfault when _dl_lookup_symbol_x is called with NULL > > for skip_map

Re: [yocto] [prelink-cross][PATCH] rtld: get machine from undef_map for protected symbols

2018-09-28 Thread Mark Hatle
On 9/28/18 9:55 AM, Kyle Russell wrote: > Avoids rtld segfault when _dl_lookup_symbol_x is called with NULL > for skip_map on a protected symbol relocation. > > Global protected symbols may not actually require a copy relocaton, > in which case skip_map is undefined, so use the undef_map to

[yocto] [prelink-cross][PATCH] rtld: get machine from undef_map for protected symbols

2018-09-28 Thread Kyle Russell
Avoids rtld segfault when _dl_lookup_symbol_x is called with NULL for skip_map on a protected symbol relocation. Global protected symbols may not actually require a copy relocaton, in which case skip_map is undefined, so use the undef_map to determine the symbol arch. --- src/rtld/dl-lookupX.h