[PATCH] gas: drop sprint_value()

Alan Modra amodra@gmail.com
Sat Apr 17 12:33:48 GMT 2021


On Fri, Apr 16, 2021 at 09:12:45AM +0200, Jan Beulich via Binutils wrote:
> Its (documented) behavior is unhelpful in particular in 64-bit build
> environments: While printing large 32-bit numbers in decimal already
> isn't very meaningful to most people, this even more so goes for yet
> larger 64-bit numbers. bfd_sprintf_vma() still tries to limit the number
> of digits printed (without depending on a build system property), but
> uniformly produces hex output.
> 
> gas/
> 2021-04-XX  Jan Beulich  <jbeulich@suse.com>
> 
> 	* as.h (sprint_value): Delete.
> 	* messages.c (sprint_value): Likewise.
> 	* config/tc-i386.c (offset_in_range): Use bfd_sprintf_vma in
> 	place of sprint_value.
> 	* config/tc-s390.c (s390_insert_operand): Likewise.
> 	* doc/internals.texi (sprint_value): Delete section.
> 	* write.c (fixup_segment): Likewise.
> 	(relax_segment): Likewise.

OK.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list