Comment 4 for bug 1845190

Revision history for this message
In , Cvs-commit (cvs-commit) wrote :

The master branch has been updated by Alan Modra <email address hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=352f6bc3e5b23e76d8e6f56fb7db4e57d8f5d5bd

commit 352f6bc3e5b23e76d8e6f56fb7db4e57d8f5d5bd
Author: Alan Modra <email address hidden>
Date: Tue Sep 24 22:47:13 2019 +0930

    PR25031, nm reports wrong address on 32bit

    Using saved_format breaks when nm is presented with multiple object
    files, some 32-bit and some 64-bit.

     PR 25031
     * nm.c (print_format_string): New.
     (get_print_format): Delete saved_format. Move earlier.
     (set_print_width): Call get_print_format.
     (print_value): Use print_format_string.