Make it possible to list symbols by section and make library_info tests more strict