On Mon, 2015-11-16 at 17:16 -0800, Chih-Hung Hsieh wrote:
+2015-11-16 Chih-Hung Hsieh <chh(a)google.com>
+ * dwfl_module_getdwarf.c (find_prelink_address_sync): Move nested
+ function 'consider_shdr' to file scope.
+ * dwfl_module_getdwarf.c (find_dynsym): Move nested function
+ 'translate_offs' to file scope.
Pushed to master, but changed slightly to not pass a Elf_Data ** to
translate_offs. That IMHO is really confusing, since the ** isn't really
used to pass any useful data to/from the function. Also added a bit more
documentation to translate_offs so it is more clear what the side
effects are of calling the function. Adjusted patch as pushed attached.