if set --size-sort and --no-sort together, in function print_size_symbole () the variable struct size_sym *symsizes == NULL and segfault at: sym = bfd_minisymbol_to_symbol (abfd, is_dynamic, from->minisym, store); mini-patch 1664a1665,1667 > if (no_sort && sort_by_size) > sort_by_size = 0; >
CVSROOT: /cvs/src Module name: src Changes by: amodra@sourceware.org 2012-01-16 08:43:20 Modified files: binutils : ChangeLog nm.c Log message: PR binutils/13593 * nm.c (OPTION_SIZE_SORT): Define. (long_options): Don't set no_sort, sort_numerically or sort_by_size directly. (main): Instead set the flags here, making them mutually exclusive. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1868&r2=1.1869 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/nm.c.diff?cvsroot=src&r1=1.68&r2=1.69
fixed mainline