OSDN Git Service

PR binutils/4292
authorNick Clifton <nickc@redhat.com>
Mon, 2 Apr 2007 16:51:13 +0000 (16:51 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 2 Apr 2007 16:51:13 +0000 (16:51 +0000)
commit583de2cdb3f684b05928160a083a5fce153ed5b6
tree38a646e1727e6fe1b663b86fca3b3bc6f2baa78d
parent36dd2f39866eddefb7373687ed7b9da3c1b3afe1
PR binutils/4292
* bfd.c (bfd_fprintf_vma): Do not print addresses of 32-bit
  targets as 64-bit values, even if running on a 64-bit host.
* coffgen.c (coff_print_symbol): Likewise.
* nm.c (value_format): Replace with value_format_32bit and
  value_format_64bit.
  (set_radix): Update setting of value_format.
  (set_print_width): New function.  Compute the address size of a
  given bfd and set the print_width global appropriately.
  (display_archive): Use set_print_width.
  (display_file): Likewise,
  (print_object_filename_sysv): Update use of print_width.
  (print_archive_member_sysv): Likewise.
  (print_symbol_filename_posix): Likewise.
  (print_sumbol_info_bfd, print_symbol_info_sysv): Likewise.
bfd/ChangeLog
bfd/bfd.c
bfd/coffgen.c